Custom widget.php file | WordPress.org

[ad_1]

Thank you for reaching out.

I guess you want to request an option to change the html structure of the output of Recent Posts Widget With Thumbnails, right? You can manipulate the layout through custom CSS. I’m sorry to inform you that I don’t include a template system to Recent Posts Widget With Thumbnails.

Recent Posts Widget With Thumbnails is open source and you are invited to add this feature yourself and I would be happy if you submit a pull request to make the feature available to the entire community.

Thank you for your understanding.

With CSS something is achievable but the date/author is in another container so put the title with the date/author just below that, with the image on the left and this text on the right is not easy to achieve.

I was thinking more like https://developer.projectdmc.org/reference/functions/locate_template/ in the plugin code that check if inside the theme there is a file to load it instead of the new provided with the plugin.

I understand your request but this would result in a complete rewrite of the output engine of Recent Posts Widget With Thumbnails. That’s why I don’t want to implement this. Not even since this is the first request. And the risk that all other users will be negatively affected by it does not outweigh the benefit for the community. The majority of users would never use such a feature. But as I wrote, you are invited to add the feature yourself.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer