Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Support request] CPT name display on a category/archive page

Home Forums Support [Support request] CPT name display on a category/archive page

Home Forums Support CPT name display on a category/archive page

  • This topic has 0 replies, 1 voice, and was last updated 3 years ago by Michael.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #577946
    Michael

    Hi Tom and support team!

    I’m trying (but failing) to display the CPT title in the entries on a category-slug.php page (much like a category link might appear at the bottom of a single post, or how the meta info displays).

    Ideally I’d like to drop it in after the excerpt, but am returning errors when trying this using content.php – is this the correct place?

    I’ve been using <?php post_type_archive_title(); ?> to try and call it in.

    Hope I’m describing this well enough… it’s just a visual method for identifying the CPT on the category page.

    Thanks for any help you can give,

    Mike

    GeneratePress 2.1.2
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.