WordPress loads a lot of unnecessary scripts in the header section. Well not really unnecessary – they are useful if you want to use the functionalities provided by these scripts, but in most cases you would not want to use them. These scripts add to page load time which obviously no site owner wants.Continue reading “Remove Unnecessary Scripts from Header in WordPress”
A default WordPress installation comes with a lot of goodies! Among them are some theme settings which makes it easy to customize several key areas in a theme.
These are the key areasContinue reading “Fix – Missing Default Theme Setting Options in WordPress Customizer”
WordPress customizer has several default sections/panels here appearance > customize. While these provide you an option to quickly add settings/options for your theme, they also clutter up the space and in some custom themes these sections/panels may not be required at all.Continue reading “How to remove default sections/panels in WordPress customizer”
This is tested on WordPress 4.2 and 5.2. So it should work on any version in between. It may also work on lower versions as well but i have not tested.
The default widgets on WordPress admin panel are too many. I am talking about the widgets on appearance > widgets page. I had to remove these on a recent project. This guide shows you how to do that.Continue reading “How to Remove Default WordPress Widgets from Admin Screen”
Ok this needs a bit of more explanation. When you create a custom post type in wordpress, the menu link for this custom post type appears at the top-level in dashboard.
For example – i have a custom post type ‘Intros’ which has a menu link at the top level. But what if i do not want this menu link at the top level – but want it as a sub-menu for another top level menu?Continue reading “Custom Post Type Menu as Sub-menu in WordPress Admin Panel”
Bootstrap navigation bar height is dependent on the height and padding of the following elements
- Brand name/logo
- Line height on any element inside the navbar
- Padding on the main navbar element
- Line height and padding on the links
Bootstrap 4 carousel works with image tags inside divisions by default. In a recent project for a client i had to use the background images for the carousel. But after adding the background image paths to the carousel items in stylesheet images did not show up!Continue reading “How to Make Full Screen Image Background Slider Using Bootstrap 4 Carousel”
Woocommerce storefront theme shows as lot of stuff on its default homepage template. Starting with a hero section on the top, it shows categories, new items, recommended, favorites and best sellers. All this can clutter up the homepage. I have created a plugin to fix that.Continue reading “Woocommerce WDV Storefront Homepage Control Plugin”
Navbar height in Bootstrap 4 comes from padding on its link elements and also from padding on the main navbar. To reduce height you need to remove padding on both.Continue reading “How to Decrease the Height of Navbar on Bootstrap 4”
This typically happens when the comment reply form does not show up. So clicking on the reply link/button that appears below each comment takes you to the main post comment form. And any comment posted in that form is by default added to the last row of comments!
By the way, I am not talking about the post comment form, but the form that allows you to reply to each comment on a wordpress post.Continue reading “Fix – WordPress Comment Reply Going Under Last Comment”