{"id":9645,"date":"2024-04-28T14:16:24","date_gmt":"2024-04-28T14:16:24","guid":{"rendered":"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/?page_id=9645"},"modified":"2024-04-28T14:30:13","modified_gmt":"2024-04-28T14:30:13","slug":"how-to-remove-related-contents-inside-specific-elements-by-class-name","status":"publish","type":"page","link":"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/how-to-remove-related-contents-inside-specific-elements-by-class-name\/","title":{"rendered":"How to remove related contents inside specific elements by class name"},"content":{"rendered":"<p>To remove the related contents inside specific elements, please follow these steps to determine the element&#8217;s CSS class name:<\/p>\n<h3>Identify the CSS class name<\/h3>\n<p>To locate the related post, use the &#8216;Inspect&#8217; function of your browser, then, copy the name of the parent CSS class of this related post.<\/p>\n<div style=\"width: 750px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-9645-1\" width=\"750\" height=\"422\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-content\/uploads\/2024\/04\/step-1.mp4?_=1\" \/><a href=\"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-content\/uploads\/2024\/04\/step-1.mp4\">https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-content\/uploads\/2024\/04\/step-1.mp4<\/a><\/video><\/div>\n<h3>Exclude the identified CSS class<\/h3>\n<p>At this point, open the plugin settings and, in the Miscellaneous settings section, insert the CSS class, preceded by a vertical bar, at the end of the already stored classes, for example<\/p>\n<p>name-1|name-2|name-3<strong>|wp-block-cover__inner-container<\/strong><\/p>\n<div style=\"width: 750px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-9645-2\" width=\"750\" height=\"422\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-content\/uploads\/2024\/04\/step-2.mp4?_=2\" \/><a href=\"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-content\/uploads\/2024\/04\/step-2.mp4\">https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-content\/uploads\/2024\/04\/step-2.mp4<\/a><\/video><\/div>\n<h3>Verify that the content has been correctly removed<\/h3>\n<p>At this point, reopen the article where you identified this issue and verify if the content has indeed been removed.<\/p>\n<div style=\"width: 750px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-9645-3\" width=\"750\" height=\"422\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-content\/uploads\/2024\/04\/step-3.mp4?_=3\" \/><a href=\"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-content\/uploads\/2024\/04\/step-3.mp4\">https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-content\/uploads\/2024\/04\/step-3.mp4<\/a><\/video><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To remove the related contents inside specific elements, please follow these steps to determine the element&#8217;s CSS class name: Identify the CSS class name To locate the related post, use the &#8216;Inspect&#8217; function of your browser, then, copy the name of the parent CSS class of this related post. Exclude the identified CSS class At&hellip; <a class=\"more-link\" href=\"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/how-to-remove-related-contents-inside-specific-elements-by-class-name\/\">Continue reading <span class=\"screen-reader-text\">How to remove related contents inside specific elements by class name<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9645","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-json\/wp\/v2\/pages\/9645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-json\/wp\/v2\/comments?post=9645"}],"version-history":[{"count":6,"href":"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-json\/wp\/v2\/pages\/9645\/revisions"}],"predecessor-version":[{"id":9654,"href":"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-json\/wp\/v2\/pages\/9645\/revisions\/9654"}],"wp:attachment":[{"href":"https:\/\/demo.themeinprogress.eu\/internal-linking-related-contents-pro\/wp-json\/wp\/v2\/media?parent=9645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}