Issue about author filters in blog page

Hi,

I've just realized I had one issue with author filters in blog page. As you can see here: https://www.schiosport.it/news/ the filter shows only admin authors and not others (they are contributors as user level). Why? I need to show all of them because this website blog area is supposed to be a collective work.

Thanks in advance! 

Enzo Voci

Comments

  • Hello,
    this is true, it is supposed to show all authors in the dropdown.
    Could you please first disable all plugins and check again?
    Also is your betheme and wordpress up to date?
    thansk
  • Hi, I solved it on my own.

    I've updated the theme (wordpress was already at the last version) and disable all plugins but I figured out the issue was with the "contributor" user level, it needed to be added in the filters.

    So I added this code in betheme/functions/theme-functions.php around line 2069:

    if (in_array('contributor', $author->roles)) {
    $remove = false;
    }

    and now the filter shows everything.
    Now I just have to remember to change this again for every theme update, unless you will add it in the next version.

    Thanks anyway,

    Best regards

    Enzo
  • Hey Enzo,
    you are correct. This will be added in the next update.
    Thank you for helping and sorry for the problem.
    cheers
Sign In or Register to comment.