• Resolved Michael Nelson

    (@mnelson4)


    Hi I’d like to suggest adding a filter so I can customize the archive page’s subtitle. Do you guys have a github repository for this theme? Or how can I submit the change?

    I just changed templates/page-header.php to start with

    <?php
    	 if(!pinnacle_hide_pagetitle()) { ?>
    <?php } else {
    	global $post, $pinnacle;
    	if(is_page()) {
    		$bsub = get_post_meta( $post->ID, '_kad_subtitle', true );
    	} else if(is_category()) {
    		$bsub = strip_tags( category_description() );
    	} else if(is_tag()) {
    		$bsub = strip_tags( tag_description() );
    	} else {
    		$bsub = '';
    	}
    	$bsub = apply_filters( 'kadence_page_subtitle', $bsub, $post, $pinnacle );
    	 ?>

    Notice the new else statement, and the added filter.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey,
    Thanks for the post. I am happy to take requests. I can certainly add this to the next update.

    We don’t host on github at the moment, maybe something we would switch to in the future.

    Kadence Themes

    Thread Starter Michael Nelson

    (@mnelson4)

    cool so assuming the above is all the info you need, then I’ll mark this as resolved. thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘where to make pull request for customizing page subtitle’ is closed to new replies.