The nl2br PHP function can be used to convert \n \r 'line breaks' to HTML <br> line breaks. It will correctly handle the variations of \r\n \n\r \n \r How…
The following code shows how to create a shortcode which will load and display an external file. This can be used anywhere shortcodes are supported - for example posts, pages,…
Problem wget is a server side application use to run remote requests. It's commonly used in a 'cron job' - to schedule running a webpage - for example, triggering a…
Microsoft Word has the ability to restrict a document so only existing styles can be applied to content - with no specific formatting like "bold". The steps below show how…
By default WordPress displays a toolbar (known as the admin bar) on all pages when users are logged in. This isn't necessary for a lot of WordPress sites, for example…
When you need to run custom PHP code on your WordPress site often you're instructed to add it to the active theme’s functions.php file. The issue with this is that…
The following steps show up to install future release versions of WordPress. This is usually done for testing purposes and should never be done on a production WordPress site. If you…
The easiest way to see the current upload limit in WordPress is to: Login into the WordPress administration (wp-admin) for your website Go to 'Media' -> 'Add new' The upload limit will…