This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Custom Post Type Name under Post Title on Search Results.

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Custom Post Type Name under Post Title on Search Results.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33972
    mkotebo34mkotebo34
    Participant

    Is is possible to display the results custom post type name under the title?

    For example on our website we have several pages with almost identical page titles. Example: Coiled Spring ( product ) and The Coiled Spring ( catalog ). “Coiled Spring” is a custom post type “Product” post, while ” The Coiled Spring” is a custom post type “Catalog” post.

    If you search for “Coiled Spring” the results would be:
    Coiled Spring
    The Coiled Spring

    It’s confusing for website visitors to know which is about a product and which is about a catalog. So is it possible to add each post title’s custom post name under the title so search results would be:
    Coiled Spring
    – Product
    The Coiled Spring
    – Catalog

    See attached image if its not clear.

    #33979
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    I bit of custom coding is required, but this tutorial should explain everything.

    If you need any help with the custom code, then feel free to add tempoary FTP and back-end access, and I will help you with it.

    #33982
    mkotebo34mkotebo34
    Participant

    Code works perfectly!… done.

    • This reply was modified 4 years, 10 months ago by mkotebo34mkotebo34.
    #33987
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

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