Your Time:
Our Time:
← Back to discussions

Cannot choose sidebar and sidebar layout (left/right) for Church Theme Archives

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 4 replies, 2 voices, and was last updated 10 years, 2 months ago by Anonymous.

  • 2016-06-30 at 1:11 am
    Support Expired
    #15207
    Rachel
    Participant
    • Topics: 8
    • Replies: 8
    • Total posts: 16
    • Post count: 12

    I need to be able to define the Church Theme Content sermon archive pages’ Title, sidebar, and sidebar layout. See attached screenshot, right now I cannot find where to change title from “Sermon archive for category: Joseph Smith”, nor how to make the sidebar on the left instead of right, or how to choose my special sidebar I set up for sermon pages that has all my search/category widgets.

    2016-06-30 at 3:19 pm
    #15218
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    1. To change title from “Sermon archive for category: Joseph Smith”, you need to change the code in atp_generator.php file. If you can tell what title you want to change it to? then I can fix it.
    2. You can change the Sidebar Layout in Theme Options/Sidebars/Sidebars Layout. Have a look at the screenshot.
    3. Add your custom sidebars in Theme Options/Sidebars/Custom Sidebars.

    2016-06-30 at 3:45 pm
    #15219
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    For the 1st question, kindly provide us wp-logins to your website, so that we can fix the problem. Make sure you set the post as private reply so that only admin can see your wp-logins.

    2016-07-05 at 7:09 pm
    Support Expired
    #15276
    Rachel
    Participant
    • Topics: 8
    • Replies: 8
    • Total posts: 16
    • Post count: 12

    Note: There was not screenshot attached to your original reply so I am not sure what you are referring to there.

    For #1 I would like to make the change myself as we are using a child theme and I want the change to hold for future updates. Please let me know where to go to make this changes in the file.

    #2 I have it set so that sidebars appear on the left (see screenshot) but the archives are ignoring this settings and appearing on the right anyway.

    For #3, I already did this (you can see in screenshot), I am saying that there is no way to define which custom sidebar to use for archives. It is pulling the default sidebar and there is no way to tell it to use my custom “sermons” sidebar.

    2016-07-06 at 11:44 am
    #15292
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    1. Replace this code atp_generator.php file on line around #413 in subheader function.

    if(  is_tax( array(
    	'ctc_sermon_book',
    	'ctc_sermon_topic',
    	'ctc_sermon_series'))) {
    	$taxonomy_archive_query_obj = $wp_query->get_queried_object();
    	$ctitle = $taxonomy_archive_query_obj->name; // Taxonomy term name
    	$title = sprintf( __( 'Sermon archive for category: %s', 'hopes-textdomain' ), '<span>' . $ctitle . '</span>' ); 
    }
    if(  is_tax( array(
    	'ctc_sermon_speaker'))) {
    	$title = sprintf( __( 'Sermon archive for category: %s', 'hopes-textdomain' ), '<span>Your Title</span>' ); 
    }

    2. There in only a default sidebar for the archives to use. There is no custom sidebar option for the archives.

You must be logged in to reply to this topic.