Display Intro Text on 1st Page of Archive Only

This code removes the intro text from all paginated archive pages so the description only displays on the first page.

archive-headline

Here’s the code for logged in members:

Related Code


Comments

2 responses to “Display Intro Text on 1st Page of Archive Only”

  1. Mark Tanner Avatar
    Mark Tanner

    I couldn’t get this to work, until I changed the filter from ‘modify_archive_description’ to:
    ‘modify_the_archive_description’.
    This did the trick.

    1. Brad Dalton Avatar
      Brad Dalton

      You mean the function name?

Leave a Reply

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.