Viewing 11 replies - 1 through 11 (of 11 total)
  • In your theme index.php file there will be a call to the sidebar. It can vary depending on the theme but should have some reference to sidebar.php

    If you find this reference, take note of where it is placed, and copy it in the same way to your single.php and page.php, it will make the sidebar appear on your single post and page entries.

    Thread Starter nouman6

    (@nouman6)

    no luck, its in there also.

    <?php get_header(); ?>
    <?php get_sidebar(); ?>
    <div id=”middle”>

    and it’s still not displaying

    And in your sidebar.php any conditionals?

    Thread Starter nouman6

    (@nouman6)

    <?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar() ) : ?>

    <!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.

    • <h2>Author</h2>
      <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
    • –>

      <?php if ( is_404() || is_category() || is_day() || is_month() ||
      is_year() || is_search() || is_paged() ) {
      ?>

    • <?php /* If this is a 404 page */ if (is_404()) { ?>
      <?php /* If this is a category archive */ } elseif (is_category()) { ?>
      <p>You are currently browsing the archives for the <?php single_cat_title(”); ?> category.</p>

      <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
      <p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives
      for the day <?php the_time(‘l, F jS, Y’); ?>.</p>

      <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
      <p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives
      for <?php the_time(‘F, Y’); ?>.</p>

      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
      <p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives
      for the year <?php the_time(‘Y’); ?>.</p>

      <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
      <p>You have searched the /”><?php echo bloginfo(‘name’); ?> weblog archives
      for ‘<?php the_search_query(); ?>’. If you are unable to find anything in these search results, you can try one of these links.</p>

      <?php /* If this is a monthly archive */ } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?>
      <p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives.</p>

      <?php } ?>

    i’d like to add how it’s weird that on:
    https://www.oakhillbible.com

    when you hit comment or view the post page, the items that load in the side ARE from the sidebar.php file yet the menu items don’t load.

    Thread Starter nouman6

    (@nouman6)

    bump

    Thread Starter nouman6

    (@nouman6)

    I am basing my template off the “default” one. It’s what I built mine using. Notice when you use that layout and you are in a comment you cannot view the menu items. Hope this helps some more.

    Thread Starter nouman6

    (@nouman6)

    bump

    Thread Starter nouman6

    (@nouman6)

    bump

    Thread Starter nouman6

    (@nouman6)

    bump

    Thread Starter nouman6

    (@nouman6)

    bump ??

    Thread Starter nouman6

    (@nouman6)

    about to pay someone 10$ to fix it xD so if anyone knows, please reply ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘sidebar on comment page’ is closed to new replies.