• Resolved markdtg

    (@markdtg)


    Under our hobbys page we would like to list all hobby with a number count based on what each user choose. For example, maybe 3 users are into music. So we would like to see something like:
    Sports (0) Photography (1) Cooking (2) Music (3) and so on.
    What do I need to do to make short code do the above printout.

    I already have the ability on this page to list all the members based upon a keyword for the search. This works fine.

    Bonus: Any way of hyperlinking the categories to list out a person info such like the manual search.

    Here is the coding for the manual search:
    [pdb_list filter=’approved!=no’ fields=”first_ name, last_name, cell, email, interests” search_fields=”interests” search=”true” suppress=”true” template=”responsive”]
    This works great.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter markdtg

    (@markdtg)

    Notice you will need to login using:
    lwchdir as the password

    Plugin Author xnau webdesign

    (@xnau)

    There is a shortcode [pdb_total] that you can use to show totals like that. You would use a separate shortcode for each one. They are designed to be used inline so you’d have your text content on the page, then insert the shortcode where you want the number to appear.

    There is a brief explanation here: The Total Shortcode

    As to your questions about the categories, something like that is possible using a search that is embedded in a URL: Creating Links to Show a Filtered List Result

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Number Counts Per Activity’ is closed to new replies.