You can add default WordPress Categories and Tags taxonomies to Custom Post Types through passing taxonomies parameters to arguments. In previous article we had learnt how to create CPT using code in functions.php. Here I will explain how can you use WordPress default built-in taxonomies like Categories and Tags with those CPT.
Tag » Functionality
Screen Options Not Working in WordPress Dashboard
Screen Options Not Working / Saving in WordPress Dashboard is a very irritating problem. Once you update / save any screen option and it doesn’t work at all. Or does only once and fails on next page reload.
Modal as Popup or Direct as Page Content in Bootstrap
We always use Modal as Popup in Bootstrap. But just with a little PHP & CSS, we can use it direct as page content. It’s useful when we want modal to behave as expected, popup at most of pages in our Bootstrap 4 powered web application. But wish to put it directly on a particular page with same content on popup.
Outlook HTML Email Templates – Right Way to Add & Configure
Configuring HTML Email Templates in Outlook gives you power to send branded emails to your clients in lesser time through HTML email templates. From my perspective, it’s now been required to add & configure email templates in outlook and use them for your business.
Add Target, CSS Class, Title or Rel to WordPress Menu
You can easily add Target, CSS Class, Title, Rel or even some description to a WordPress Menu. Defining target, CSS class, adding title or rel (relation) attribute to navigation links in WordPress menu is already given under Appearance > Menus which makes you have more control over nav items.
Caching in WordPress to Store Data – Transients API
Caching in WordPress using Transients API can store the data which have an expiration time. After the data has expired or not available, we can run code to grab data and catch it again. Transients API in WordPress makes caching process very easier to store a data for limited time.
Mega Menu – Multi Column Container in Bootstrap 4 Nav Dropdown
Want to convert a Bootstrap 4 nav menu dropdown to a multi column container or mega menu? Or need a navbar that breaks navigation links into responsive Bootstrap 4 columns, even in WordPress. Check the attached image to know what I have meant.
Handy Function to check if jQuery Datatable exists
jQuery Datatable is a powerful jQuery plug-in used to display the data in listing at front-end. These datatables handle our data to show in a user friendly manner and provide lot of features to use like sorting, searching, paging, and export to different types of file and print. jQuery datatable provides all these features in very user-friendly and easier to use manner. But while using such DataTable, first we need to check if that jQuery DataTable instance exists or not.
English to Hindi Translation – Google Translation API
Nowadays English to Hindi translation is common practice. Many tools are available online which makes translations easy. At many of social medias also, people use to write in hi-English which is mostly in practice to India. Here I am describing steps to do English to Hindi translation in our web application using Google Language Translation API.
WordPress Pagination in Bootstrap 4 Style – Function
I’m submitting a quite handy function to apply WordPress Pagination in Bootstrap 4 Style. This function contains First/Last, Previous/Next, Current and total number of pages. You can use the code for pagination in your Bootstrap 4 powered WordPress theme. It works with Custom Post Types and hides First/Last, Previous/Next texts on small devices (viewport width < 768 px)