Viewing 20 posts - 1 through 20 (of 28 total)
  • Author
    Posts
  • #20345
    zorter
    Participant

    Sakin
    Sorry. I posted this in the wrong forum. I have catch evolution pro.
    My web site is frankiesavoyballny.com
    fsavoy will get you into pages as a password.

    I set a featured image for one of the pages.
    And I have a custom header that was appearing on all pages.

    I wish to change the header on just one page. Cannor figure out hos to enable featured images.
    Alan

    #20346
    zorter
    Participant

    Sakin
    Sorry again – but i forgot to say notify me.
    Alan

    #20355
    zorter
    Participant

    Sakin
    So – is the answer that this feature is not available on Catch Evolution Pro, but is avaialable on Catch Everest?

    – which has this as a feature: Header Featured Image: You can add a completely new Header Featured Image to your site to showcase your banner or header image

    #20356
    zorter
    Participant

    Sakin
    Looking at this further, I note that in Evolution Pro, one can set a featured image for a page. Once set, what can one do with it??
    Alan

    #20363
    Sakin
    Keymaster

    @zorter: Catch Evolution Pro theme is different from Catch Everest Pro theme in many ways.

    Ok I will tell you about Catch Evolution Pro theme:
    Catch Evolution Pro uses default WordPress Custom Header. We will be soon adding new feature similar to Catch Everest Pro about changing Featured Header image in Different Pages and Post as assigned Featured image. But sorry there is no option at this time.

    For this, you need to build child theme and then create functions.php file in your child theme and add the following code.

    /**
     * Header Image
     *
     * Uses Custom Header and Featued Images
     * @Hooked in catchevolution_headercontent
     * @since Catch Evolution 1.0
     */
    function catchevolution_featured_header() { 
    	global $wp_query, $post, $paged, $_wp_default_headers, $catchevolution_options_settings;
        $options = $catchevolution_options_settings;
    	
    	// Header Image
    	$header_image_path = get_header_image();
    
    	if ( !empty ( $options['disable_header'] ) ) {
    		return;
    	}
    	
    	// Check if this is a post or page, if it has a thumbnail, and if it's a big one
    	if ( is_singular() ) :
    		// Houston, we have a new header image!
    		echo '<div id="header-image">';
    			echo get_the_post_thumbnail( $post->ID );
    		echo '</div>';
    	elseif ( get_header_image() ) : ?>
    		<div id="header-image">
    			<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
    		</div>
    	<?php endif; 
    	
    	
    } // catchevolution_featured_header
    #24100
    Jonathan
    Member

    Hi,
    I tried doing this because I wanted a custom header for each different page. I created a functions.php in my child them but once I input the above code my site goes all white. Can you please tell me what I’m doing wrong?

    http://www.point-of-view.ca

    #24105
    Sakin
    Keymaster

    @Jonathan: I don’t get it what you want. Did you check in the latest version of Catch Evolution Pro.

    If you want different header image in different pages then go to “Appearance => Theme Options => Header Featured Image Options” and in “Enable Featured Header Image”, you can select “Entire Site, Page/Post Featured Image”. Then for homepage, you can add image there and for individual pages, you need to add featured image in those post.

    #24112
    Jonathan
    Member

    Thanks for the response. Under Header Featured Image Options I do have the header enable for the entire site. But this will put the same header on all my different pages but I want to have a different header image for each page. I tried what you said by uploading the image I want as a header in the featured image but that didn’t change anything. I have a plugin to be able to change the header image (WP Display Header) but it doesn’t seem to work with this theme.

    #24114
    Sakin
    Keymaster

    @Jonathan: You don’t need to use plugin for this. Just deactivate that plugin. You are supposed to select option Entire Site, Page/Post Featured Image not the Entire Site.

    Entire site will display the main header image is all pages. But if you select Entire Site, Page/Post Featured Image”, then it will display the main header image in homepage and then your post and page will replace the header image with the post and page Featured Image.

    #24118
    Jonathan
    Member

    Ok thank you that worked!

    #24120
    Jonathan
    Member

    Sorry actually it didn’t do exactly what I wanted. If I have the header image as the featured image then for every post I have it will show the FI as the header. I just want the different header for pages not posts. Is there an option for this?

    #24177
    Sakin
    Keymaster

    @Jonathan: Sorry this option is not there, you need to build child theme and do the custom coding.

    #24214
    Jonathan
    Member

    ok thanks

    #24811
    Jonathan
    Member

    I have been trying to do the custom coding for this and it is extremely frustrating because I don’t know how to do it. It seems like a simple feature for the theme to have. It was available on the free catch evolution but doesn’t for the pro… I am happy with everything else in the them except this.\

    All I want to do is have different header images for my different pages and posts that are not linked to the featured image. I have a plugin that can do this very easily but it wont override the theme default. Is there any way I can do this simple. Or am I just stuck waiting for Catch Evolution Pro to add this feature?

    #24911
    Sakin
    Keymaster

    @Jonathan: I see that you are using Version 2.0 and the “Header Featured Image Options” has been added in. Go to “Appearance => Theme Options => Header Featured Image Options”. Then in “Enable Featured Header Image” you can click on “Entire Site, Page/Post Featured Image”. So, you will have you header image in homepage and it will be replace by your featured image in post/page while viewing post/page.

    #25430
    Jonathan
    Member

    Yes but I dont want the header to be tied to the featured image. I want the featured image to be for the the thumbnails for the posts when view in categories etc. Is there a way I can enable the header for featured image just for pages but not posts?

    #25434
    Sakin
    Keymaster

    @Jonathan: Sorry this is not possible by default, you might need to hire customizer to work on it.

    #25435
    Jonathan
    Member

    Ok thanks for the answer but I find it frustrating that I could solve this problem with a simple plugin on the free catch evolution but once I upgraded it became something I needed a customizer for…

    #25439
    Jonathan
    Member

    I hope there will be a future update so this can be done in Pro. Until then I am switching back to the basic Catch Evolution to solve this problem and slightly regretting upgrading…

    #25486
    Sakin
    Keymaster

    @Jonathan: Sorry I don’t get it. If you have been able to use it through plugin in Free then it should be working in Pro as well.

    I think I misunderstood you. You mean the featured images to show in category/blog section and then disable it in all your pages/post. Then you can just go to “Appearance => Theme Options => Layout Options” and select “Excerpt/Blog Display”.

    Then yes, you need to add featured images in your post.

    Then for the header image “Buddha Image”, you can disable it if you want from “Appearance => Theme Options => Header Featured Image Options” and then select “Disable” in “Enable Featured Header Image”.

    Then you can add the following css in “Appearnace => Theme Options => Custom CSS” box to make your small featured image in Category/blog pages to align left.

    .archive .entry-summary img.wp-post-image {
        display: inline;
        float: left;
        margin: 0 10px 10px 0;
    }
Viewing 20 posts - 1 through 20 (of 28 total)
  • The topic ‘Different Header for Different Pages’ is closed to new replies.