Home › Forums › Support › How to use Elements to Insert noindex meta tag to bbPress User Profile Page head This topic has 1 reply, 2 voices, and was last updated 4 years, 2 months ago by Tom. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts January 26, 2020 at 8:58 am #1144818 Py Hi I want to add <META NAME=”ROBOTS” CONTENT=”NOINDEX, NOFOLLOW” /> to all the below bbPress User Profile pages Example pages https://domainname.com/users/displayname/ https://domainname.com/users/displayname/topics https://domainname.com/users/displayname/engagement https://domainname.com/users/displayname/replies How can I do this with GeneratePress Elements? January 26, 2020 at 4:11 pm #1145091 TomLead Developer Lead Developer Hi there, Don’t think it’s possible in Elements, but you can use a function: add_action( 'wp_head', function() { if ( function_exists( 'bbp_is_single_user_profile' ) && bbp_is_single_user_profile() ) { echo '<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW" />'; } } ); Hope this helps 🙂 Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In