How can I noindex my archive pages?

This worked ok for me, putting this function into a vanilla build using TwentyTwenty? I see the output in the Head.

Its very crude but inside your IF statement, add some form of simple debug, either var_dump() a string out or Javascript console.log. You’re testing to make sure the IF is activating when you think it is. Also consider using the Show Current Template plugin as this would highlight if you weren’t using the template you expected to when visiting the page.

techhipbettruvabetnorabahisbahis forumutaraftarium24eduedusedueduedueduedueduseduedus