Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Embedded php scripts no longer working

Discussion in 'Misc WordPress Requests' started by xprt007, Mar 10, 2018.

  1. xprt007


    Embedded php scripts no longer working, by xprt007


    I use 3 scripts, one php, the other javascript to embed some foreign content on that page. They were all working until yesterday. What happened is that I transferred 2 sites to another host. As soon as the domain resolved a couple of hours later, I noticed the php based script content, supposed to appear just below the text with white background has been blank up to today, 24 hours later.
    The php script, is there and intact & using “include” is supposed to print some content.

    include "http://www.blablabla.com/abc/single.php";

    If I try to load the non-Wordpress php page directly,
    as http://www.blablabla.com/abc/single.php
    it loads normally.

    Nothing has otherwise changed on the site. The content under Giveaway 2 & 3 are javascript based & gets printed normally.

    I have always had the plugin “PHP Code For Posts” on both sites. Right now, though even after trying using its shortcodes, something i have never used before, no content is printed.

    Could there be any specific server requirements for WordPress missing at new host required to embed php code?

    Thank you in advance.

    Embedded php scripts no longer working

Share This Page

Monarch Social Sharing Plugin