Jump to content

include php without include. Wordpress


jwwceo

Recommended Posts

Hello,

 

I am trying to use an include function to display a DIV from one server on another on wordpress blogs.

 

it works great..except that some of the people trying to use the include use widgetized sidebars. The text inside the widgets do not read php, just text and html.

 

I am wondering of there is another way to include the php file using just html, perhaps javascript.

 

Thanks in advance!!!

 

James

Link to comment
https://forums.phpfreaks.com/topic/96624-include-php-without-include-wordpress/
Share on other sites

require();  lol, just kidding.

 

Seriously though, I think the question is, how do you tell when you'll be using PHP or not?  If that's possible you can use javascript / ajax to complete, but I may not be understanding the problem.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.