{"id":82,"date":"2020-01-28T09:43:22","date_gmt":"2020-01-28T09:43:22","guid":{"rendered":"https:\/\/www.oxilabdemos.com\/image-hover\/docs\/hover-extension\/filter-sorting\/"},"modified":"2020-03-29T14:53:24","modified_gmt":"2020-03-29T14:53:24","slug":"filter-sorting","status":"publish","type":"docs","link":"https:\/\/www.oxilabdemos.com\/image-hover\/docs\/hover-extension\/filter-sorting\/","title":{"rendered":"Filter &#038; Sorting"},"content":{"rendered":"<h1 style=\"text-align: center;\">Filter &amp; Sorting<\/h1>\n<hr \/>\n<p style=\"text-align: center;\"><em><strong>\u00a0Filter &amp; Sorting is a simple filtering and sorting extension for WordPress in the Image Hover Ultimate. It is an advancement of the WordPress gallery. You can display the posts or your photo gallery by sorting a filterable way. This image hover extension allows users to filter posts by category, tags, post types, etc. Now, let&#8217;s see how to use this extension and embed Filter &amp; Sorting items within your pages\/posts:<\/strong><\/em><\/p>\n<p>&nbsp;<\/p>\n<h2>Creating a New Filter &amp; Sorting<\/h2>\n<p>First, navigate <strong>Image Hover&gt; Image Hover&gt; Extension&gt;Filter &amp; Sorting <\/strong>from your dashboard.<\/p>\n<p>&nbsp;<\/p>\n<p>Then, create a new Filter &amp; Sorting Style by clicking on the Create Style button like below<\/p>\n<p><a href=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_1-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2838\" src=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_1-2.png\" alt=\"\" width=\"1170\" height=\"619\" srcset=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_1-2.png 1170w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_1-2-300x159.png 300w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_1-2-1024x542.png 1024w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_1-2-768x406.png 768w\" sizes=\"auto, (max-width: 1170px) 100vw, 1170px\" \/><\/a><\/p>\n<h2><\/h2>\n<h2>Adding &amp; Customizing the Data<\/h2>\n<p>Now, after you create a new Filter &amp; Sorting, it&#8217;s time to go further and add\/style data to your extensions. Let&#8217;s start this section:<\/p>\n<h3>Add New Data to the Filter &amp; Sorting Items:<\/h3>\n<p>At the top left corner, click on the + symbol (Add New Data) to adding new data to the items from image hover elements. The following info you&#8217;ll need to input in order to get perfect data to show:<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Title:<\/strong> Set Title For repeating your Category Data.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Image Hover Shortcode:<\/strong> Add an Image Hover Shortcode here. After saving, kindly reload to loading CSS or JS data properly.<\/p>\n<p style=\"padding-left: 40px;\"><label class=\"shortcode-form-control-title\" for=\"\"><strong>\u21d2Category Select:<\/strong> Select the Category for your Shortcode to define which category this shortcode will be in.<\/label><\/p>\n<div class=\"shortcode-form-control-input-wrapper\">\n<div><\/div>\n<div class=\"shortcode-form-control-input-select-wrapper\">After adding a valid element&#8217;s shortcode to the extensions, the preview shall look like this,<\/div>\n<div><a href=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_5-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2845\" src=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_5-2.png\" alt=\"\" width=\"1277\" height=\"511\" srcset=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_5-2.png 1277w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_5-2-300x120.png 300w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_5-2-1024x410.png 1024w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_5-2-768x307.png 768w\" sizes=\"auto, (max-width: 1277px) 100vw, 1277px\" \/><\/a><\/div>\n<\/div>\n<p><strong>Note:<\/strong> Here, I&#8217;ve added my own preferred shortcode for a single category. So the end result is like this. Yours may look different than me as your shortcode will be different.<\/p>\n<h3><\/h3>\n<h3>General Settings<\/h3>\n<p><span style=\"text-decoration: underline;\">\u039eCategory Menu-<\/span> Here in this section, you can define the parent category for the filtering and add categories to the gallery.<\/p>\n<p><a href=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2839\" src=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_2-1.png\" alt=\"\" width=\"1297\" height=\"612\" srcset=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_2-1.png 1297w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_2-1-300x142.png 300w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_2-1-1024x483.png 1024w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_2-1-768x362.png 768w\" sizes=\"auto, (max-width: 1297px) 100vw, 1297px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Parent Category:<\/strong> Here at the very first in the settings panel, you can select your parent category for the filter and sorting items. For instance, if you select Image as the parent, then the image category will remain active by default.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Add New Category:<\/strong> Add a new category or edit\/delete an existing category according to your needs.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">\u039eItems Data Settings-<\/span> In this section, you can customize the data in the filter and sorting items.<\/p>\n<p><a href=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_3-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2840\" src=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_3-2.png\" alt=\"\" width=\"972\" height=\"501\" srcset=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_3-2.png 972w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_3-2-300x155.png 300w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_3-2-768x396.png 768w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Column Size: <\/strong>Set how many columns you want to show in a single row. Set the options for different dimensions to get the maximum responsiveness.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Item Padding:<\/strong> Set the padding value for the top, right, bottom and left around the item&#8217;s data for different dimensions. You can link the values together or customize them individually.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Margin:\u00a0<\/strong>Set the margin value for the top, right, bottom and left around the item&#8217;s data for different dimensions. You can link the values together or customize them individually.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">\u039eMenu Style-<\/span> And this option is for customizing the menu of the filter and sorting items.<\/p>\n<p><a href=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_4-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2841\" src=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_4-2.png\" alt=\"\" width=\"1001\" height=\"621\" srcset=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_4-2.png 1001w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_4-2-300x186.png 300w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_4-2-768x476.png 768w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Menu Align:<\/strong> Customize the alignment of the filter and sorting menu, either left, center or right.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Typography:<\/strong> Set the typography options for the filter menu button texts. Here you can customize the font-family, font size, decoration, and styles.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Width Mode: <\/strong>Set the width mode of the filter and sorting menu. If you select static, then manually customize the width of the menu. Or if you select dynamic, then the width will be set dynamically by default.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Color:<\/strong> Add a custom color to the filter menu in the gallery for normal, hover, and active views.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Background Color:<\/strong> Add a custom background color to the menu for both normal and hover. Know more about <a href=\"https:\/\/www.oxilabdemos.com\/image-hover\/docs\/customization\/background\/\" target=\"_blank\" rel=\"noopener noreferrer\">Background Color<\/a>.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Border Type:<\/strong> Here, select a border type from the list according to your preference. And then set the border width for the top, right, bottom and left of the filter and sorting menu for different dimensions. You can link the values together or customize them individually.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Border Color:<\/strong>\u00a0Add a custom color to the border for both normal and hover view.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Box Shadow:\u00a0<\/strong>Customize the box-shadow color, set the horizontal and vertical value of the shadow, control the blur radius and spreading, and set the position either outline or inset. Know more about <a href=\"https:\/\/www.oxilabdemos.com\/image-hover\/docs\/customization\/box-shadow\/\" target=\"_blank\" rel=\"noopener noreferrer\">Box-Shadow<\/a>.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Border Radius:<\/strong> Set the border-radius around the menu for different dimensions.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Padding:<\/strong> Set the padding value for the top, right, bottom and left around the menu for different dimensions. You can link the values together or customize them individually.<\/p>\n<p style=\"padding-left: 40px;\"><strong>\u21d2Margin:\u00a0<\/strong>Set the margin value for the top, right, bottom and left around the menu for different dimensions. You can link the values together or customize them individually.<\/p>\n<h2 style=\"padding-left: 80px;\"><\/h2>\n<h3>Custom CSS<\/h3>\n<p>Here you&#8217;ll find a box where you can add your custom CSS code. Advanced developers can use this option for their convenience. After entering the codes, developers can see the live preview by reloading the page.<\/p>\n<p>Once you finish coding hit the &#8220;Save&#8221; button to make your changes.<\/p>\n<p><a href=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2672\" src=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_18.png\" alt=\"\" width=\"851\" height=\"354\" srcset=\"https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_18.png 851w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_18-300x125.png 300w, https:\/\/www.oxilabdemos.com\/image-hover\/wp-content\/uploads\/2020\/01\/Screenshot_18-768x319.png 768w\" sizes=\"auto, (max-width: 851px) 100vw, 851px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><em><strong>Now, just Copy the Shortcode and Paste anywhere in the post or page or plugins where you want to show the Filter &amp; Sorting.<\/strong><\/em><\/p>\n<hr \/>\n<p style=\"text-align: center;\">\n","protected":false},"featured_media":0,"parent":53,"menu_order":2,"template":"","doc_tag":[],"class_list":["post-82","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.oxilabdemos.com\/image-hover\/wp-json\/wp\/v2\/docs\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oxilabdemos.com\/image-hover\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.oxilabdemos.com\/image-hover\/wp-json\/wp\/v2\/types\/docs"}],"version-history":[{"count":5,"href":"https:\/\/www.oxilabdemos.com\/image-hover\/wp-json\/wp\/v2\/docs\/82\/revisions"}],"predecessor-version":[{"id":2846,"href":"https:\/\/www.oxilabdemos.com\/image-hover\/wp-json\/wp\/v2\/docs\/82\/revisions\/2846"}],"up":[{"embeddable":true,"href":"https:\/\/www.oxilabdemos.com\/image-hover\/wp-json\/wp\/v2\/docs\/53"}],"wp:attachment":[{"href":"https:\/\/www.oxilabdemos.com\/image-hover\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.oxilabdemos.com\/image-hover\/wp-json\/wp\/v2\/doc_tag?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}