• How do I enable the displaying of Date Recorded, Date updated and last accessed on the search page results?

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author xnau webdesign

    (@xnau)

    To show those fields, which are normally not public, you need to explicitly list all the fields you want shown in the list shortcode using the “fields” attribute. For instance:

    [pdb_list fields="first_name,last_name,date_recorded"]

    Thread Starter webguy007

    (@webguy007)

    Thanks for the quick response and for making it so easy to do things like this!

    Thread Starter webguy007

    (@webguy007)

    I’m still not sure how I would solve what I’m trying to do.
    I have: [pdb_list search=true template=serial suppress=true]
    Which the person has to enter the serial number and if found, the records are displayed according to the settings in admin.

    How would I also show date_recorded and date_updated in this search list?

    If it’s by adding [pdb_list fields=”date_recorded”] I only want this information coming up when they search for it by serial number and it comes up and I’m not sure exactly where I would put this as by itself, it auto displays the information without the search.

    Thanks

    Plugin Author xnau webdesign

    (@xnau)

    Just add the “fields” attribute to your shortcode. In the value for that attribute list all the fields you want shown. All the other things you have set up will continue to work.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Displaying Dates’ is closed to new replies.