Create a script (replacing the variables as necessary) and run it to replace ALL instances of (in this case) “star.jpg” to “star.png” <?php // CHANGE […]
Set First Image In WordPress Post As The Featured Image
Add the following code to your functions.php file. To run it, simply visit any page on the site – DO NOT USE THIS CODE ON […]
Reset All TCP/IP Ports
I recently started running into a problem when using XAMPP webserver to develop site locally. Occasionality the MYSQL service wouldn’t start due to a blocked […]
Add Custom Content & Read More Link To WordPress RSS Feed
In your functions.php file add in the following code // Customize the content of the custom RSS feed function custom_rss_item($content) { global $post; // Build […]
Add Your Own Code Formatting In The Classic Editor With TinyMCE
If you want to add custom formatting to your content but don’t want to have to go into the HTML view and manually type it […]
Add Open Graph Tags To Your WordPress Site
If you want to add Open Graph tags to your site and you don’t want to use a plugin or have more options on customising […]
Add A Canonical Link To Your WordPress Header
WordPress doesn’t generate a <link rel=”canonical” href=”http://www.yoursite.com”> by default. This can cause issues with Google not indexing your page or indexing an incorrect canonical URL. […]
Create A WordPress Child Theme
In order to create a Child theme we need to add a minimum of two files Create a new folder which will hold your child […]