WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms Directory
Linking fields & linking categories (8 posts)

  1. rmazereeuw
    Member
    Posted 2 years ago #

    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)

  2. Zack Katz
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  3. rmazereeuw
    Member
    Posted 2 years ago #

    Thanks!

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

  4. Zack Katz
    Member
    Plugin Author

    Posted 2 years ago #

  5. rmazereeuw
    Member
    Posted 2 years ago #

    Thanks, Zack, but that's over my head, I'm afraid... Bummer

  6. valerama
    Member
    Posted 2 years ago #

    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:
    http://purposeplacementservices.com/jobs/?leadid=4&form=4&row=4

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

  7. Zack Katz
    Member
    Plugin Author

    Posted 2 years ago #

    That's done with step two: http://wordpress.org/extend/plugins/gravity-forms-addons/faq/

    Oh, and then you'd make the fields "Admin Only" in the Advanced tab of the field settings.

  8. valerama
    Member
    Posted 2 years ago #

    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.)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic