Viewing 7 replies - 1 through 7 (of 7 total)
  • Samuel B

    (@samboll)

    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.

    Thread Starter grapefruitgirl

    (@grapefruitgirl)

    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>

    Samuel B

    (@samboll)

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

    Ok that’s weird. If I go here:
    https://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.

    Thread Starter grapefruitgirl

    (@grapefruitgirl)

    how does one update permalinks?

    vkaryl

    (@vkaryl)

    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.

    Thread Starter grapefruitgirl

    (@grapefruitgirl)

    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.

    vkaryl

    (@vkaryl)

    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….

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘sidebar info disappearing – why?’ is closed to new replies.