This topic has 4 replies, 2 voices, and was last updated 10 years ago by Anonymous.
Viewing 5 posts - 1 through 5 (of 5 total)
Two issues with CT Sermons.
(1) where do I add the dropdowns for topics, books, speakers on the main sermons page? I tried creating a sidebar and adding widgets but it looks like you have removed the ability to add sidebars through Visual Composer.
(2) How do I define the sidebar to be used in sermon archives, and set it to appear on the left side of the page?
1. Can you please elaborate your question?
2. Go to hopes/framework/admin/common/atp_generator.php, find for this “sidebaroption” function and find for this code
if ( class_exists('woocommerce') ) {
if( is_product() ){
$sidebaroption = 'fullwidth';
}
} else {
if( is_archive() || is_search() ) {
$sidebaroption = 'rightsidebar';
}
}
Replace the above code with this,
if ( class_exists('woocommerce') ) {
if( is_product() ){
$sidebaroption = 'fullwidth';
}
} else {
if( is_archive() || is_search() ) {
$sidebaroption = 'leftsidebar';
}
}
Topic is set to be resolved because of no reply. If you wish to update this topic please reply here instead of creating another topic.
Hello, just getting back to this. I wanted to confirm this is for sermon archives (not WooCommerce?).
This is my main Sermons page, which i set up as a page using template “Sermons” with a custom sidebar and sidebar position = left.
http://www.switzerlandcommunitychurch.org/connect/sermon-library/
I would like the following pages to look like the above, is that possible with the code provided in your previous reply?
http://www.switzerlandcommunitychurch.org/sermon-book/1-peter/
http://www.switzerlandcommunitychurch.org/sermon-speaker/joseph-smith/
http://www.switzerlandcommunitychurch.org/sermon-topic/believers/
Ideally i would LOVE to have the archive pages also use the same header/title settings as well. Is there a way to tell the archive pages to use my “Sermons” page settings as the base for how they should look too?
(Also a note that I am using a child theme so not sure what i need to copy over to my child theme in order to make the edits you describe above.)
1. The previous code is for woocommerce. If you can provide us WP Logins to your website with URL then we can add the coding for sermons archive pages. Make sure you set the post as private reply so that only admin can see your wp-logins.
2. By default you can set the subheader image in theme options. For title, you have to change title in hopes\framework\common\atp_generator.php line no. 420.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.