WordPress.org

Ready to get started?Download WordPress

Forums

My right sidebar on State of Mind has disappeared!? (11 posts)

  1. Terry
    Member
    Posted 2 years ago #

    My right sidebar has disappeared. I believe it was a customized sidebar, but it's been a year since I changed it.

    This is the web site. There had been several widgets on the right side.

    http://www.practicalphilosophy.net

    This is the widget page on this site. I don't know if you can see it without access to my admin page.

    http://www.practicalphilosophy.net/wp-admin/widgets.php?message=0

  2. Aaron
    Member
    Posted 2 years ago #

    Did you change theme options to not show it? It's there but its greyed out like it isnt activated. No we cant see your wp-admin without the login and I dont recommend posting it here.

  3. Terry
    Member
    Posted 2 years ago #

    No I didn't change any theme options - I don't see any "GREY OUT" option under "THEMES". I have added a new domain name and have been working on that. But I assume that this is not interfering with this site.

    I custom made the right sidebar from WIDGETS, which I dragged and dropped. I don't see anything odd there when I look at it- all the widgets are there. It's as if they stopped appearing.

    Thanks again for any thoughts..

  4. Aaron
    Member
    Posted 2 years ago #

    I show it greyed out using Firebug. Meaning it is there but invisible.

    Very difficult to suggest anything without more details but I would first go back to the file template and make sure it is calling the widgets correctly. But I doubt anyone would go edit that...

  5. Terry
    Member
    Posted 2 years ago #

    Originally, I custom made the LEFT sidebar, and used SIDEBAR TWO for the RIGHT sidebar. I simply added widgets in the "AVAILABLE WIDGETS" section and dragged them over to the SECOND SIDEBAR. This activated them.

    I have looked at the EDITOR function, and looked at the code for the AUTHOR template. This is what I see there. You'll notice that there is no "left sidebar" code, as I custom made this. The right sidebar is there though. Might there be another TEMPLATE I should look at here? Im wondering if somehow I messed it up. But I haven't done anything in the last 24 hours other than call my host server and change my password. Here' that code on the AUTHOR template.

    <div id="main_content">
    <?php include('menu.php');?>
    <?php include('right_sidebar.php');?>

    <div id="container">

  6. Aaron
    Member
    Posted 2 years ago #

    What's in right_sidebar.php then?

  7. Terry
    Member
    Posted 2 years ago #

    I will compare the LEFT SIDE to the RIGHT SIDE here. I custom made he LEFT sidebar though. It is probably messy...

    This is the right side: <div id="right_sidebar">

    </div>

    END RIGHT SIDE.

    Here is the LEFT SIDE.

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  8. Harrison O.
    Member
    Posted 2 years ago #

    Hi Tjhoyt, use the pastebin.com to paste your code there, click on submit, copy the link and post it back here, otherwise your posts will be moderated.

    What we need to see is the code from your right_sidebar.php and functions.php, so paste those files on pastebin.com and post the links here.

  9. Terry
    Member
    Posted 2 years ago #

    I will follow up tomorrow. Thank you for your help.

  10. Terry
    Member
    Posted 2 years ago #

    I finally have been able to answer your question above. I set up a Pastebin account to paste the code. So my issue was: My RIGHT side bar has disappeared, and I don't know why. I'm comparing the code from the LEFT to the RIGHT side on paste bin.

    This is code for the RIGHT SIDE - just two lines.

    <div id="right_sidebar">

    </div>

    Here is the link to the pastebin with the code for the LEFT sidebar - in order to compare to the RIGHT sidebar above.

    http://pastebin.com/xGgP2M2N

    Finally:

    I used the SECOND sidebar, and am not clear how in STATE OF MIND theme the difference between FIRST and SECOND shows up regarding "RIGHT SIDEBAR". (This is only ONE category, when FIRST and SECOND implies TWO.)

  11. Terry
    Member
    Posted 2 years ago #

    I just realized that Harrison O asked for the code for the FUNCTIONS PHP. Here it is. The other code is in the above post.

    <?php
    if ( function_exists('register_sidebars') )
    register_sidebars(2);

    add_filter('comments_template', 'legacy_comments');
    function legacy_comments($file) {
    if(!function_exists('wp_list_comments')) : // WP 2.7-only check
    $file = TEMPLATEPATH . '/legacy.comments.php';
    endif;
    return $file;
    }
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags