Author: Support Admin

Speed Up WordPress With Browser Caching
[ad_1] Browser caching can help to reduce server load by reducing the number of requests per page. By setting the correct file headers on static files that don’t change (like Images, CSS, JavaScript etc) browsers will then cache these files on the user’s computer. This technique allows the browser to check to see if files…

Remove WordPress Generator Meta Tag Completely
[ad_1] By default WordPress adds generator meta tag in website head section. The WordPress generator meta tag displays your website’s WordPress version for anyone to see. It can be considered a security risk to make your WordPress version visible and public. Because you are providing the hacker with the useful information by telling them which…

Limit Search Results For Specific Post Types
[ad_1] If you’re using a lot of custom post types then there are very good chance that your search results are displaying some content that you don’t want to display. Even sometimes you don’t want to include pages in search results too. So here is a simple solution to your problem. Adding this WordPress code…

Add Excerpt Support for WordPress Pages
[ad_1] By default WordPress does not allow excerpt to pages and it’s probably for good reason because normally you will never use it for pages. That’s why WordPress provides no option to add excerpts to pages through the WordPress admin panel but it’s fairly very easy to enable excerpt for pages too, similarly like posts.…

Add link to All Options in WordPress Admin Settings
[ad_1] WordPress have a secret options section that contains all core WordPress settings on one single page. Here’s a quick code snippet to display an “All Options” page to view otherwise hidden data. Just add that code to your theme’s functions.php file and then visit the settings menu in the WordPress admin panel. There you’ll…

Show All Media Attachments to a Post
[ad_1] Prior to WordPress 3.6, we had to run a query to retrieve all media attachments to a specific post. We had to do something like this. // show all WordPress post attachments $args = array( ‘post_type’ => ‘attachment’, ‘posts_per_page’ => -1, ‘post_status’ => ‘any’, ‘post_parent’ => $post->ID ); $attachments = get_posts( $args ); if…

Display Featured Post Thumbnails In WordPress Feeds
[ad_1] WordPress does not allow featured post thumbnails in feeds even if you enable the post thumbnails support. But we have a solution for that. Here is how you can add post thumbnails to your WordPress RSS feeds with a simple function. Just copy and paste this code snippet in your theme functions.php file and…

Show Post Content Only to Logged-In Users
[ad_1] Sometime you want to reward your registered user of your website with a special gift available only to them or maybe you have a important announcement/update for them or you simply want to send a message only to them. To accomplish that, this code snippet below creates a new shortcode with which to wrap…

Encode Email Address With Shortcode
[ad_1] It is generally a bad idea to post your email address in plain text format on your website. It will most likely to get picked up by a spam bot and once it is in the hands of a spammer, your inbox will be filled with spam in no time. WordPress offers a way…

Replace Howdy Admin in WordPress Admin Bar
[ad_1] Although it’s not really a huge deal but some people might want to replace the default welcome message “Howdy, admin” in the WordPress admin bar. To replace “Howdy, admin” in WordPress admin bar, you can use this code snippet below. Using this snippet now, your welcome message will read “Welcome! admin” instead of default…