[Resolved] Remove the word 'Archives:' in front of CPT archive pages

Home Forums Support [Resolved] Remove the word 'Archives:' in front of CPT archive pages

Home Forums Support Remove the word 'Archives:' in front of CPT archive pages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #383326
    nictic

    I have custom a custom post type (Directory Listings) with custom taxonomies. On the the CPT archive page the word Archives: displays infront of my CPT Title like: Archives: Directory Listings. And on my custom taxonomy archives it shows Directory Categories: Example Category.

    How can I remove that prefix ‘Archives:’ and the one that tat is generated to display before the category title?

    #383403
    Leo
    Staff
    Customer Support
    #383666
    nictic

    Tried it. It then just shows ‘Archives’ on all the CPT and taxonomy archives an not the actual titles. If I remove ‘Archives’ on line 59 then it shows nothing, not even the CPT and taxonomy archive titles.

    #384210
    Tom
    Lead Developer
    Lead Developer
    #384347
    nictic

    Great, it works perfectly. Thank you.

    #384390
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.