Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ejlarson

    (@ejlarson)

    Thank you for the quick reply. It is currently displayed on my homepage empathyencompassed.com. I set the imgage size as “medium” which fixed the mobile issue, but it seems so large on desktop.

    I’m just not too savvy when it comes to coding/css.

    Thread Starter ejlarson

    (@ejlarson)

    Thank you for your response! I tried it and it didn’t work. I’m using the Mary Kate Premium theme: http://angiemakes.com/product/the-mary-kate-wordpress-theme-for-women/

    Thread Starter ejlarson

    (@ejlarson)

    I have also tried playing around with my content.php file:

    <?php
    /**
     * @package WPCanvas2
     */
    ?>
    <?php
    $show_post_meta = false;
    $class = 'hide-post-meta';
    if ( ! is_search() && 'post' == get_post_type() ) {
    	$show_post_meta = true;
    	$class = 'show-post-meta';
    }
    if ( $show_excerpt = wpcanvas2_show_excerpt() ) {
    	$class .= ' show-excerpt';
    }
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class( $class . ' wpc2-post' ); ?>>
    	<header class="entry-header">
    		<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    
    		<?php if ( 'post' == get_post_type() ) : ?>
    			<div class="entry-meta">
    				<?php wpcanvas2_posted_on(); ?>
    			</div><!-- .entry-meta -->
    		<?php endif; ?>
    	</header><!-- .entry-header -->
    
    	<?php if ( $show_excerpt ) : // Only display Excerpts on condition ?>
    		<div class="entry-summary clear">
    
    			<?php $offset = 0; ?>
    			<?php $class = ''; ?>
    			<?php $post_thumbnail = ''; ?>
    			<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
    				<div class="entry-thumbnail">
    					<a href="<?php the_permalink(); ?>">
    						<?php $post_thumbnail = get_the_post_thumbnail( null, 'post-thumbnail' ); ?>
    						<?php echo $post_thumbnail; ?>
    					</a>
    				</div>
    			<?php endif; ?>
    
    			<?php list( $offset, $class ) = wpcanvas2_parse_post_thumbnail( $post_thumbnail ); ?>
    			<div class="entry-excerpt<?php echo $class; ?>" style="padding-left:<?php echo $offset; ?>px;">
    				<?php the_excerpt(); ?>
    			</div>
    
    		</div><!-- .entry-summary -->
    	<?php else : ?>
    		<div class="entry-content">
    			<?php the_content( __( 'Read More', 'wpcanvas2' ) ); ?>
    			<?php
    
    				wp_link_pages( array(
    					'before' => '<div class="page-links">' . __( 'Pages:', 'wpcanvas2' ),
    					'after'  => '</div>',
    				) );
    			?>
    		</div><!-- .entry-content -->
    	<?php endif; ?>
    
    	<?php if ( $show_post_meta ) : ?>
    		<footer class="entry-footer">
    
    			<?php wpcanvas2_post_meta(); ?>
    
    		</footer><!-- .entry-footer -->
    	<?php endif; ?>
    </article><!-- #post-## -->

    Not sure if I have to change certain elements within both files or what. Again, I’m pretty new to this and any help is appreciated!

    Thread Starter ejlarson

    (@ejlarson)

    Oh, great plugin! Thanks- the only ones I could find were for subheaders/subtitles. The reason I would like to add text after the title is to display an affiliate link disclosure before all of my posts with a link to my full disclosure.
    I just wanted it to appear after the title but before the post content, and be relatively small so as not to distract from the content.

    Thread Starter ejlarson

    (@ejlarson)

    I’m sort of new to this whole thing, so I’m unsure of what I would put or even where I would put it. I’ve tried searching around for how to do it as well-

Viewing 5 replies - 1 through 5 (of 5 total)