Treehouse: Grow your CSS skills. Land your dream job.

Pulling a .php file into wordpress

  • # April 6, 2011 at 3:55 pm

    I have a chunk of code I would like placed in different WP page. But I would like it to be dynamic. I’m thinking I should pull that “chunk” from chunk.php into my WP page. What code do I need to pull a .php file in?

    # April 6, 2011 at 5:05 pm

    < ?php include_once("chunk.php"); ?> in the page.php file?

    # April 6, 2011 at 6:42 pm

    no, in the admin pages

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.