Public Ticket #2284117 Can I activate the sidebar in all already published posts with one setting. Closed
Comments zizooboats started the conversationJanuary 28, 2020 at 10:41pmI 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,092Oliver repliedJanuary 29, 2020 at 8:41amHi,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 Sign in to reply ...
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?
Hi,
In the
/wp-content/themes/thegem/content-page.php
after line 27 add next code.
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