Home › Support › Support Tickets › blocks not getting applied to .php files in WP root
- This topic has 3 replies, 2 voices, and was last updated 9 years, 3 months ago by Damian Baker.
-
AuthorPosts
-
-
June 25, 2015 at 3:28 AM #12229Clint AvalosParticipant
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.phpIf 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
-
June 30, 2015 at 1:35 AM #12230Damian BakerParticipant
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 -
July 1, 2015 at 12:53 AM #12231Clint AvalosParticipant
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!
-
July 5, 2015 at 11:16 PM #12232Damian BakerParticipant
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
-
-
AuthorPosts
- You must be logged in to reply to this topic.