• I just installed WP (apparently days before a new release). I think I have 2.5.1, but I don’t know how to tell.

    I’m using the default theme and I’ve made two small changes. I replaced the header image and pushed the Blog title and description off to the side (changed the relative position in the CSS). Both which took me hours to do.

    So far I am tired and wished this was a LOT less complicated. I also run a Google Blog and although it’a a bit ugly and not as customizable it is sooo much easier to figure out.

    OK! Here is what I need help with. My links/blogroll don’t show up at all. I can’t figure out why, despite looking here for hours. This is brand new fresh install. I haven’t been messing with the php files, nor do I know how. Nor do I want to. Any help will be greatly appreciated. I need to at least have one link back to the main website that the blog is for.

    And on my post page, there is no way to get back to the main page, b/c there is no side bar. Is this really the default setting of the default theme? That is ridiculous. I have been searching the codex for days now and all I see is that “it is complicated to get the sidebar on the post pages.” Really? Please tell me I’m missing something obvious.

    Here’s the blog: https://frogbridgegymnastics.com/blog1/

    Thank you,

Viewing 15 replies - 1 through 15 (of 16 total)
  • The front page loads from index.php, but the single posts page uses single.php. Rename single.php to something else (better than deleting, it, you can get it back that way). Then index.php will be used on the single post pages as well.

    In the admin screen, go to Design > Widgets. Have you set up any widgets there? If you have no widgets in use then you get the default sidebar (should include the blogroll). But as soon as you add a single widget the whole sidebar is replaced, so you need to make sure you add a widget for the blogroll.

    However, if you all you want is a link back to your main website, you could be better off with EasyRedirect. Make a static page in WordPress, named as you want the link to your main site to be, then follow these instructions to enter a tag into the body of your page (use 0 seconds delay). This might put your link in a better place for you. I haven’t tried this myself though!

    Thread Starter rcronin

    (@rcronin)

    Thank you! Thank you!

    I have to run out for a few hours, but then I will right on this. Wish luck. ??

    No problem! I’ve since tried the EasyRedirect plugin, and I don’t like it myself, as there’s a delay before redirecting, even with 0 seconds. It may be worth looking for a plugin that does the redirect without using JavaScript – it might be quicker.

    If you are using widgets, you could add a text widget with the link to your main website in it. If you are not using widgets, you can hardcode the link into your sidebar.php, like I have. If you want help doing that, post your sidebar.php here and I will tell you where to put it.

    Thread Starter rcronin

    (@rcronin)

    Ok, some success. I changed the name of the single.php file, so the side bar shows up on all the pages. phew.

    But – I can’t seem to fix the widget/links issue. I HAD activated several widgets so that would have changed the default sidebar. I’m thinking I should deactivate/remove them. But there doesn’t seem to be a way to do it. All I see is “add” next to unused widgets. The ones I’ve already added have nothing next to them, so no way to remove them that I can see. You know, in hindsight, I don’t think the Links section EVER showed up, that’s probably why I was adding the widgets in the first place.

    Thread Starter rcronin

    (@rcronin)

    As I continue looking at this I have another sidebar question. How can I rearrange the order of the items in the sidebar? And do I really have a sidebar? When I’m in the admin section on the widgets page, it says I’m using 7 widgets. And right next to it, it says I have no items in my sidebar. How can that be?

    Can you do me a screenshot of your widgets admin page? Put it on https://imageshack.us if you have nowhere else.

    Thread Starter rcronin

    (@rcronin)

    The widgets on the left are unused widgets, the widgets on the right (none of them) are in use. So with no widgets selected, your sidebar reverts to the contents of sidebar.php. Yet some of your unused widgets don’t have add links, and they should, so maybe it’s somehow confused as to what is set on the sidebar and what isn’t.

    I suggest you export your posts and pages (if you have any yet), then empty the whole database, or delete it and recreate it if you’re not sure how to empty it. While you’re at that point, download the current version of wordpress (not that it should make any difference to this problem), and upload that to your server, and do a fresh install with that. Then you can import your posts back in to the new installation.

    Thread Starter rcronin

    (@rcronin)

    *sigh* I was hoping you wouldn’t say that.

    The widgets that don’t have the “add” button next to them are ones that I have previously added. They just don’t show in that admin panel. Kinda weird.

    So i would want to also dwnld my customized style sheet and the .php files that i put my header image in, too? Or should I do it all over from scratch after the upgarde?

    I’ve had a thought, you saying that, maybe you’ve changed something in the sidebar.php that’s stopping it picking up the widgets. Before you do anything drastic, try it with the WordPress classic theme.

    If the problem doesn’t exist with the classic theme then post your sidebar.php and I’ll look to see what’s been lost. If the widgets still don’t work with the classic theme then I think it will be quicker in the long run to wipe the database, since you’ve hardly got anything on the site yet.

    I’ve just checked, and you’ve got WordPress 2.6, so there’s no need to download the newest version. 2.6.1 has bug fixes, but no security updates, so it’s an optional upgrade. If the classic theme doesn’t work any better than your modified default theme, then there’s no reason to revert the changes you’ve already made to the theme.

    Thread Starter rcronin

    (@rcronin)

    I’m sure glad upgrading isn’t necessary! ??

    I think you have figured it out. I changed to Classic theme and viola, the links show up. https://frogbridgegymnastics.com/blog1/ (as of 11am, August 31, 2008)

    So there is something I did to the code in the default theme to screw up how the sidebar works.

    Here’s my sidebar.php code for the default theme, which is the one that wasn’t working right:

    <div id=”sidebar”>

      <?php /* Widgetized sidebar, if you have the plugin installed. */
      if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar() ) : ?>
    • <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
    • <!– 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’); ?> blog 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’); ?> blog 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’); ?> blog 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’); ?> blog 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’); ?> blog archives.</p>

      <?php } ?>

    • <?php }?>

      <?php wp_list_pages(‘title_li=<h2>Pages</h2>’ ); ?>

    • <h2>Archives</h2>
      <?php wp_get_archives(‘type=monthly’); ?>

    <?php wp_list_categories(‘show_count=1&title_li=<h2>Categories</h2>’); ?>

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php wp_list_bookmarks(); ?>

    • <h2>Meta</h2>

    <?php } ?>

    <?php endif; ?>

    </div>

    THANK YOU SO MUCH for coming back and helping me with this. I hit the jackpot when you found my OP. ??

    No problem! Though I can’t see anything wrong with your sidebar. Next time you post code, highlight it and press the “code” button, so you don’t loose some of the tags. Switch back to the theme you had before, delete evertying in your sidebar and paste this into it (it’s the original sidebar.php that I’ve pasted up). In case there is a change I haven’t noticed.

    Thread Starter rcronin

    (@rcronin)

    Well, well, well, what do you know? The links are back. https://frogbridgegymnastics.com/blog1/

    Thank you! THANK YOU!

    btw, I like the Big Knit video on your website. I can never resist a good knitting video. You must have seen these classics…

    https://imoviefest.restek.wwu.edu/movies.php?year=2005&movie=knit_club

    https://www.pisadesigns.com/GangstaKnitter.htm

    Have a great day.

    lol! Those are great! ??

    I think it mmight have been switching themes and switching back that did it, then. Don’t know why. Have a great day as well!

    Thread Starter rcronin

    (@rcronin)

    oh, I forgot to ask. What should I do about the fact that my widgets page doesn’t work right? I can’t deactivate anything and the sidebar shows “no widgets” even though I have a handful activated…

    glad you liked the videos.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Default Theme – links don’t show & need sidebar on post page’ is closed to new replies.