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 Some section of embedded code not getting printed

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

  1. xprt007

    Guest

    Some section of embedded code not getting printed, by xprt007

    Hi there

    I was using php code together with the include php function to import some content from another site. Recently, after having had to change the host, I discovered the include php function is blocked, supposedly for security reasons. It’s not possible to move the host’s opinion for now. There’s an alternative javascript code for doing the same, and whereas this works as an external html file, as soon as it is embedded in a WordPress page, it leaves out some section of the code. Same on a separate site sharing same account and on a WordPress with a different host.

    As far as the source code site & author are concerned, the code works there & it’s difficult explaining what problem I have. The discussion explaining the problem is here: http://bit.ly/2prpx7R and has a link to the original javascript template code. (Download template`s sample)

    Only that last bit of the code does not get printed if embedded. On the above page, as explained, the embedded result is supposed to look like this => See it in action. Instead I have http://bit.ly/2FAc74r, with the last bit with links & terms not being printed although the code is there (Please ignore the code below ###### line, which has a repetition of the offending code, refusing to get printed. I included for some reason. This same code is in the copied & pasted section above that #### line).

    I would appreciate some help.

    Some section of embedded code not getting printed
     
    #1

Share This Page

Monarch Social Sharing Plugin