Forums

[resolved] Does WordPress have a facility similar to Joomla "Wrapper" (5 posts)

  1. jmccann
    Member
    Posted 3 years ago #

    Hi,
    I have standalone php scripts that I would like to run in a WP page. I have the same scripts currently running in a Joomla wrapper with no problems.

    I have tried to run the php using runphp and embedding an include to load the first php file.

    This loads OK within the WP page, but when the php attempts to then load another file, it doesnt get loaded into the WP page, it runs it its own window.

    Is there any way to "Envelop" all of the called scripts to run in the main WP page.

    The test site is http://www.lanarkshirebusiness.com then clock "Members" to see what I mean.

  2. MasterCIW
    Member
    Posted 3 years ago #

    Have you thought about using a iframe?

  3. jmccann
    Member
    Posted 3 years ago #

    Hi,

    Thanks for your reply.

    This is the first ever reply Ive had to three different posts to the WP Forum!!.

    Ive tried using an iframe and it appears to work. Only problem is trying to get the iframe to size automatically depending on content. Ive tried various options including javascript, but nothing seems to work.

    Thank for your advice.

  4. MasterCIW
    Member
    Posted 3 years ago #

    That is probably going to be the biggest down side of using a iframe, especially on screens with varying heights. Did you try the script DynamicDrive has?

  5. Otto
    Tech Ninja
    Posted 3 years ago #

    Also consider just creating a Page Template and putting your needed PHP code into there.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.