Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Problem with showing custom field in result
This topic contains 2 replies, has 2 voices, and was last updated by shahrooz 7 years, 8 months ago.
- AuthorPosts
- January 12, 2016 at 3:50 pm #7299
Hi Ernest,
Just a quick question: I’m using TablePress to have a list of products and I want to have the entries of these tables in my search result. I’ve added tablepress_table to “search in custom post” and it gave me the result but when I click on the provided link, it goes to 404 (Nothing Found)! Also, the result shows the table name and I need to change that too (screenshot attached).
Would you help me to solve these issues?
Thanks,
Attachments:
You must be logged in to view attached files.January 13, 2016 at 9:50 am #7303Hi!
The problem with that custom post type, that it’s not actually a custom post type with a link, but it’s a shortcode. As you can see, you can add the table shortcodes to any page or post or custom post type.
So what I suggest is maybe creating pages for each table, putting the table shortcodes into those pages. The entries of the tables are unfortunately not custom post types either – so it’s not possible to have them as results.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 13, 2016 at 9:55 am #7304Hey,
So, in this case, I think its better to add some keywords as tags, then the search can bring the table page in the result base on tags on the page.
Thanks,
- AuthorPosts
You must be logged in to reply to this topic.