{"id":192,"date":"2020-05-08T23:21:32","date_gmt":"2020-05-08T23:21:32","guid":{"rendered":"https:\/\/directorist.com\/docs\/?post_type=wpwax_directorist&#038;p=192"},"modified":"2024-03-20T14:37:58","modified_gmt":"2024-03-20T08:37:58","slug":"badges-styling","status":"publish","type":"wpwax_directorist","link":"https:\/\/directorist.com\/documentation\/directorist\/customization\/badges-styling\/","title":{"rendered":"Badges Styling"},"content":{"rendered":"<div id=\"eckb-article-content-header\">\n<p id=\"12167\" class=\"eckb-article-title kb-article-id\"><span style=\"font-size: inherit\">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. <\/span><\/p>\n<p class=\"eckb-article-title kb-article-id\"><span style=\"font-size: inherit\">To add a badge, go to <\/span><strong style=\"font-size: inherit\">Directory Listings \u2192 Settings \u2192 Personalization \u2192 Badge <\/strong><span style=\"font-size: inherit\">Page to customize all badges.<\/span><\/p>\n<\/div>\n<div id=\"eckb-article-content-body\">\n<div id=\"kb-article-content\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1001 size-full\" src=\"http:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/9-badge.png\" alt=\"\" width=\"1918\" height=\"892\" srcset=\"https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/9-badge.png 1918w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/9-badge-300x140.png 300w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/9-badge-1024x476.png 1024w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/9-badge-768x357.png 768w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2020\/05\/9-badge-1536x714.png 1536w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<h2>Badge Management<\/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>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>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> to count the views of logged-in users.<\/li>\n<\/ol>\n<h3>Popular Badge<\/h3>\n<ul>\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 style=\"font-size: inherit\">Popular Based on<\/strong><span style=\"font-size: inherit\"><span style=\"font-size: inherit\">: 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.<\/span><\/span><span style=\"font-size: inherit\"> 1. <\/span><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.<br \/>\n2. <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.<br \/>\n3. <strong>Both<\/strong>: If you select this option, Directorist determines popular listings based on the total views and an average rating of a listing.<\/li>\n<\/ul>\n<ul>\n<li style=\"list-style-type: none\"><\/li>\n<\/ul>\n<ul>\n<li><strong style=\"font-size: inherit\">Threshold of Views Count<\/strong><span style=\"font-size: inherit\">: You 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.<\/span><\/li>\n<li><strong>Threshold in Average Ratings (equal or greater than):<\/strong> Set the Threshold. The default value is set to 4.<\/li>\n<\/ul>\n<h3>Featured Badge<\/h3>\n<p><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.<\/p>\n<h3>Claim Badge<\/h3>\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\" data-wplink-edit=\"true\">here<\/a>.<\/p>\n<\/div>\n<\/div>\n","protected":false},"author":2298,"parent":0,"menu_order":0,"template":"","class_list":["post-192","wpwax_directorist","type-wpwax_directorist","status-publish","hentry","wpwax_directorist_category-customization"],"acf":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_directorist\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_directorist"}],"about":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/types\/wpwax_directorist"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/users\/2298"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/media?parent=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}