Results 1 to 4 of 4

Thread: Displaying a different sidebar

  1. #1
    Thread Starter
    Member gibbere's Avatar
    Join Date
    Jan 2011
    Location
    United Kingdom
    Posts
    60
    Thanks
    2
    Thanked 4 Times in 2 Posts

    Displaying a different sidebar

    Hi,

    Not sure if I'm going about this the right way but I'd like to display a different dynamic sidebar that I've created when viewing posts in a specific category.

    Currently, when you click on a category link (within a custom menu widget) I can see all the posts within that category but the theme always defaults to the 'sidebar_blog' sidebar layout.

    I'd like to put in a condition that says if a category is being viewed it will display my new sidebar (which I've called 'sidebar_health').

    Currently, the code I think I need to alter is this which is in the sidebar_blog.php file:

    <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar_blog')) : else : ?>

    Is this possible?

    Thanks

  2. #2
    Thread Starter
    Member gibbere's Avatar
    Join Date
    Jan 2011
    Location
    United Kingdom
    Posts
    60
    Thanks
    2
    Thanked 4 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Member gibbere's Avatar
    Join Date
    Jan 2011
    Location
    United Kingdom
    Posts
    60
    Thanks
    2
    Thanked 4 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,664
    Thanks
    166
    Thanked 3,383 Times in 3,254 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] logo not displaying
    By brentwoodads in forum Help Using ClassiPress
    Replies: 8
    Last Post: December 29th, 2010, 01:25 AM