Home › Forums › Pro Support › Disable meta info link This topic has 5 replies, 2 voices, and was last updated 2 years, 6 months ago by elvin. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts March 29, 2021 at 8:16 am #28657 AlexanderParticipant Hi! Could you please help me to disable meta info link for a custom post type “Portfolio” category and any other meta info <div class="wp-show-posts-entry-meta wp-show-posts-entry-meta-below-title post-meta-inline"><span class="wp-show-posts-terms wp-show-posts-meta"><a href="https://grimerka.by/portfolio_category/woman" rel="tag">Женская фотосессия</a></span></div> March 29, 2021 at 10:50 pm #28668 elvinModerator Hi there, It’s done within the WPSP edit page’s “Meta” tab. https://docs.wpshowposts.com/article/meta-overview/ Uncheck the meta items you want to remove. March 29, 2021 at 11:53 pm #28670 AlexanderParticipant Actually, I would like the meta info to be visible without links that create extra pages I don’t want to exist due to SEO reasons. March 30, 2021 at 12:48 am #28672 elvinModerator Try this the snippet Tom provided here: https://wpshowposts.com/support/topic/removing-links-from-all-taxonomy-items/#post-12520 March 30, 2021 at 3:22 am #28682 AlexanderParticipant Unfortunately, the code provided by Tom removes the category tag completely but not the link of the tag. Ok, if it’s not possible, never mind 🙂 March 30, 2021 at 6:28 pm #28689 elvinModerator Try this instead. add_filter( 'wpsp_terms_output', function( $output, $settings ) { return sprintf( '<span class="wp-show-posts-terms wp-show-posts-meta">%1$s</span>', strip_tags( get_the_term_list( get_the_ID(), $settings[ 'taxonomy' ], '', apply_filters( 'wpsp_term_separator', ', ' ) ) ) ); } ,15 ,2); Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In