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

Problem with showing custom field in result

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Problem with showing custom field in result

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7299
    shahroozshahrooz
    Participant

    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,

    #7303
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    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.

    #7304
    shahroozshahrooz
    Participant

    Hey,

    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,

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