Support » Plugins » [Plugin: Advanced Most Recent Posts Mod] – Maintaining Image when Hide Post Titl

  • Is there a way of keeping the image (Thumbnail) in place once the ‘Hide post title?’ option has been ticked. (If you tick the ‘Hide post title?’ option, it also hides the image).

    I find that if you have text (title) with a small image it displays to the left; but if you make the image large enough it displays underneath. (I want to use small images with either no title or the text underneath).

    Please advise.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I had the same issue with this plugin and hacked it. If you find this line around line 455:

    if (!$hideposttitle) $postlist .= '<a href="' . get_permalink($post->ID) . '" title="'. $post_title .'" >' . $image . $post_title .'</a>';

    and replace it with:

    if (!$hideposttitle) {
    	$postlist .= '<a href="' . get_permalink($post->ID) . '" title="'. $post_title .'" >' . $image . $post_title .'</a>';
    } else {
    	$postlist .= '<a href="' . get_permalink($post->ID) . '" title="'. $post_title .'" >' . $image . '</a>';

    so if hide post titles is set to true it displays an image link instead of nothing.

    Thanks for the response. I resolved it the easy way. I stopped using the plugin. :0)

    YD recent posts widget will do what you need without any hacking but i needed multiple instances which it doesn’t do.

    Same issue. Took me me two hours to find out why because i am currently a learner. Just wanted to post exactly the same Hack but neon was 15 hours faster :o). I also tried YD but struggeled when trying to align the thumbs horizontally and hiding the post title.

    Kailey (trepmal)


    Volunteer Mod & Reviewer

    I’ve actually just released a new plugin based on this one that has better options. AMRP’s widget options are getting a bit unruly…

    Easier to specify what elements (title, excerpt, image…) should be used and where they should go.

    Please keep in mind that the new version is, well, new. So please be kind and report bugs.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Advanced Most Recent Posts Mod] – Maintaining Image when Hide Post Titl’ is closed to new replies.