Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #41513
    KingBetts
    Member

    Hi, my site is http://www.filthyculture.com/wordpress and the featured image is alot smaller then the other image in the example post that is up right now. Also there is a massive gap between the featured image and the text! Please help me out!

    #41530
    Sakin
    Keymaster

    @KingBetts: Sorry Catch Everest Free version doesn’t have option to select the size of the featured image in post/page. It will take the default image size of Width: 690px and Height: 462px.

    You can either upgrade to Catch Everest Pro version, then you will get option to change the image size from “Content Featured Image Options” at your post/page Catch Everest meta or if you wan to do in the Catch Everest Free version then you need to build child theme and then copy content.php file in your child theme and edit size code
    <?php the_post_thumbnail( 'featured' ); ?>

    #41533
    KingBetts
    Member

    @Saking – Perfect! That worked great! I was wondering if there was any way to move the post title about the featured image with keeping the layout and featured image? Thanks!

    #41540
    Sakin
    Keymaster

    @KingBetts: Again for this you need to build child theme and then copy content.php from Catch Everest theme to your child theme. You can edit the child theme content.php code as below:
    Just move the following code

    <?php if( has_post_thumbnail() ):?>
    	<figure class="featured-image">
    	<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'catcheverest' ), the_title_attribute( 'echo=0' ) ) ); ?>">
    		<?php the_post_thumbnail( 'featured' ); ?>
    	</a>
    	</figure>
    <?php endif; ?>

    Below the code
    </header><!-- .entry-header -->

    #41542
    KingBetts
    Member

    @Sakin – That worked. One more question. If you look at the website and click the top post it has two pages (im just testing thigns) is there anyway to only have the featured image on the first page? Thanks again

    #41544
    KingBetts
    Member

    @Sakin – where is “next_post_link()” or how will i get the wp-pagenavi plugin to work because I need to replace next_posts_link() and previous_posts_link() with <?php wp_pagenavi(); ?>

    #41546
    Sakin
    Keymaster

    @KingBetts: The wp_pagenavi() has already been included in our theme. You just need to to activate WP-PageNavi and it will work automatically.

    I just check in your site and found that you have used very large image at the featured image, this will make your site slow. Since your maximum content width is 1040px. But your image sizes are of 3600px width, which is massive big and bad for bandwidth and SEO. So, edit those image and make it maximum 1040px width. Don’t worry it will look same just the image size will be reduced.

    #41572
    KingBetts
    Member

    @Sakin – I have it activated but at the bottom it still says (Older Posts) instead of having page numbers

    – Can you go into more detail on how to do this I don’t full understand

    – On the very top post I made it have two pages (to test) & the featured image repeats on every page – is there anyway to prevent this – I only want it on the first page of the post

    #41588
    Sakin
    Keymaster

    @KingBetts: I see that you have install WP PageNavi Style plugin and not the WP PageNavi. You need to install WP PageNavi plugin.

    What have you customize it. Your site is showing Panda Junction 2014 // Photo Coverage only in the homepage.

    About the featured image, it will just show the image which is attached to the post. See this http://catchthemes.com/blog/videos-blog/video-series-adding-featured-image-wordpress-postpage/

    #41597
    KingBetts
    Member

    @Sakin I solved the image size problem!

    – I changed all the other posts to “Test” In the Panda Junction 2014 // Photo Coverage post there is two pages in it, & if you go to the second you will see the featured image is repeated again at the top of the second page just like the first but for future posts when the site is open I only want the featured image to appear once on the first page.

    – I uninstalled both plugins and reinstalled just WP-Pagenavi and activated it and it still says previous posts (the reason for all the test posts is to make it have more then one page on the homepage) Thanks again for all your help!

    #41615
    Sakin
    Keymaster

    @KingBetts: Now the pagination should work but I see that you have installed WP Super Catch Plugin installed. So, can you go to WP Super Cache plugin and clear the cache and check in.

    I don’t see the repeat featured image.

    #41636
    KingBetts
    Member

    @Sakin – I tried caching it didnt work, uninstalled cached then reinstalled and still is not working /: are you sure? On the first page it shows the grey mazda above the wording which is the feautred image > and on the second page > it shows the same thing at the top.

    #41637
    KingBetts
    Member
    #41639
    Sakin
    Keymaster

    @KingBetts: Oh you are talking about same post pagination. Yes, as it’s the same post it will show same featured image in your second, third and so on pages. This is WordPress default function and we don’t have control in it.

    Oh Sorry the wp_pagenavi() function is not there in Catch Everest theme. We will be adding this in next version update. Either you can wait for the new release or you can just build child theme and edit template-tags.php file and add the functions there in catcheverest_content_query_nav and catcheverest_content_nav functions.

    #41640
    KingBetts
    Member

    @Sakin – Can you please tell me what I need to replace in templates-tags.php – thank you!

    #41641
    Sakin
    Keymaster

    @KingBetts: You can replace the following code:

    <?php if ( get_next_posts_link() ) : ?>
    <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'catcheverest' ) ); ?></div>
    <?php endif; ?>
    
    <?php if ( get_previous_posts_link() ) : ?>
    <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'catcheverest' ) ); ?></div>
    <?php endif; ?>

    with the the following:

    <?php if ( function_exists('wp_pagenavi' ) ) :
    	wp_pagenavi();
    endif; ?>

    But it’s better you wait for the update.

    #41642
    KingBetts
    Member

    @sakin Alright I will wait for the update – do you have any idea when that will be?

    #41652
    Sakin
    Keymaster

    @KingBetts: We have already submitted to WordPress.org so now it’s on their had to release the update. So, it can be fast by tomorrow or can take up to 7 days.

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Featured Image Problem!’ is closed to new replies.