Simply paste this code into your function.php file. Edit lines 4 and 5 at your convenience. function wps_change_role_name() { global $wp_roles; if ( !isset( $wp_roles ) ... Read More
Put the function below in your functions.php file, then use it inside the loop in your template files. function get_link_url() { $content = get_the_content(); $has_url = ... Read More
Just add the following snippet to the functions.php file of your WordPress theme and specify the post or page ID desired. function wps_force_ssl( $ force_ssl, $ ... Read More
To implement, simply include this script at the top of your theme’s 404.php file. If your theme don’t have a 404.php file, then create it. <?php ... Read More