Author Filter

Posted in: Newspaper
Post count: 16

Hi.
I can’t add a block filtered by other authors besides the Admin. In 3.6 version, it worked for me to add the code “array_merge( get_users(‘role=author’), get_users(‘role=administrator’) );” to the td_util.php. However, in the 3.7 version it is not working. I can’t see other authors. I already have cleaned the cache.
Can you help me with this, please ?

Post count: 854

hi,
i have added the code in td_util.php -> create_array_authors() function, for me it works, check your code.

Thanks for you message.
Radu A.

Post count: 16

I already know what was wrong. The other authors of my website have a different role. They are ‘editors’. It was as simple as change ‘author’ to ‘editor’.
It may be useful for other members.
Regards

Post count: 854

hi,
glad to hear that you solved your issue.

Thanks for you message.
Radu A.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.