Pro Tuts

Adding expend/collapse effect in WP Categories Widget

This functionality will be very useful for those users who have long parent-sub category list on his/her site. WordPress have default Categories widget. I am adding the toggle effect there and hiding the all sub categories. Clicking on the “+” icon respective sub categories will expend. Just following the bottom steps and achieve this functionality.… Keep Reading about Adding expend/collapse effect in WP Categories Widget

Uploading featured image to terms of selected taxonomies

Without any plugin you can add the thumbnail or featured image to every terms of selected taxonomies. I did following functionality: Creating a user interface at Genesis Theme Settings page. Enable the featured image option for terms of selected taxonomy Adding a new field in Add/Edit terms form Saving the attachment for terms Step 1:… Keep Reading about Uploading featured image to terms of selected taxonomies

[Genesis Portfolio Pro] How to change the portfolio post type slug?

In lib/post-types-and-taxonomies.php file you will get this line: There have no filter for it. Still you can alter the portfolio slug without modify the plugin’s file. See the steps below: Step 1: Add the following php scripts in your functions.php file. Before editing the file you will keep a backup. Step 2: Navigate to Dashboard… Keep Reading about [Genesis Portfolio Pro] How to change the portfolio post type slug?

Changing the WooCommerce loop columns number based on selected layout

By default WooCommerce is showing the 4 products per row on shop or product category archive page. I am changing this default columns loop based on selected Genesis layout. 4 Columns for full width layout 3 Columns for sidebar-content or content-sidebar layout 2 Columns for content-sidebar-sidebar, sidebar-sidebar-content or sidebar-content-sidebar layout Step 1: Add the following… Keep Reading about Changing the WooCommerce loop columns number based on selected layout

Displaying the authors list of current category’s posts

Displaying the authors list of current category’s posts on category archive page. It is listing below the entry content. Here is the snippet: Explaining the above code: 18-19: Return early if user is not visiting the category archive page. Checking this using is_category() conditional tag. 22: Saving the queried object in a variable $term_obj. Using… Keep Reading about Displaying the authors list of current category’s posts

Adding toggle search form using Parallax PRO Theme

Step 1: Add search Dashicons into main navigation. Navigate to Appearance > Menus and add a custom menu “Search“. Now expend “Screen Options” section and check the “CSS Classes” checkbox. Again expend the “Search” menu and add “toggle-search” css in CSS Classes text field. Now save your menu. Step 2: Adding following CSS in style.css… Keep Reading about Adding toggle search form using Parallax PRO Theme