Forums

[resolved] How do I recall code from a WordPress Page into a PHP file? (2 posts)

  1. addisonjames
    Member
    Posted 2 years ago #

    I've built a WordPress blog for a friend using a custom theme I've built from scratch.

    The blog has 2 banners.

    I need to allow my non-computer savvy friend to update the banner codes easily.

    I was thinking if I created two Pages, "Header banner" and "Sidebar banner", and placed the code in there, she could update it easily.

    But I need to know what PHP code I can use in the header.php and sidebar.php files to call the banner code from the "Header banner" and "Sidebar banner" Pages I will create.

    Any help is greatly appreciated.

    Thank you

  2. addisonjames
    Member
    Posted 2 years ago #

    I figured it out. This plugin allows you to do exactly what I wanted: http://wordpress.org/extend/plugins/improved-include-page/

Topic Closed

This topic has been closed to new replies.

About this Topic