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

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?

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.