The MU forums have moved to

Get sidebar and get footer (3 posts)

  1. jasontower
    Posted 14 years ago #

    I want to use
    <?php get_header();?>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    in my php file;
    So I put the
    <? require('./wp-blog-header.php'); ?>
    at the beginning of the page to make sure the get_header function work properly.
    I want to know which other two files I have to add along with wp-blog-header.php for using get_sidebar and get_footer?
    Because now it doesnt load the footer and siderbar.

  2. delayedinsanity
    Posted 14 years ago #

    What does your php file do? It might be easier to write it as 1) a template for your Wordpress theme, or 2) a plugin.

  3. jasontower
    Posted 14 years ago #

    Thank! I will try template.

About this Topic

  • Started 14 years ago by jasontower
  • Latest reply from jasontower