{"id":595,"date":"2020-05-27T16:17:47","date_gmt":"2020-05-27T16:17:47","guid":{"rendered":"https:\/\/directorist.com\/docs\/?post_type=wpwax_dservice&#038;p=595"},"modified":"2020-06-01T07:07:21","modified_gmt":"2020-06-01T07:07:21","slug":"badges-styling","status":"publish","type":"wpwax_dservice","link":"https:\/\/directorist.com\/documentation\/dservice\/customization\/badges-styling\/","title":{"rendered":"Badges Styling"},"content":{"rendered":"<div id=\"eckb-article-content-header\">\n<h1 id=\"12167\" class=\"eckb-article-title kb-article-id\">Badges<\/h1>\n<\/div>\n<div id=\"eckb-article-content-body\">\n<div id=\"kb-article-content\">\n<p>You can display nice badges for different types of listings. For example, you can display a badge for featured listings and a badge for new listings, etc. Please go to\u00a0<strong>Directory Listings \u2192\u00a0Directory Settings \u2192 Badge Setting<\/strong>\u00a0Page to customize all badges.<\/p>\n<figure id=\"attachment_2311\" class=\"wp-caption aligncenter\" aria-describedby=\"caption-attachment-2311\"><a href=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/04\/Badges-settings.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2311 lazyloaded\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/04\/Badges-settings.jpg\" alt=\"Badges settings\" width=\"1085\" height=\"955\" data-lazy-src=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/04\/Badges-settings.jpg\" data-was-processed=\"true\" \/><\/a><figcaption id=\"caption-attachment-2311\" class=\"wp-caption-text\">Badges settings (Click on the image to see the full size)<\/figcaption><\/figure>\n<h2>Displaying Badges<\/h2>\n<p>You can display badges for the new listings, featured listings, and popular listings. You need to set the Display Badge option to YES to display the badge. Check out the short description of all options related to displaying badges below.<\/p>\n<ol>\n<li><strong>Display New Badge<\/strong>: Set this option to\u00a0<strong>YES<\/strong>\u00a0to display a badge for the new listings on your site. You can hide the badge for the new listings by setting this option to\u00a0<strong>NO<\/strong>.<\/li>\n<li><strong>New Badge Text<\/strong>: You can modify the text for the new listing badge in this option field. The default text is \u2018<strong>New<\/strong>\u2018.<\/li>\n<li><strong>New Badge Duration in Days<\/strong>: Set the number of days a listing should be considered as new after publishing. For example, if you set 2 in this option field, it means any listing which is NOT older than 2 days will be considered as new and a badge will be displayed for that listing.<\/li>\n<li><strong>Display Featured Badge<\/strong>:\u00a0Set this option to\u00a0<strong>YES<\/strong>\u00a0to display a badge for the featured listings on your site. You can hide the badge for the featured listings by setting this option to\u00a0<strong>NO<\/strong>.<\/li>\n<li><strong>Featured Badge Text<\/strong>: You can modify the text for the featured listing badge in this option field. The default text is \u2018<strong>Featured<\/strong>\u2018.<\/li>\n<li><strong>Display Popular Badge<\/strong>:\u00a0Set this option to\u00a0<strong>YES<\/strong>\u00a0to display a badge for the popular listings on your site. You can hide the badge for the popular listings by setting this option to\u00a0<strong>NO<\/strong>.<\/li>\n<li><strong>Popular Badge Text<\/strong>: You can modify the text for the popular listing badge in this option field. The default text is \u2018<strong>Popular<\/strong>\u2018.<\/li>\n<li><strong>Popular Based on<\/strong>: You can decide when a listing should be considered as a popular listing in this option. You can tell the Directorist to consider a listing as popular in one of the three ways.\n<ul>\n<li><strong>View Count<\/strong>: If you select this option, Directorist will consider a listing as popular based on how many users view that listing. You can tell Directorist after how many views a listing should be considered as popular.<\/li>\n<li><strong>Average Rating<\/strong>: If you select this option, Directorist will consider a listing as popular based on average ratings of that listing. You can tell Directorist the minimum number of average rating required for a listing to be considered as popular.<\/li>\n<li><strong>Both<\/strong>: If you select this option, Directorist determines popular listings based on the total views and\u00a0an average rating of a listing.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Threshold of Views Count<\/strong>:\u00a0You can tell Directorist after how many views a listing should be considered as popular in this option. For example, if you set 100 in this option, then a listing will be considered as a popular listing once 100 users view that listing.<\/li>\n<li><strong>Count Logged-in User View<\/strong>: You can decide whether you want to count the views of listings of logged-in users or not in this option. Set this option to\u00a0<strong>YES<\/strong>\u00a0to count the views of logged-in users.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2>Claim Badge<\/h2>\n<p>It requires the <a href=\"https:\/\/directorist.com\/product\/directorist-claim-listing\/\" target=\"_blank\" rel=\"noopener noreferrer\">Claim Listing<\/a>\u00a0extension to be activated. Details can be found\u00a0<a href=\"https:\/\/directorist.com\/product\/directorist-claim-listing\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<\/div>\n<\/div>\n","protected":false},"author":2296,"parent":0,"menu_order":0,"template":"","class_list":["post-595","wpwax_dservice","type-wpwax_dservice","status-publish","hentry","wpwax_dservice_category-customization"],"acf":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_dservice\/595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_dservice"}],"about":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/types\/wpwax_dservice"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/users\/2296"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/media?parent=595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}