Viewing 2 replies - 16 through 17 (of 17 total)
  • Joe B

    (@joelogic)

    For the wootheme that I am using, I put this in the wpfp-page-template.php:-

    [Code moderated as per the Forum Rules. Please use the pastebin]

    also added the target so that the link opened in a new tab/page.

    I am not really a coder, but another thing that would good is showing images/thumbnails in the ‘Most Favorited’ widget, can’t seem to get that to work, anyone have any ideas?

    How do i llink my image to a post?

    echo "
    <ul>";
        if ($favorite_post_ids):
    		$favorite_post_ids = array_reverse($favorite_post_ids);
            foreach ($favorite_post_ids as $post_id) {
                $p = get_post($post_id);
                echo "<div class='postContent'>";
                echo get_the_post_thumbnail ( $post_id,'smallthumb' );
    			echo "";
    	    echo "<a href='".get_permalink($post_id)."'>post_title ."'>" . $p->post_title . "</a> ";   ' </ul>
Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘[Plugin: WP Favorite Posts] Can I sjow Images?’ is closed to new replies.