Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1218185
default sidebar
Closed

Comments

  • qiujumper started the conversation

    Hi. Is it possible to setup a default sidebar for all news and/or blog posts? I can’t find any settings regarding this. And it’s really, really annoying to set a sidebar for each post separately – especially because the site I’m building is for a client.

  •  7,122
    Oliver replied

    HI!

    In the
    /wp-content/themes/thegem/content-page.php
    after line 27 add next code.

    if(get_post_type() == 'post') {
       $thegem_page_data['sidebar']['sidebar_position'] = 'right';
    }
    

    it's template, just copy it to the child theme.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver