• Author
    Posts
  • #12229

    Clint Avalos
    Participant

    HI we are using a shopping cart called Ecommerce Templates which requires us to add .php files into WP’s root directory.

    For example cart.php, products.php, etc…

    Each of these files does include the WP header but when applying “Entire Website” to a CSS/JS block in the toolbox, it never seems to get loaded on these pages.

    We’ve also tried the custom urls like domain.com* with no luck either.

    I was just curious if theres a known or recommended way to handle additional files in WP root.

    I would of thought it would work with no problem since they are including the WP header but for whatever reason its just not loading our css/js toolbox blocks.

    Heres examples of where the block loads vs doesnt on our site:

    Does load: http://fugnettiimages.com/the-artist/
    Doe Not load: http://fugnettiimages.com/products.php

    If you look at the source code on each page you’ll see “<!– Block (1) START–>” only on the 1st url.

    If theres any additional info I can supply to help, please just let me know.

    Thanks!

    Clint

  • #12230

    Damian Baker
    Participant

    Hi Clint,

    Sorry for the delay in getting back to you. I have been flat out with other projects.
    By any chance, did you end up resolving it?

    I will have to forward this message to my colleague to see if he has any ideas on this.
    I’ll keep you posted.

    Kind Regards,
    Damian

  • #12231

    Clint Avalos
    Participant

    Hi Damian, thanks for responding. Unfortunately we haven’t been able to get this resolved. Not sure if this helps but I did just want to point out that those .php files include WP headers like so


    require('./wp-blog-header.php');

    Thanks!

  • #12232

    Damian Baker
    Participant

    Hi Clint,

    Thanks very much for providing more details and letting me know that you have not managed to resolve this. I will try to get some answers for you on this issue when I can. I hope it is not too urgent as I am so busy these days with another project called Teacher’s Companion. Also I am sorry I don’t have the answers upfront as I am more the UI designer of the project than developer/coder and this project has taken a little backseat. We do hope to get back into it soon though with new features, bug fixes, etc.

    Thanks in advance for your understanding.

    Kind Regards,
    Damian

You must be logged in to reply to this topic.