Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • PERFECT! Thanks so much.

    Hi, I’m having the same issue; images pinned on Pinterest are more of a thumbnail than the full post image. How do we resolve this?

    That’s exactly what I was looking for. Worked perfectly! Thank you!

    Ok back in business, but every time I add the code in it breaks the site again, bracket or no bracket. Does it make a difference that this is in my functions.php right now?

    // Replaces the excerpt "more" text by a link
    function new_excerpt_more($more) {
           global $post;
    	return '<a class="moretag" href="'. get_permalink($post->ID) . '"> Read more...</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');
    
    function woo_display_post_image() {
    global $woo_options;
    $display_image = false;
    $width = $woo_options['woo_thumb_w'];
    $height = $woo_options['woo_thumb_h'];
    $align = $woo_options['woo_thumb_align'];
    if ( (is_single() || is_page()) && @$woo_options['woo_thumb_single'] == 'true' ) {
    $width = $woo_options['woo_single_w'];
    $height = $woo_options['woo_single_h'];
    $align = $woo_options['woo_thumb_align_single'];
    $display_image = true;
    }
    if ( get_option('woo_woo_tumblog_switch') == 'true' ) { $is_tumblog = woo_tumblog_test(); } else { $is_tumblog = false; }
    if ( $is_tumblog || ( is_single() && @$woo_options['woo_thumb_single'] == 'false' ) ) { $display_image = false; }
    if ( $display_image == true and !woo_embed('') ) { woo_image('width=' . $width . '&height=' . $height . '&class=thumbnail ' . $align); }
    } // End woo_display_post_image()

    :S I added it and updated the file; the screen went blank and now wordpress admin and my site are not working. I tried to hit the back button on the browser and delete the code I added, clicked update and it’s still blank. What just happened?

    So I managed to add the featured image thumbnails to excerpts (yay!) but I’m not quite sure where to add in the permalink so the images link to their respective posts. Can you show me an example? Here’s what I have:

    <div class="post hentry ivycat-post">
    
    	<!-- This is the output of the post TITLE -->
    	<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    
    	<!-- This is the output of the excerpt -->
    	<div class="entry-summary">
    	<!-- This will output of the featured image thumbnail  -->
    		<div class="featured-image">
    			<?php the_post_thumbnail( array(180,9999), array('class' => 'alignleft')); ?>
    
    		</div>
    		<?php the_excerpt(); ?>
    	</div>
    
    	<!-- This is the output of the META information -->
    	<div class="entry-utility">
    		<?php if ( count( get_the_category() ) ) : ?>
    			<span class="cat-links">
    				<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
    			</span>
    			<span class="meta-sep">|</span>
    		<?php endif; ?>
    		<?php
    			$tags_list = get_the_tag_list( '', ', ' );
    			if ( $tags_list ):
    		?>
    			<span class="tag-links">
    				<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
    			</span>
    			<!--<span class="meta-sep">|</span> -->
    		<?php endif; ?>
    		<!--<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>-->
    		<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    	</div>
    </div>

    Thread Starter lmenara

    (@lmenara)

    That works; I had them as completely separate shortcodes:

    [ic_add_posts category=’category-a’]
    [ic_add_posts category=’category-b’]

    Thanks for clarifying.

    I’d appreciate a step-by-step as well!

    Thread Starter lmenara

    (@lmenara)

    Thank you Eric, that helps!

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