Answer the question
In order to leave comments, you need to log in
How to implement an output filter with changing Title and Description?
There is a site on wordpress - a directory of articles. Main categories:
1. Stories
2. Anecdotes
3. Aphorisms
Which is divided into subcategories (For example: Stories are divided into funny, sad, etc.)
It is necessary to make output filters in each category: New, Popular, Short
And what would happen when a person, being, for example, in the section Stories-Funny, clicking on "New" - received filtered articles on the page with the heading *Filter name* *Category title* - New funny stories
How to implement it?
Answer the question
In order to leave comments, you need to log in
here at the expense of short ones, I don’t think it will be easy to do on the machine.
and everything else is wp_query and derivatives...
or filter by custom fields.
that is, create a custom field for the record where short ones will be inserted, etc.
or use labels, and this is the easiest way.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question