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

This topic contains 2 replies, has 2 voices, and was last updated by shahrooz shahrooz 7 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7299
    shahrooz
    shahrooz
    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,

    Attachments:
    You must be logged in to view attached files.
    #7303
    Ernest Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #7304
    shahrooz
    shahrooz
    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.