WordPress.org

Ready to get started?Download WordPress

Forums

sidebar info disappearing - why? (8 posts)

  1. grapefruitgirl
    Member
    Posted 7 years ago #

    hello wordpress folks,

    i am making the final tweaks to my blog before i publish it officially live, and one problem i am encountering is the right sidebar nav info literally disappears when i go from my main index page:

    http://www.grapefruitgirl.com/edibles

    to the individual entry pages:

    http://www.grapefruitgirl.com/edibles/?p=5

    why would this be happening and how can i fix it?

    thanks in advance.

  2. Samuel B
    moderator
    Posted 7 years ago #

    That's probably the way your theme is supposed to act.
    Look in your page.php for:
    <?php get_sidebar(); ?>
    If it's not there just drop it in before the last:
    </div>
    If it is there you have another problem.

  3. grapefruitgirl
    Member
    Posted 7 years ago #

    it must be another problem because i put the sidebar code you listed above before the last </div> and its still not showing up on the single entries for some reason. wonder what could be causing this??


    <?php get_header(); ?>

    <div id="content" class="narrowcolumn">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post">
    <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2>
    <div class="entrytext">
    <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>

    <?php link_pages('<p>Pages: ', '</p>', 'number'); ?>

    </div>
    </div>
    <?php endwhile; endif; ?>
    <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    </div>

  4. Samuel B
    moderator
    Posted 7 years ago #

    I see your sidebar just fine now - at least in FF:
    http://www.grapefruitgirl.com/edibles/?p62

    Ok that's weird. If I go here:
    http://www.grapefruitgirl.com/edibles/?p=62
    it's not there. Notice the "=" in the second uri which is normal for the ugly permalinks.
    Maybe you need to update your permalinks.

  5. grapefruitgirl
    Member
    Posted 7 years ago #

    how does one update permalinks?

  6. vkaryl
    Member
    Posted 7 years ago #

    Change your .htaccess file permissions to 777. Access wp-admin/options, click on permalinks, decide what you want them to look like, tick the radio button next to that option, click the Update button bottom right.

    Change your .htaccess file permissions BACK to 644.

  7. grapefruitgirl
    Member
    Posted 7 years ago #

    thank you vkaryl. sorry to ask a basic question, but i cant seem to find where to edit the .htaccess file. where is that located? i dont see it on the wordpress gui.

  8. vkaryl
    Member
    Posted 7 years ago #

    You have to access it through either your ftp client or your host cPanel file manager.

    You shouldn't be editing anything through wp. You have to leave your files/folders set world-writeable to do that, which means that any flyby script-kiddie can trash your site....

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.