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 #2284117
Can I activate the sidebar in all already published posts with one setting.
Closed

Comments

  • zizooboats started the conversation

    I have round about 500 articles live, but they currently have no sidebar. I would love to activate the sidebar in all of them. Can I do so somewhere central without updating all 500 current articles? 

  •  7,092
    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