Adding taxonomy filter to big title section
-
Hello,
I’m trying to add the plugin, beautiful taxonomy filters, just under the big title of the Zerif Lite template, so that the main page would look something like the AirBnB page, with the search bar right underneath the main title on the landing page.Where in the php file should I put the code for the ‘beautiful taxonomy filters’?
The plugin’s explanation for how to use it is below.I saw this forum, but couldn’t figure out how that would apply to the taxonomy filter.
Thank you!
——————————————————————
How to use Beautiful Taxonomy FiltersSelect the post types you want to use the filtering on.
Note: if the post type aren’t connected to one or more taxonomies you wont see any results.Exclude any taxonomies you don’t want the users to be able to filter on.
Note: Only affects taxonomies that are connected to post types you have selectedSave Changes.
success! Your previously ugly taxonomy filtering is now oh so beautiful!
To use the dropdown filter module you can either use the widgets, automagic feature or copy:
<?php if(function_exists(‘show_beautiful_filters’)){ show_beautiful_filters(); } ?>
and paste it in your archive.php file in your template. It should be placed somewhere above
<?php if( have_posts() ) : ?>
Note: The layout of archive.php may differ drastically between different themes. We can’t help you with the placement of the function in your theme so just try some locations (you can just remove the function again if something breaks) or ask in your themes support forum. Best of luck!To show the active filter info either use the widgets, automagic feature or copy:
<?php if(function_exists(‘show_beautiful_filters_info’)){ show_beautiful_filters_info(); } ?>
to wherever you want the filter info to appear.
- The topic ‘Adding taxonomy filter to big title section’ is closed to new replies.