WordPress.org

Ready to get started?Download WordPress

Forums

How to wrap timthumb around this code (1 post)

  1. rina20
    Member
    Posted 4 years ago #

    Hello i would like to wrap this code with timthumb.php

    <div class="entry-content">
    					<?php childtheme_post_header() ?>
                        <a href="<?php echo the_permalink() ?>"><span class="slide-title"><?php echo the_title(); ?></span>
                        <img class="thumbnail" src="<?php if(get_post_meta($post->ID, 'thumbnail', $single = true)){echo get_post_meta($post->ID, 'thumbnail', $single = true);} else{bloginfo('url'); echo "/wp-content/themes/gallery/images/thumbnail-default.jpg";} ?>" width="125" height="125" alt="<?php echo the_title() ?>" /></a>
    				</div>

    can anyone help me?

Topic Closed

This topic has been closed to new replies.

About this Topic