archive

How to remove “Archives for” text from date archive title?

Original request was: At the moment it says ‘Archive for june 2016’ but I want it to be just June 2016. Two ways you can do this. I am showing both methods at below: Method 1 ‘Archive for ‘ is using by the internationalization function (__() ). By “gettext” filter we can remove this translated… Keep Reading about How to remove “Archives for” text from date archive title?

Showing full content on category page

Drop the following code in your functions.php file if you are targeting the specific category page then use the following snippet: 153 is my “Plugins” category ID. So code is only executing when a user is visiting my “Plugins” category archive page. Checkout this link for more details about WordPress’s is_category() function.