• The plugin we are using at present has not been updated by te author to work with PHP 8 and so I have been looking for an alternative. We need to create a list of authors of a certain membership level who have submitted posts to a certain category. Clicking on that author displays all their posts from that same category and not all of their posts site-wide.

    This plug-in seems to do most of it I but just want to confirm that we are able to add attributes to the author link to enable us to achieve the final step. And what that might be.

    Also to have confirmation that it has been tested successfully with PHP 8.

    I have found another plugin which is excellent at displying post lists but it foes not include the option to list by author. So I am very hay to have found “Authors List”

    This is the code I am using on a test page, and works as it should aprt from clicking the link of each author shows ALL of their posts.

    [authors_list style="1" columns="4" amount="50" show_count="yes" orderby="last_name" skip_empty="yes" show_bio="no" show_avatar="no" roles="pmpro_role_1"  after_title="{alf:posts}"]

    The live site shows how it works with the present plugin with PH 7.4 (link supplied) and I am aiming to match this in style and functionality as close as possible.

    Many thanks!
    Alex

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @agrsorgente

    Our plugin does not create custom archive pages, it links to the WordPress generated author archives.

    But you can modify the URL, by default it just goes to the WordPress author archive but you can make it go to a custom URL.

    [authors_list link_to="meta" link_to_meta_key="user_meta_key"]

    user_meta_key would be the meta key data you want to link to. So change that to whatever user meta key you want to get the value from.

    It’s taking the value of the user metadata.

    Plugins like Advanced Custom Fields allow you to add custom fields to the user profile page. That’s the user metadata.

    So you can have a field in there for the URL and make Authors List link to the URL from that field.

    Would that work out?

    • This reply was modified 1 year, 5 months ago by WPKube.
    • This reply was modified 1 year, 5 months ago by WPKube.
    Thread Starter agrsorgente

    (@agrsorgente)

    Hi @wpkube ,

    First, apologies for my typos in the original post.

    Thanks for your suggestion. Unfortunately on this occasion this doesn’t present the solution we need, although it is an interesting one, and no doubt useful for others.

    I was perhaps not clear enough in my description so I will try to simplify:

    Using this following code results in a correct list of authors, each one hyperlinks to an archive of their posts.

    [authors_list  style="1" columns="3" amount="50" show_count="no" orderby="last_name" order="ASC" skip_empty="yes" show_bio="no" show_avatar="no" roles="pmpro_role_1" show_link="no"]

    This works perfectly. Except…

    What we need now is to restrict the resulting posts of that archive to be from only one category, instead of ALL of the posts, that they have published.

    I have read through a lot of this forum and realise that this is not possible and we need to think outside of the box.

    Thanks for your help, I’ll return here and post our solution as and when.

    Meanwhile we’ll be using it as it’s the best plugin so far that ticks most of the boxes we need. And the support is good as well as it being kept up-to-date.

    Thanks!

    Plugin Author WPKube

    (@wpkube)

    Hi @agrsorgente

    You’re welcome and thank you for the kind words.

    I’ll pass it on to the plugin owner, maybe that’s something that could be implemented in the paid version of the plugin which is being developed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Linking Author to a post category’ is closed to new replies.