{"id":2846,"date":"2021-06-25T09:54:29","date_gmt":"2021-06-25T13:54:29","guid":{"rendered":"https:\/\/thewpgeek.com\/?p=2846"},"modified":"2021-06-28T05:24:10","modified_gmt":"2021-06-28T09:24:10","slug":"create-a-theme-plugin","status":"publish","type":"post","link":"https:\/\/thewpgeek.com\/create-a-theme-plugin\/","title":{"rendered":"Create a Theme Plugin"},"content":{"rendered":"\n
One of the basics I would often find myself doing is creating an advanced “latest posts” plugin, mainly so I could style the latest posts widgets a little nicer. This tutorial will show you how to create this plugin, and will give you some ideas to styling the sidebar.<\/p>\n\n\n\n
First, navigate to your plugins folder and create a new folder, I’m calling it a generic “site-code”. If you are following this tutorial exactly and are using Bedrock skip down to the yellow note below. <\/p>\n\n\n\n