Support » Plugin: Recent Posts Plus » [Plugin: Recent Posts Plus] Show a No posts message

  • Resolved Aleph22


    Thanks a lot for the great plugin. It does exactly what i needed, except for one small thingy, which i guess is probably easily solved, although being a PHP newbie, i dont know how…

    At the moment when there are no posts in the category chosen, the widget shows no content (which is correct of course, but I’d like to replace this nothing with a somthing: f.e. A message saying: Sorry no content available at this moment, come back later.

    Is it possible to do this?

    I’d really appreciate any help

Viewing 1 replies (of 1 total)
  • Got it!

    just opened recent-post-plus.php in the plug-in folder and added the following code above wp_reset_postdata(); on line 211:

    echo 'No posts at the moment';

    Simple solution, hope it might be of some help to someone else in the future.


Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Recent Posts Plus] Show a No posts message’ is closed to new replies.