Category: Wordpress Snippets

Remove Default Image Thumbnail Sizes in WordPress
[ad_1] When you upload an image to WordPress, it automatically crops uploaded image to a number of extra sizes. By default, WordPress generates three different sizes Thumbnail, Medium Size and Large Size. You can take benefit of these different size auto generated images by using them on different sections of your website. For example you…

Change Title Attribute of WordPress Login Logo
[ad_1] In Previous articles, we have seen how to change the WordPress logo on login page and also how to remember me checkbox checked by default. In this article we will discuss how we can change title attribute of WordPress logo on login page. It’s really very easy to change title attribute of WordPress logo…

Disable Dashboard Access for All Regular Users
[ad_1] Have you ever wanted to prevent your visitors from accessing wp-admin or WordPress dashboard? There is a couple of reasons why you would want to disable access to wp-admin folder or disable dashboard access in general for regular users. Some websites allow commenting only for registered users but after the user is signed on…

Display Most Recent Comments in WordPress
[ad_1] In previous articles we have shown you how to display most commented blog posts and today we will discuss about displaying recent comments in WordPress. WordPress comes with a recent comments widget out of the box. Although it’s very handy, but on the other hand does not give you much freedom in terms of…

Add A Favicon To Your WordPress Website
[ad_1] Favicons, short for favorite icons, are a small but significant part of branding a website. They are used to display a 16×16 or 32×32 pixel image before the page title in your browser window. Favicons are also used for bookmarks in browsers and touchscreen devices. Favicons not only make your blog look more professional,…

Disable Email Notification For Successful Updates
[ad_1] In version 3.7, WordPress introduced automatic background WordPress updates. We recently posted about disabling automatic updates in WordPress for security reasons but if you really like the idea of automatic background updates then how to enable automatic updates for major WordPress releases. When WordPress updates its core, it sends an email notification to the…

Add Read More Link to WordPress Post Excerpts
[ad_1] The WordPress Excerpt is an optional summary or description of a post; in short, a post summary. One of the wonderful thing about Excerpt is that it replaces the full content in RSS feeds when the option to display summaries is selected in reading settings. Usually bloggers use excerpts on post stream and archive…

Check if Certain Plugin is Active in WordPress
[ad_1] While developing a theme or a plugin, we sometimes need to check if a particular third-party plugin is active and only perform certain actions if it is. This might be due to my customization adding some extra functionality on top of the other plugin. Therefore it doesn’t make sense to have my customization active…

Change Pages Link to Display Published Pages Only
[ad_1] In previous articles we have seen ways to remove submenu items and add link to all options in WordPress admin, In this article we will see how to change pages link in WordPress menu to display published pages. By default, Pages link in WordPress admin dashboard shows a list of all pages, no matter…

Completely Disable Sidebars in WordPress
[ad_1] Sidebar is a theme feature introduced with WordPress Version 2.2. It’s basically a vertical column provided by a theme for displaying information other than the main content of the web page. Themes usually provide at least one sidebar at the left or right of the content. These sidebars usually contain widgets that an administrator…