WordPress.org

Ready to get started?Download WordPress

Forums

Little RSS buttons missing from sidebar ..and nothing else (25 posts)

  1. Merchantprince
    Member
    Posted 7 years ago #

    OK, so I followed all the directions for moving WP from it's original sub-directory ("/wordpress") into the main directory of my site. All the paths were changed and everything seemed to work fine.

    The only thing missing is the small RSS buttons next to the navigation links on the sidebar. Can anyone help?

    (Dunno if I'm allowed to post my site URL to illustrate...)

  2. Yes, we need a link to your site.

    But one thing to check is the <img tags in your sidebar.php. It's possible that the RSS buttons have paths pointing at your old location.

  3. iamthrull
    Member
    Posted 7 years ago #

    Try checking the style.css file. Sometimes the image links there are missed.

    background: url (/wordpress/images/image.gif);

    make sure the image location is correctly identified (ex: yoursite.com/newimagesfolder).

  4. Merchantprince
    Member
    Posted 7 years ago #

    Thanks guys, I did check the stylesheet and could find nothing wrong there. I looked at the sidebar.php and it appeared the image link was fine:

    <php yy_menu('sort_column=menu_order&title_li=',<br />
    'hide_empty=0&sort_column=name&optioncount=1&title_li=&hierarchical=1&feed=RSS&feed_image='.get_bloginfo('stylesheet_directory').'/images/icons/feed-icon-10x10.gif'); >

    Could this be some kind of cache problem?

    My URL is:

    http://www.johntedwards.com

  5. Merchantprince
    Member
    Posted 7 years ago #

    *Bump*

  6. manstraw
    Member
    Posted 7 years ago #

    the icon url is http://johntedwards.com/wordpress/wp-content/themes/freshy-10/images/icons/feed-icon-10x10.gif but there is no image file at that location.

    You seem to have one theme indicated in the head section of your blog, and another in the sidebar. One is freshy, and the other is freshy-10. They should be the same.

    But even then, I don't see an icon at what I think is the proper location either.

    Do you have mismatched info in your wordpress admin area under Options? Check those values.

    Also, check to make sure the feed-icon-10x10.gif is actually where it should be.

  7. Merchantprince
    Member
    Posted 7 years ago #

    I looked and found a feed-icon-10x10.gif located in the correct directory: johntedwards.com/wp-content/themes/freshy/images/icons. But you're right; that is not the location being called by the sidebar. I checked the sidebar.php (indeed all the theme files) and couldn't locate where the feed-icon-10x10.gif code is inserted for Freshy.

    At one point last night trying to solve this I did delete the first Freshy install and downloaded it again and reinstalled. Perhaps I re-instaled a different version? What is the best way to delete a theme completely?

    And if the sidebar is calling image code from the old "/wordpress" directory, that should be impossible. I deleted that folder after moving everything and changing the filepaths in the Options-General tab to the sites' main directory.

  8. moshu
    Member
    Posted 7 years ago #

    In the sidebar the image path has the word (subfolder) "wordpress" in it: between your domain and wp-content.

    johntedwards.com/wp-content/themes/freshy/images/icons
    is not the same as
    johntedwards.com/wordpress/wp-content/themes/freshy/images/icons

  9. manstraw
    Member
    Posted 7 years ago #

    good catch moshu, i didn't look for that, assuming only a theme changed, and not the blog location.

    however, you're code is using a wordpress function to generate the bulk of the url. it shouldn't be wrong. this is the part here that does that > feed_image='.get_bloginfo('stylesheet_directory').'/images/icons/feed-icon-10x10.gif'

    look in your header and use the same function it does for the getting the url. one place it's used is to link to your style sheet.

    this is also why I suggested you check the settings under Options > General to make sure the right info is in there.

  10. Merchantprince
    Member
    Posted 7 years ago #

    I can't figure this out. The sidebar.php has no code I can identify to trace the image's filepath or how I might edit it if it's pointed to the wrong, now-deceased folder.

    In the Options > General section, both the WordPress address and Blog address are set to: http://www.johntedwards.com. This should be fine, as all the links to my archives, about me and contact pages work.

    I also looked in the header, but cannot figure out what I'm supposed to edit. Once again, I see no missing or broken filepaths for that image.

  11. Merchantprince
    Member
    Posted 7 years ago #

    I asked before if this might be some kind of cache issue. One of the steps mentioned in the original WP article about moving your blog is to delete the folder "wp-content/cache". But I couldn't find any such folder, is that information incorrect?

  12. manstraw
    Member
    Posted 7 years ago #

    are you using widgets?

  13. Merchantprince
    Member
    Posted 7 years ago #

    Not sure, are those the same as plugins? Here is what I have installed and activated:

    Audio player 1.2.3
    Exec-PHP 3.0
    Smart Update Pinger 2.0
    WPvideo 1.00
    WordPress Database Backup 1.7

  14. manstraw
    Member
    Posted 7 years ago #

    widgets are a plugin. they let you control the sidebar through the admin interface, instead of editing sidebar.php. I guess you don't have them, which eliminates them as a source of the problem.

  15. Merchantprince
    Member
    Posted 7 years ago #

    I guess this is one that can't be solved...

  16. manstraw
    Member
    Posted 7 years ago #

    just not enough information. Have you tried everything mentioned in the thread? Maybe go over it again to be sure.

  17. Merchantprince
    Member
    Posted 7 years ago #

    I've tried everything suggested, but don't have an answer to my cache question or how I might delete any given theme completely to start over. Clearly just deleting the theme's folder does not remove it altogether.

  18. manstraw
    Member
    Posted 7 years ago #

    it doesn't remove it? um, how are you deleting it? gone is gone.

    i doubt it's a cache issue. if you make posts, you see those change right?

    I think you may need to let someone into your web account to look around and figure it out. The issue of trust comes up when considering that, and that's not something I can advise you on.

  19. aadil
    Member
    Posted 7 years ago #

    Log in to your WordPress admin panel (i.e the Dashboard)
    Go to Presentation > Theme Editor
    Select the Sidebar Template file (sidebar.php)
    Copy all the content of the file and paste it into Notepad and minimize browser window
    Use the find feature in Notepad and locate the following: "http://johntedwards.com/wp-content/themes/freshy-10/images/icons/feed-icon-10x10.gif" OR "/wp-content/themes/freshy-10/images/icons/feed-icon-10x10.gif"
    Replace it with the following: "http://johntedwards.com/wp-content/themes/freshy/images/icons/feed-icon-10x10.gif" OR "/wp-content/themes/freshy/images/icons/feed-icon-10x10.gif"
    Save file in Notepad and select all text to copy
    Maximize browser and paste the content in the window of the Theme Editor editing the Sidebar - Template file in question (after clearing it of course)
    Save and refresh blog in browser.

  20. Merchantprince
    Member
    Posted 7 years ago #

    manstraw, I'd happily allow access to the site. Is there a way to create a temporary admin account for someone to do so?

    aadil, I've done what you suggest several times now and I don't think the problem is with the sidebar.php. Here it is, copied exactly from the Theme Editor:

    <?php global $freshy_options; ?>

    <div id="sidebar">
    <div>
    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar() ) : ?>
    <?php if(function_exists('yy_menu')) : ?>
    <h2><?php _e('Navigation',TEMPLATE_DOMAIN); ?></h2>
    <ul>
    <?php yy_menu('sort_column=menu_order&title_li=',
    'hide_empty=0&sort_column=name&optioncount=1&title_li=&hierarchical=1&feed=RSS&feed_image='.get_bloginfo('stylesheet_directory').'/images/icons/feed-icon-10x10.gif'); ?>
    </ul>

    <?php elseif (function_exists('freshy_menu')) :
    freshy_menu($freshy_options['args_pages'],$freshy_options['args_cats']);
    endif; ?>

    <h2><?php _e('Search',TEMPLATE_DOMAIN); ?></h2>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>

    <h2><?php _e('Links',TEMPLATE_DOMAIN); ?></h2>
    <ul>
    <?php
    $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
    foreach ($link_cats as $link_cat) {
    ?>
    <li id="linkcat-<?php echo $link_cat->cat_id; ?>"><?php echo $link_cat->cat_name; ?>
    <ul>
    <?php wp_get_links($link_cat->cat_id); ?>
    </ul>
    </li>
    <?php } ?>
    </ul>
    <?php endif; ?>
    </div>
    </div>

    I think there is another issue with how the template is calling to a different sidebar.php, somewhere. As you can see, the sidebar.php in the Theme Editor has the correct code.

  21. manstraw
    Member
    Posted 7 years ago #

    that's different from the snippet you pasted before. it doesn't even show a feed image.

    i'm looking at yy_menu and then something called freshy menu. it looks like yy menu is the one being used. I don't know what that is though. I would suggest the issue is within that function. It's also possible it's within this Freshy Menu thing as well. Do you have an admin page in wordpress for that?

    the typical category navigation in a sidebar looks more like this:

    <li><h2>Categories</h2>
    <ul>
    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0&eed_image=/wp-content/themes/defaultnew/images/rss/feed-icon-10x10.gif'); ?>
    </ul>
    </li>

    note that is uses the wp_list_cats function.

  22. aadil
    Member
    Posted 7 years ago #

    Just loaded your blog in your browser, looks fine to me. The icons are appearing. Maybe it's my Opera cache working fine.

    Anyway, you can copy the corresponding icons to your Freshy image directory and try the steps I explained previously.

  23. Merchantprince
    Member
    Posted 7 years ago #

    What's weird is that Freshy has two different sidebar settings in the Options menu, an Auto and a Normal, and they both have the same sidebar.php code listed above. Auto is the default setting and is the option pointing to the wrong (non-existent) directory for the buttons. When I switch the option to Normal, I get the RSS buttons back! Guess I may just end up keeping it there.

    Thanks for all your help, anyway.

  24. aadil
    Member
    Posted 7 years ago #

    Heh. Sound like I climed all the way to the tree to get your cat but he simply jumped down when I reached the top. :)

  25. wpmonkey
    Member
    Posted 7 years ago #

    I have the EXACT same issue. I know what caused it, when I first installed the theme, I first renamed the theme folder to "mysite.com(freshy-10". I started to have various issues, and I figured it was because I renamed the theme folder. So I deleted the theme folder, then uploaded a fresh one.

    Since then, everything seems to work correctly expect the RSS icons. If I change the Options to "Normal" as described above, the buttons come back.

    I would rather use the "Auto" option. Anyone figure out whats going on with the paths? Where would WP be saving the old path at? Where is the sidebar info for the "Auto" option?

Topic Closed

This topic has been closed to new replies.

About this Topic