Support » Fixing WordPress » Sidebars missing on about page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi


    Forum Moderator

    To add the sidebar to pages, you’ll need to edit page.php in your theme and include a call to the sidebar along the lines of:

    <?php get_sidebar();?>

    Look at there the sidebar is called in your theme’s index.php file and use that as a guide.

    The ads are from Google AdSense. If you don’t have an AdSense account, you need to remove the script for these ads from page.php (should be near the bottom of the file). Otherwise, you’ll be effectively showing someone else’s ads on your site.

    This is what I have in my page_php, Im unsure of what I need to change? Thanks:

    <?php get_header(); ?>

    <div id=”primary-content”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class=”entry” id=”post-<?php the_ID(); ?>”>
    <h2 class=”center”><?php the_title(); ?></h2>
    <?php the_content(); ?>
    <?php link_pages(‘<p>‘.__(‘Pages:’,’unnamed’).’ ‘, ‘</p>’, ‘number’); ?>
    <?php edit_post_link(__(‘Edit’,’unnamed’), ‘<span class=”metaedit”>’,'</span>’); ?>
    <?php endwhile; endif; ?>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>


    I’m having this same problem. Did you ever get this resolved?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sidebars missing on about page?’ is closed to new replies.