Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi Gabrielle,
    The sidebar is a feature of the theme you are using not the plugin. If you want to use a different sidebar you will need to set up a custom post template. Copy the theme file called single.php and save as single-event.php. You will now be able to customise and change the sidebar.

    Not sure what you mean by single post options. You can change how the event is displayed using the plugin settings.

    Thread Starter gmelli

    (@gmelli)

    I already have different sidebar for all categories. The problem is that the posts generated by the plugin automatically use the default sidebar, not the sidebar associated with the respective category.
    I do not have a single.php file in my theme’s directory. How can I set the right sidebar for the event posts?

    Thread Starter gmelli

    (@gmelli)

    For example, this is a normal post in the “formazione” category:
    http://www.ipsico.it/formazione/scuola-psicoterapia-cognitivo-comportamentale/

    This is an event page, in the same category:
    http://www.ipsico.it/event/corso-preparazione-esame-stato-psicologo/

    I would need the same sidebar.

    Thank you

    Gabriele,
    This is a theme feature that only seems to work on your pages. If you look at your ‘news’ the default sidebar is displayed on all posts. So it looks like the theme only allows category sidebars for pages not posts. Can you try categorizing your news posts to see what happens.

    Thread Starter gmelli

    (@gmelli)

    No Aerin, I have only posts (not pages – indeed, you can see the taqs). I decided to use the default sidebar for news category. I use a different sidebar for all posts in “formazione” category (e.g., http://www.ipsico.it/formazione/riviste-di-psicoterapia/), and I would need that my event posts had this sidebar.
    Thank you

    It really all depends on how the theme manages the sidebars.

    I installed a sidebar plugin on my test site and it worked – different sidebars for different categories. You probably need to speak to the theme developers to ask if their theme support custom post categories.

    Thread Starter gmelli

    (@gmelli)

    I already asked, and they said that the theme does not support custom post categories.
    I will try to do it manually.
    Thank you and congratulations for your plugin.
    Gabriele

    It’s an easy fix. If you create a custom template you can put whatever sidebar on it you like. Your theme should have a file called single.php lurking somewhere. Copy this and rename to single-event.php and you change the sidebar by adding the code:

    <?php dynamic_sidebar('mycustomsidebar'); ?>

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘how to personalize side bar’ is closed to new replies.