Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Custom Post Type Name under Post Title on Search Results.
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 8 months ago.
- AuthorPosts
- July 18, 2021 at 8:46 am #33972
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 SpringIt’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
– CatalogSee attached image if its not clear.
Attachments:
You must be logged in to view attached files.July 19, 2021 at 9:13 am #33979Hi,
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.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 19, 2021 at 11:40 am #33982Code works perfectly!… done.
-
This reply was modified 1 year, 8 months ago by
mkotebo34.
July 19, 2021 at 12:21 pm #33987You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This reply was modified 1 year, 8 months ago by
- AuthorPosts
You must be logged in to reply to this topic.