WordPress.org

Ready to get started?Download WordPress

Forums

Include another script index in new page? (7 posts)

  1. balkanboy
    Member
    Posted 8 years ago #

    How can I make index from another script instaled in other directory on my host than wordpress to be included in new page. I tried to generate new page and to type something like this:
    <?php include ('http://www.relative patht/index') ?> but all I get is this code like text in new generated page. I want to use wordpress template for all scripts and I really need to know this, so help me please.

  2. moshu
    Member
    Posted 8 years ago #

    You cannot run PHP in the content area of a post/Page.
    You can:
    a) include it in the template
    b) search for a plugin that executes PHP in WP Pages (RunPHP, PHPexec, ExcPHP - search for these keywords)
    Warning: displaying a full index file from somewhere else in a WP Page will result in having two head, body etc = non-valid and borked pages.

  3. balkanboy
    Member
    Posted 8 years ago #

    Ok, but check out http://www.allaboutmadonna.com
    This site uses only wordpress template for whole site and has lot of other scripts instaled too. Can you explain me how to menage that/

  4. moshu
    Member
    Posted 8 years ago #

    1. Never send me to a 1 km long site - I'll get annoyed :)
    2. I don't know what they do, and I don't care. BTW, is it a WP site?
    3. I told you what is possible in WP and warned you about the possible problems. ( - you are welcome...)
    4. You can install a million scripts. Installing a script and including a full index file in another file - are two different things.

  5. balkanboy
    Member
    Posted 8 years ago #

    Sorry. I just want to find a way to use my wordpress template for whole site without designing templates for other scripts like Coppermine for example and some directory - example 2. Is there any way to do that? Sorry for being boring once again.

  6. moshu
    Member
    Posted 8 years ago #

    You can search for coppermine, integrating coppermine and stuff like that. There are hundreds of posts...
    And for the future: the more specific your question is, the easier the answer :)

  7. balkanboy
    Member
    Posted 8 years ago #

    Ok, thanks

Topic Closed

This topic has been closed to new replies.

About this Topic