Author: Support Admin

Change WordPress Logo on Login Page
[ad_1] WordPress provides their own logo on user registration and login pages but sometimes it is required to replace that with your/client logo especially for branding purpose. You can easily change the default WordPress logo on the Login page with the help of admin_head WordPress action. Here is a simple code snippet that will allow…

Batch Delete Spam Comments With Specific URL
[ad_1] Comment spammers are getting smarter and using latest techniques to fool anti-spam methods. It really does not matter which anti-spam plugins you use on WordPress, you must have noticed that these spam comments are bypassing your full proof system. Every now and then, you will receive bunch of spam comments on your website. If…

Change WordPress Post Autosave Settings
[ad_1] WordPress has a very useful feature which will automatically save your current draft every 30 seconds, as you type and you will not even notice. You can change the time interval settings on how often WordPress auto saves by adding a setting in the wp-config.php file. Let’s say you want to autosave drafts every…

Force Trailing Slash To Requested Urls
[ad_1] Although its personal preference whether you prefer trailing slash at the end of your website URLs or not. But if same webpage content on your website is accessible with two different URLs, one with trailing slash and other without it, then search engines consider it as duplicate content and therefore penalize your website domain…

Prevent Browser Caching Image Files
[ad_1] When you are developing a site, you have to refresh page lot of times and you start to get a pretty good feel for what your browser is going to pick up on a single refresh, and what it won’t. For example, I find that if I overwrite an image file on the server,…

Check If a WordPress User is Logged In
[ad_1] Sometimes you want to show different content within WordPress based on whether a WordPress user is logged in or not. WordPress provides a simple way to perform this check with is_user_logged_in tag. It returns boolean true or false value and with the help of this tag, we can create unique messages for members, add…

Protect .svn Folders From Public Access
[ad_1] If you use WordPress with Subversion (svn) then you will probably notice .svn (metadata) folders on your server. These folders are used by the Subversion client to keep track of changes and determine what files need to be updated when getting the latest versions. They also contain information about what SVN server you are…

Set Minimum Word Count to Publish Post
[ad_1] If you’re running a WordPress blog with multiple authors, then it’s important for you to maintain your blog’s content quality. With WordPress, you can restrict your authors to publish a post without having enough content. Here is a code snippet that lets you set a minimum word count for your WordPress posts. You can…

Disable WordPress Admin Bar for All Users Except Admins
[ad_1] By default, each registered user has the option of showing the Admin Bar on the frontend and/or back-end of the website. And user can change these preferences, just by visiting Users > Your Profile and choose to show/hide admin bar. Although it’s nice to have for some users but sometimes you don’t want to…

Display All WP Query Variables in WordPress
[ad_1] When developing a WordPress theme or plugin, it may be very useful to be able to output all WP Query variables. Here is a simple code snippet to do it easily. Paste the code below on any files, where you’d like to display the WP Query variables. <?php // display all wp query variables…