WordPress.org

Support

Support » How-To and Troubleshooting » Display posts by one author and only from current category

Display posts by one author and only from current category

  • Hello

    I need your help to solve my problem.

    So, what I can’t make:
    For instance, I have a category ‘NEWS’, this category has some subcategories ‘POLITICS’, ‘SPORT’, ‘LIFE’ etc.

    In the sidebar displayed a list of author’s names and if I click for some author in some category I need to show only posts written by this author and from the current category, subcategory.

    How can I create it? I suppose that it’s able to create by pre_get_posts but not sure.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Display posts by one author and only from current category’ is closed to new replies.