WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Gravity Forms Directory exclude fields and search error (4 posts)

  1. Chuck
    Member
    Posted 2 years ago #

    I have two problems I could use some help with. I'm not a coder, but I can follow explicit directions.

    The search function returns a 404 page. If I search entries in the backend the search works fine, just not on the directory. I've set Permalinks to default and that hasn't helped.

    There are some fields on the form which I don't want on the Directory. How do I exclude certain fields?

  2. Chuck
    Member
    Posted 2 years ago #

    One more thing. How do I make the initial sort for the directory to be alphabetical? It seems to be coming up in the order in which the entries are put in.

  3. Chuck
    Member
    Posted 2 years ago #

    One more thing. How do I make the initial sort for the directory to be alphabetical? It seems to be coming up in the order in which the entries are put in.

  4. mcrib
    Member
    Posted 2 years ago #

    Look for this line in directory.php

    'sort' => 'date_created', // Use the input ID ( example: 1.3 or 7 or ip )

    Change 'date_created' to the input ID of the field you want to sort by.

Topic Closed

This topic has been closed to new replies.

About this Topic