• Resolved gsorbo

    (@gsorbo)


    Hello again.

    I have a page with the pdb_single shortcode on it setup as follows:

    [pdb_single fields=”photo,full_name,business_name,business_description,website]

    However when I display the page with the shortcode it does not display business_name after full_name, but rather at the end of the field list. What the shortcode seems to be doing is looking at the field placement as defined in the database and then displaying the fields in the order that they are placed there. When I move business_name up in the db it works. As I want to only display certain fields on the page it will be a lot of work for me to rearrange the db to match.

    Can you let me know your thoughts?

    Many thanks again for a great plug-in.

    https://www.ads-software.com/plugins/participants-database/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gsorbo

    (@gsorbo)

    Note the shortcode actually reads: [pdb_single fields=”photo,full_name,business_name,business_description,website”] (quotes are there at end)

    Thread Starter gsorbo

    (@gsorbo)

    I think I understand now from reading some other posts on this that one can handle this sort of display via a custom pdb_single template which I have created, and played around with a bit, and found works. Thank you.

    However would it be possible to suggest as an enhancement that anytime “filter=field_list” is employed with a display results shortcode that the fields in the list display in the order they are laid out in the shortcode?

    Thanks again.

    Plugin Author xnau webdesign

    (@xnau)

    Glad you figured it out. I’ve got this on my list of possible features.

    Thread Starter gsorbo

    (@gsorbo)

    Thank you so very much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘pdb_single – fields filter not showing fields in right order’ is closed to new replies.