{"id":135,"date":"2016-05-11T09:52:45","date_gmt":"2016-05-11T09:52:45","guid":{"rendered":"http:\/\/multiratingpro.wpengine.com\/?page_id=135"},"modified":"2016-12-14T14:20:50","modified_gmt":"2016-12-14T03:20:50","slug":"filters","status":"publish","type":"page","link":"https:\/\/multiratingpro.com\/documentation\/filters","title":{"rendered":"Filters"},"content":{"rendered":"<p>Injecting the rating form and or rating result automatically on a post can be applied for all enabled posts in the auto placement settings.<\/p>\n<figure id=\"attachment_130\" aria-describedby=\"caption-attachment-130\" style=\"width: 758px\" class=\"wp-caption\"><a href=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top-768x207.png\" alt=\"The auto placement settings allow you to inject the rating form and or rating result on a post.\" width=\"768\" height=\"207\" class=\"size-medium_large wp-image-130\" srcset=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top-768x207.png 768w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top-300x81.png 300w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top-1024x276.png 1024w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top-1170x315.png 1170w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top.png 1343w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><figcaption id=\"caption-attachment-130\" class=\"wp-caption-text\">The auto placement settings allow you to inject the rating form and or rating result on a post.<\/figcaption><\/figure>\n<figure id=\"attachment_129\" aria-describedby=\"caption-attachment-129\" style=\"width: 290px\" class=\"wp-caption\"><a href=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/post-meta.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/post-meta-300x253.png\" alt=\"Edit post page meta box allows you to override the auto placement settings.\" width=\"300\" height=\"253\" class=\"size-medium wp-image-129\" srcset=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/post-meta-300x253.png 300w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/post-meta.png 416w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-129\" class=\"wp-caption-text\">Edit post page meta box allows you to override the auto placement settings.<\/figcaption><\/figure>\n<p>Filters can be added if you want to set specific rating forms or change the auto placement settings for different taxonomies, terms, post id&#8217;s, page URL&#8217;s and post types. Filters override the auto placement settings and can also be setup to override the Edit post page post meta.<\/p>\n<figure id=\"attachment_132\" aria-describedby=\"caption-attachment-132\" style=\"width: 758px\" class=\"wp-caption\"><a href=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-ids.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-ids-768x360.png\" alt=\"E.g. Use the &quot;My other rating form&quot;rating form for post id&#039;s 1, 2 and 3.\" width=\"768\" height=\"360\" class=\"size-medium_large wp-image-132\" srcset=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-ids-768x360.png 768w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-ids-300x141.png 300w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-ids-1024x480.png 1024w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-ids-1170x549.png 1170w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-ids.png 1350w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><figcaption id=\"caption-attachment-132\" class=\"wp-caption-text\">E.g. Use the &#8220;My other rating form&#8221;rating form for post id&#8217;s 1, 2 and 3.<\/figcaption><\/figure>\n<figure id=\"attachment_131\" aria-describedby=\"caption-attachment-131\" style=\"width: 758px\" class=\"wp-caption\"><a href=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-page-urls.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-page-urls-768x390.png\" alt=\"E.g. do not allow auto placement for specific page URL&#039;s\" width=\"768\" height=\"390\" class=\"size-medium_large wp-image-131\" srcset=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-page-urls-768x390.png 768w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-page-urls-300x152.png 300w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-page-urls-1024x520.png 1024w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-page-urls-1170x594.png 1170w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-page-urls-946x480.png 946w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-page-urls.png 1342w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><figcaption id=\"caption-attachment-131\" class=\"wp-caption-text\">E.g. do not allow auto placement for specific page URL&#8217;s<\/figcaption><\/figure>\n<figure id=\"attachment_133\" aria-describedby=\"caption-attachment-133\" style=\"width: 758px\" class=\"wp-caption\"><a href=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-types.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-types-768x357.png\" alt=\"E.g. do not allow auto placement for page post type.\" width=\"768\" height=\"357\" class=\"size-medium_large wp-image-133\" srcset=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-types-768x357.png 768w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-types-300x140.png 300w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-types-1024x477.png 1024w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-types-1170x545.png 1170w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-types-1031x480.png 1031w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-post-types.png 1345w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><figcaption id=\"caption-attachment-133\" class=\"wp-caption-text\">E.g. do not allow auto placement for page post type.<\/figcaption><\/figure>\n<figure id=\"attachment_134\" aria-describedby=\"caption-attachment-134\" style=\"width: 758px\" class=\"wp-caption\"><a href=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-taxonomy.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-taxonomy-768x375.png\" alt=\"E.g. change the rating form to \"My other rating form\" for any post which as tag \"hello\" instead of using the rating form set in the general settings. If a rating form is set in the Edit post page post meta, then this will be used instead for auto placement.\" width=\"768\" height=\"375\" class=\"size-medium_large wp-image-134\" srcset=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-taxonomy-768x375.png 768w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-taxonomy-300x147.png 300w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-taxonomy-1024x500.png 1024w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-taxonomy-1170x572.png 1170w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-taxonomy-983x480.png 983w, https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/filter-taxonomy.png 1345w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><figcaption id=\"caption-attachment-134\" class=\"wp-caption-text\">E.g. change the rating form to &#8220;My other rating form&#8221; for any post which as tag &#8220;hello&#8221; instead of using the rating form set in the general settings. If a rating form is set in the Edit post page post meta, then this will be used instead for auto placement.<\/figcaption><\/figure>\n<h2>Custom Field Bulk Editor<\/h2>\n<p>Alternatively, the <a href=\"https:\/\/wordpress.org\/plugins\/custom-field-bulk-editor\/\" target=\"_blank\">Custom Field Bulk Editor<\/a> plugin is a simple plugin which allows you to set custom field values for posts in bulk. This can be an easy way to setup the auto placement settings for a list of specific posts, rather than using Multi Rating Pro filters. Simply check the posts you want, then set the following custom field values as needed.<\/p>\n<ul>\n<li>mrp_rating_form_id &#8211; Set to the rating form id or &#8220;&#8221; for the default rating form.<\/li>\n<li>mrp_allow_anonymous &#8211; Set to true or false whether to allow anonymous ratings.<\/li>\n<li>mrp_rating_form_position &#8211; Auto placement position of the rating form. Set to &#8220;do_not_show&#8221; to not show, &#8220;&#8221; to use the default settings, &#8220;before_content&#8221; for before the_content filter, &#8220;after_content&#8221; for after the_content filter or &#8220;comment_form&#8221; to integrate in the WordPress comment form.<\/li>\n<li>mrp_rating_results_position &#8211; Auto placement position of the overall rating result. Set to &#8220;do_not_show&#8221; to not show, &#8220;&#8221; to use the default settings, &#8220;before_content&#8221; for before the_content filter, &#8220;after_content&#8221; for after the_content filter, &#8220;before_title&#8221; for before the_title filter or &#8220;after_title&#8221; for after the_title filter.<\/li>\n<\/ul>\n<p>Note: The same custom field values can be set manually when editing a post\/page under the Multi Rating Pro meta box.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Injecting the rating form and or rating result automatically on a post can be applied for all enabled posts in the auto placement settings. Filters can be added if you want to set specific rating forms or change the auto placement settings for different taxonomies, terms, post id&#8217;s, page URL&#8217;s and post types. Filters override&hellip; <span class=\"excerpt-more\"><a href=\"https:\/\/multiratingpro.com\/documentation\/filters\">Read More<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":5,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"mrp_rating_form_position":"","mrp_rating_results_position":"","mrp_structured_data_type":"","mrp_allow_anonymous":"","mrp_rating_form_id":"1","footnotes":""},"class_list":["post-135","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Filters - Multi Rating Pro<\/title>\n<meta name=\"description\" content=\"Documentation on how to easily set different rating forms and turn on\/off auto placement for taxonomies, terms, post types, post id\u2019s and page URL\u2019s.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/multiratingpro.com\/documentation\/filters\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Filters - Multi Rating Pro\" \/>\n<meta property=\"og:description\" content=\"Documentation on how to easily set different rating forms and turn on\/off auto placement for taxonomies, terms, post types, post id\u2019s and page URL\u2019s.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/multiratingpro.com\/documentation\/filters\" \/>\n<meta property=\"og:site_name\" content=\"Multi Rating Pro\" \/>\n<meta property=\"article:modified_time\" content=\"2016-12-14T03:20:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top-768x207.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/multiratingpro.com\/documentation\/filters\",\"url\":\"https:\/\/multiratingpro.com\/documentation\/filters\",\"name\":\"Filters - Multi Rating Pro\",\"isPartOf\":{\"@id\":\"https:\/\/multiratingpro.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/multiratingpro.com\/documentation\/filters#primaryimage\"},\"image\":{\"@id\":\"https:\/\/multiratingpro.com\/documentation\/filters#primaryimage\"},\"thumbnailUrl\":\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top-768x207.png\",\"datePublished\":\"2016-05-11T09:52:45+00:00\",\"dateModified\":\"2016-12-14T03:20:50+00:00\",\"description\":\"Documentation on how to easily set different rating forms and turn on\/off auto placement for taxonomies, terms, post types, post id\u2019s and page URL\u2019s.\",\"breadcrumb\":{\"@id\":\"https:\/\/multiratingpro.com\/documentation\/filters#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/multiratingpro.com\/documentation\/filters\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/multiratingpro.com\/documentation\/filters#primaryimage\",\"url\":\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top.png\",\"contentUrl\":\"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top.png\",\"width\":1343,\"height\":362,\"caption\":\"The auto placement settings allow you to inject the rating form and or rating result on a post.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/multiratingpro.com\/documentation\/filters#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/multiratingpro.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\/\/multiratingpro.com\/documentation\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Filters\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/multiratingpro.com\/#website\",\"url\":\"https:\/\/multiratingpro.com\/\",\"name\":\"Multi Rating Pro\",\"description\":\"A powerful rating system and review plugin for WordPress.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/multiratingpro.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Filters - Multi Rating Pro","description":"Documentation on how to easily set different rating forms and turn on\/off auto placement for taxonomies, terms, post types, post id\u2019s and page URL\u2019s.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/multiratingpro.com\/documentation\/filters","og_locale":"en_US","og_type":"article","og_title":"Filters - Multi Rating Pro","og_description":"Documentation on how to easily set different rating forms and turn on\/off auto placement for taxonomies, terms, post types, post id\u2019s and page URL\u2019s.","og_url":"https:\/\/multiratingpro.com\/documentation\/filters","og_site_name":"Multi Rating Pro","article_modified_time":"2016-12-14T03:20:50+00:00","og_image":[{"url":"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top-768x207.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/multiratingpro.com\/documentation\/filters","url":"https:\/\/multiratingpro.com\/documentation\/filters","name":"Filters - Multi Rating Pro","isPartOf":{"@id":"https:\/\/multiratingpro.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/multiratingpro.com\/documentation\/filters#primaryimage"},"image":{"@id":"https:\/\/multiratingpro.com\/documentation\/filters#primaryimage"},"thumbnailUrl":"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top-768x207.png","datePublished":"2016-05-11T09:52:45+00:00","dateModified":"2016-12-14T03:20:50+00:00","description":"Documentation on how to easily set different rating forms and turn on\/off auto placement for taxonomies, terms, post types, post id\u2019s and page URL\u2019s.","breadcrumb":{"@id":"https:\/\/multiratingpro.com\/documentation\/filters#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/multiratingpro.com\/documentation\/filters"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/multiratingpro.com\/documentation\/filters#primaryimage","url":"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top.png","contentUrl":"https:\/\/multiratingpro.com\/wp-content\/uploads\/2016\/05\/auto-placement-settings1-top.png","width":1343,"height":362,"caption":"The auto placement settings allow you to inject the rating form and or rating result on a post."},{"@type":"BreadcrumbList","@id":"https:\/\/multiratingpro.com\/documentation\/filters#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/multiratingpro.com\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/multiratingpro.com\/documentation"},{"@type":"ListItem","position":3,"name":"Filters"}]},{"@type":"WebSite","@id":"https:\/\/multiratingpro.com\/#website","url":"https:\/\/multiratingpro.com\/","name":"Multi Rating Pro","description":"A powerful rating system and review plugin for WordPress.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/multiratingpro.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"multi-rating-pro":{"mrp_rating_result_1":[{"adjusted_star_result":0,"star_result":0,"total_max_option_value":12,"adjusted_score_result":0,"score_result":0,"percentage_result":0,"adjusted_percentage_result":0,"count_entries":0,"post_id":135,"rating_form_id":1}],"mrp_rating_result_2":[],"mrp_rating_result_3":[],"mrp_rating_result_4":[],"mrp_rating_result_5":[],"mrp_rating_result_6":[],"rating_form":1},"_links":{"self":[{"href":"https:\/\/multiratingpro.com\/wp-json\/wp\/v2\/pages\/135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multiratingpro.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/multiratingpro.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/multiratingpro.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/multiratingpro.com\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":0,"href":"https:\/\/multiratingpro.com\/wp-json\/wp\/v2\/pages\/135\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/multiratingpro.com\/wp-json\/wp\/v2\/pages\/5"}],"wp:attachment":[{"href":"https:\/\/multiratingpro.com\/wp-json\/wp\/v2\/media?parent=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}