Search
Thursday, November 21, 2024
User manualsEasyDNNnews

EasyDNNnews User's manual

Search fields and advanced article search

Previous Article Searching posts per custom fields
Next Article Custom fields tokens in HTML templates

Search fields and advanced article search

Search fields in EasyDNNnews are a special type of custom fields. We don’t use them for entering data in posts, but they are used only for searching articles. Search fields can be used even if we haven't used custom fields in articles. Even ordinary articles without custom fields can be searched by search fields and the Advanced search in the EasyDNNsearch module. It is possible to search articles in specific categories, articles published by some author, articles published in some time period and similar.

Search fields enable searching posts per:

  • Article categories
  • Article authors/groups
  • Article date
  • Search field
  • Sort criteria

Search fields are created the same way as other custom fields in EasyDNNnews > Dashboard > Custom fields > Add custom fields. Search fields also need to be added in a custom fields group.

Article categories

Searching posts per categories. It is possible to choose categories that will be available for searching.

Article authors/groups

Searching posts per authors or groups of authors. It is possible to choose categories which will be available for searching.

Article date

Searching posts per date. It is possible to choose a type of date and search per Publish date, Date added, Expire date, Last modified, Event start date.

Search field

Search field is a textual input field where visitors can enter a term based on which they want to search posts.

Sort criteria

Sort criteria is a field that usually contains more elements based on which the articles are filtered. First, it is necessary to create a sort criteria field and then it is possible to create elements and define the criteria for sorting elements.


Example:

You have created a search field called Order. The type of search field is a Sort criteria. Then we have created the elements Highest price first and Lowest price first. For the Highest price first we have selected Descending sorting per custom field Price, and for the Lowest price first we have selected Ascending sorting per custom field Price.

Such a search field will enable filtering per Highest price first and Lowest price first in the Advanced search module.

Previous Article Searching posts per custom fields
Next Article Custom fields tokens in HTML templates
Print
Last update: 04.01.2016 / Rate this article:
4.0

Table Of Contents

Categories

Copyright 2024 by EasyDNNsolutions Terms Of Use Privacy Statement