The MU forums have moved to WordPress.org

inserting php in page? (2 posts)

  1. Novocain
    Member
    Posted 16 years ago #

    How would i go about (as global admin) to insert php in pages that i create with write->page,as i understand it, these pages never get a file like, home.php,they mearly exist in the database? i need this funktion, to create a page, such as "last updated blogs" "last commented blogs" etc.

    thx in advance,
    and yeah i tried to search, altough when using strings containing php, code or any other widly used word, the results returned are to unspecifik for me to find it.
    maybe there is a better way to search?

    EDIT: after surfing the forum abit i find that i can hardcode any php page into the theme, altough some people mentions that i need to include the apropriate headers, can anyone tell me what theese would be?

    Best regards, Fredrik

  2. dsader
    Member
    Posted 16 years ago #

    Create your own page templates
    http://codex.wordpress.org/Pages#Page_Templates

About this Topic