How To Create WordPress Widgets

  Widget Code: Start by creating a new .php file in your wp-content/plugins directory. Call your file whatever you like, but I’m going with random-post-widget.php Paste the following into the file and save. Feel free to change the section at the top with my name in it, but don’t adjust the rest of the code … Continue reading How To Create WordPress Widgets