Support » Theme: Customify » Featured Image Not Shown

  • Resolved tgedge1

    (@tgedge1)


    Hi,

    I am using Customify & Gutenberg for my site. This might be a very easy question to answer.

    When I switch to theme TwentyFifteen (with Gutenberg) – the Featured Image appears. When I switch back to Customify it disappears.

    Question 1: Does Customify HIDE the Featured Image on Pages? This is happening on my site.
    — I do not know if this is a default protocol & common practice for Customify – or maybe a bug?

    Plugins used:
    Advanced Custom Fields PRO
    Custom Hooks
    Custom Post Type UI
    Custom Sidebars
    FacetWP
    Gutenberg

    WordPress Version: 4.9.8

    Thanks!

    • This topic was modified 11 months, 3 weeks ago by tgedge1.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author PressMaximum

    (@pressmaximum)

    Hi @tgedge1,

    That is not a bug. By default, we hide the featured image on all pages. You can open this file in Customify theme in your site:
    template-parts/content-page.php

    Then replace with my code below:

    <?php
    /**
     * Template part for displaying page content in page.php
     *
     * @link    https://codex.wordpress.org/Template_Hierarchy
     *
     * @package customify
     */
    ?>
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<?php if ( customify_is_post_title_display() ) { ?>
    		<header class="entry-header">
    			<?php the_title( '<h1 class="entry-title h3">', '</h1>' ); ?>
    		</header><!-- .entry-header -->
    	<?php } ?>
    
            <?php the_post_thumbnail('large'); ?>
     
    	<div class="entry-content">
    		<?php
    		the_content();
    		wp_link_pages(
    			array(
    				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'customify' ),
    				'after'  => '</div>',
    			)
    		);
    		?>
    	</div><!-- .entry-content -->
    
    </article><!-- #post-<?php the_ID(); ?> -->

    Let me know!

    • This reply was modified 11 months, 3 weeks ago by PressMaximum.
    • This reply was modified 11 months, 3 weeks ago by PressMaximum.

    Thanks PM. Great to hear it’s by default and not a bug. Customify has been great. Gutenberg, and it’s lack of exactitude is driving me a little batty. :^)

    Theme Author PressMaximum

    (@pressmaximum)

    Hi @tgedge1,

    Yes. That is true. But it is going to release on tomorrow 😀

    Btw, I hope you could leave us a review 🙂

    Have a nice day!

    • This reply was modified 11 months, 3 weeks ago by PressMaximum.

    Done!

    Quick follow up… this is an FYI only.

    1 – I am ALSO using a Custom Post Type.
    2 – I can set a featured image there
    3 – The Featured Image DOES render on the Custom Post.
    –Which is fine for the Custom Post Type though I may change it considering the bit of freedom blocks provides me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Featured Image Not Shown’ is closed to new replies.