As a SEO purpose it is a good idea. I am making the category archive page with Elementor theme builder. I shall display the category description below the category title. Here I am sharing my procedure. Adding The Short Description We shall add the short description to every category from Dashboard. Login to Dashboard Navigate… Continue Reading
category archive
Displaying taxonomy description when nothing is entered in intro text box
Category, tags and CPT’s taxonomy archive pages are only showing the intro text. Following code is showing the default WordPress taxonomy description when you are not using the intro text. If you have both (Description and intro text) then intro text will display. Checkout this gists.
Making Category Archive Page in Gallery Format
Step 1: Add this following code in your functions.php file : Step 2: Create a new js file “hover.js” and put in “your-child-theme-folder/js” folder. Now add this scripts into this file:
1 2 3 4 5 6 7 |
jQuery(document).ready(function($){ $(".col-3").hover(function(){ $(this).find('.entry-header').fadeIn(); },function(){ $(this).find('.entry-header').fadeOut(); }); }); |
Step 3: Loading this new JS file on your site using wp_enqueue_scripts function. Add the following php code in your functions.php file. This… Continue Reading