Yes, it is dead easy! Ehm, not. It needs a little accuracy by you. And it needs to circumvent the “check upgrade” function to get no new versions of the plugin. Because regardless of having changed the plugin’s code the changes would be overwritten by the next upgrade if the current version is lower than the new version. Think about that.
If you would decide that the current version 4.1 is enough for you you can follow these steps:
- Open the file
widget.php which you can find in the plugin’s subdirectory /includes.
- Go to the line starting with
if ( $show_date ).
- Move the block beginning with that and ending with the next
endif; below the block if ( $show_excerpt ) … endif; ?></li>.
- Move the string
?></li> to the last endif;.
- Open the file
recent-posts-widget-with-thumbnails.php in the plugin’s directory and find the line Version: 4.1. Change the number to a high value. That way the plugin will be stated as newer than the plugin in the WP repository and not overwritten for a long time.
- Save both files and check the result.
Great, also we can put them on the same line and reduce spaces right? Just one more question how to make date clickable with title together ?
Thanks in advance.
Open the widget.php.
Insert the snippet
<?php echo get_the_date(); ?>
between
class="rpwwt-post-title">
and
<?php if ( $post_title =.
In the new plugin Ultimate Post List Pro you can place the post informations to any above/below position and set them clickable. And much more 🙂 You can play around with the free version “Ultimage Post List”, available here in the WP plugin directory.