Wpicode

Wpicode supports this item

Supported

This author's response time can be up to 1 business day.

Popular questions for this item

How to remove a filter that is added automatically as a custom post type taxonomy?

You can use CSS to do that, since every filter carries the slug of the taxonomy. For example the post_format taxonomy would have the following class you need to hide:

.sortable-drop-post_format {display:none; }

How are filters loaded?

Every post type can have many taxonomies register to it. For example, products may have shipping classes, discounts etc.

You can see the filter slug in the address bar (url) just after the taxonomy parameter. For example: /wp-admin/edit-tags.php?taxonomy=portfolio_skills&post_type=avada_portfolio

All filters are loaded with the post type you select with the post_type attribute in the sortable shortcode.

How to select a default category?

If you want to select a filter by default you can use the following solution – change line 20 in tags-categories-sortable.php:

$categoriesList =’<script>jQuery(document).ready(function(){ jQuery(\’#category\\\\*10\’).click(); });</script>’;

WHERE “category” is the taxonomy slug and “10” is the id of the term. To get the id look at the link in the WP admin area, in categories/tags/formats. You should get something like wp-admin/edit-tags.php?action=edit&taxonomy=category&tag_ID=10 The tag_ID property is the id of the term.

Is it possible to only show certain categories in the sort instead of showing every category?

Yes you can see the id of the category (in the example is 7) you want to hide and then do something like:

#category\*7 { display:none; }

Then repeat the same for all categories you want to hide (if not too many) and include it in the CSS.

If you have too many categories you can just hide all categories then show the ones you want to be displayed:

ul.sortable-taxonomy-ul li {display:none;}
ul.sortable-taxonomy-u #category\*7 { display:inherit; }

Show more

Contact the author

This author provides limited support for this item through this item's comments.

Item support includes:

  • Availability of the author to answer questions
  • Answering technical questions about item’s features
  • Assistance with reported bugs and issues
  • Help with included 3rd party assets

However, item support does not include:

  • Customization services
  • Installation services

View the item support policy

by
by
by
by
by
by