Support » Plugin: Gravity Forms Directory » Linking fields & linking categories

  • Great add-on. Slowly finding my way around.

    Three questions:

    1. Is the documentation or examples around anywhere?

    2. Instead of linking to the entry ID to see the single entry, is there a way to hyperlink one of the fields, so the user can click on it to get to the entry?

    3. As with most directories, I’m using categories (with custom posts). How can I hyperlink the categories to see all listings with that category? Also, how can I produce a list of categories for the sidebar (mine aren’t showing in the usual categories widget)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Zack Katz


    1. Not yet. I’m going to be setting up a detailed setup page soon.
    2. Most everything is possible using the filters and hooks (especially the kws_gf_directory_detail filter)
    3. Not sure that’s possible (yet). I’m also going to be re-working the structure of the plugin for a future major release, and will consider this feedback. Regarding the widget, it seems you may need a custom taxonomies widget.


    Can you point me in the direction of any help on how to use filters and hooks (especially the kws_gf_directory_detail filter)?

    Plugin Author Zack Katz


    Thanks, Zack, but that’s over my head, I’m afraid… Bummer

    For us novices, we have no clue how to write a function (else we probably wouldn’t need awesome plugins like this one!)

    I’d like to use the kws_gf_directory_detail filter, but don’t know how to add the arguments.

    //function to control what details appear in the job listings
    add_filter('kws_gf_directory_detail', 'jobfields');
    function jobfields($content) {
    -- arguments go here! --

    Here’s a sample of the raw output:

    How do I write the function to not display the email, contact name & terms & conditions fields?

    Plugin Author Zack Katz


    That’s done with step two:

    Oh, and then you’d make the fields “Admin Only” in the Advanced tab of the field settings.

    When I set the fields to Admin Only, the form no longer shows them. (I thought the Admin Only was just for viewing the data, but apparently not.)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Linking fields & linking categories’ is closed to new replies.