Featured Image URL
The following snippet will give you just the url for the featured image without wrapping it in any tags. Code credit to: http://www.wpbeginner.com/wp-themes/how-to-get-the-post-thumbnail-url-in-wordpress/
The following snippet will give you just the url for the featured image without wrapping it in any tags. Code credit to: http://www.wpbeginner.com/wp-themes/how-to-get-the-post-thumbnail-url-in-wordpress/
The following snippet added to your htaccess file will block referral spam from accessing your site. # Block fake traffic RewriteEngine on Options +FollowSymlinks RewriteCond %{HTTP_REFERER} ^https?://([^.]+.)*savetubevideo.com [NC,OR] RewriteCond %{HTTP_REFERER}…
Here is how to setup a custom Wordpress excerpt function with the following criteria: This will allow you to limit the amount of characters displayed in the excerptWhile limiting the…
The following code placed in functions.php will add placeholder text to your gravity forms: // Gravity Forms Placeholder Text ------------------------------- /* Add a custom field to the field editor (See…
The following snippet can be used to show content only to users who are currently logged in. if ( is_user_logged_in() ) {?> This will be shown to logged in users…