• Hi! I wanted to know how to hide the Teaser Image from view when one is reading the Blog article.

    Right now when one selects the “Continue Reading” they are taken to the full blog post. This works nicely. BUT I would like to view only the BLOG IMAGES and text. Not the TEASERS.

    Below is a link to my site for reference. If someone can assist that would be wonderful.

    THanks!

    https://cahillfilms.com/

Viewing 8 replies - 16 through 23 (of 23 total)
  • Can you paste the content of your child’s contents.php file in a pastebin and post the url here so that we can view it?

    Thread Starter francescabruno

    (@francescabruno)

    Ok Dokie.

    Here is the URL. – https://cahillfilms.com/wp-admin/theme-editor.php?file=content.php&theme=twentytwelve-child

    And below is the content to my child’s theme. Thanks a whole bunch.

    <?php
    /**
     * The default template for displaying content
     *
     * Used for both single and index/archive/search.
     *
     * @package WordPress
     * @subpackage Twenty_Twelve
     * @since Twenty Twelve 1.0
     */
    ?>
    
    	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    		<?php if ( is_sticky() && is_home() && ! is_paged() ) : ?>
    		<div class="featured-post">
    			<?php _e( 'Featured post', 'twentytwelve' ); ?>
    		</div>
    		<?php endif; ?>
    		<header class="entry-header">
    			<?php if ( is_single() ) the_post_thumbnail(); ?>
    			<?php if ( is_single() ) : ?>
    			<h1 class="entry-title"><?php the_title(); ?></h1>
    			<?php else : ?>
    			<h1 class="entry-title">
    				<a>" rel="bookmark"><?php the_title(); ?></a>
    			</h1>
    			<?php endif; // is_single() ?>
    
    		</header><!-- .entry-header -->
    
    		<?php if ( is_search() ) : // Only display Excerpts for Search ?>
    		<div class="entry-summary">
    			<?php the_content(); ?>
    		</div><!-- .entry-summary -->
    		<?php else : ?>
    		<div class="entry-content">
    			<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
    			<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
    		</div><!-- .entry-content -->
    		<?php endif; ?>
    
    		<footer class="entry-meta">
    			<?php twentytwelve_entry_meta(); ?>
    			<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
    			<?php if ( is_singular() && get_the_author_meta( 'description' ) && is_multi_author() ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries. ?>
    				<div class="author-info">
    					<div class="author-avatar">
    						<?php
    						/** This filter is documented in author.php */
    						$author_bio_avatar_size = apply_filters( 'twentytwelve_author_bio_avatar_size', 68 );
    						echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
    						?>
    					</div><!-- .author-avatar -->
    					<div class="author-description">
    						<h2><?php printf( __( 'About %s', 'twentytwelve' ), get_the_author() ); ?></h2>
    						<p><?php the_author_meta( 'description' ); ?></p>
    						<div class="author-link">
    							<a>" rel="author">
    								<?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentytwelve' ), get_the_author() ); ?>
    							</a>
    						</div><!-- .author-link	-->
    					</div><!-- .author-description -->
    				</div><!-- .author-info -->
    			<?php endif; ?>
    		</footer><!-- .entry-meta -->
    	</article><!-- #post -->

    [Moderator Note: Please post code or markup between backticks or use the code button. Or better still – use a pastebin. Your posted code may now have been permanently damaged by the forum’s parser.]

    Your pages are currently lacking a footer with a closing </body></html> tag. Can you please switch back to the parent theme?

    Thread Starter francescabruno

    (@francescabruno)

    Alright Esmi, I am switched back. What do I do now?

    Thread Starter francescabruno

    (@francescabruno)

    Just following up on this Esmi. Thank you.

    You still appear to be using your child theme. Can you please switch back to the parent theme?

    Thread Starter francescabruno

    (@francescabruno)

    Sorry, had to switch back yesterday. Ok now I am on the parent theme. Now what is the next plan of action?

    Thread Starter francescabruno

    (@francescabruno)

    Hey Esmi, I switched back to the parent theme and have still not received a response for this. I understand you are very busy. At your convenience let me know what the next course of action is. Thanks!

    [ Please do not bump, that’s not permitted here. ]

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Teaser Image Format in Twenty Twelve’ is closed to new replies.