• Resolved jonturks

    (@jonturks)


    Hello!

    Bro, I need your help πŸ™

    Firstly, I using this code now;

    [authors_list categories="19" authors_list style="4" authors_list after_title="{alf:posts}" columns="4" amount="8" show_count="no" show_bio="no" orderby="post_date" authors_list roles="editor,contributor" authors_list after_title="{alf:latest_post_date link=no format=d.m.Y} {alf:posts type=plain amount=1}"]

    i using this code but not working.

    authors_list categories="19"

    I want to list last content from a certain category?

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

    (@wpkube)

    Hi @jonturks

    There’s a few issues with the contents of the shortcode in there, “authors_list” repeated a few times and after_title called 2 times, here’s a cleaned up version:

    [authors_list categories="19" style="4" columns="4" amount="8" show_count="no" show_bio="no" orderby="post_date" roles="editor,contributor" after_title="{alf:latest_post_date link=no format=d.m.Y} {alf:posts type=plain amount=1}"]

    As for the categories. Is that for the latest post you’re showing?

    Because the category option is to limit which authors are shown, when that option is set it only shows authors who have posts in that specific category.

    It’s not for the “latest post”, there’s no option at the moment for that but if that’s what’s needed let me know and I’ll put it on the to do list for next update.

    Thread Starter jonturks

    (@jonturks)

    Hello!

    Thank you come back!

    I just need to list the most recent posts for a particular role in a particular category.

    it is so complicated πŸ˜€

    Plugin Author WPKube

    (@wpkube)

    Hi @jonturks

    Will release an update tomorrow or on Saturday that will allow you to do that.

    Thread Starter jonturks

    (@jonturks)

    Ok bro I’ll wait πŸ™‚

    Plugin Author WPKube

    (@wpkube)

    Hi @jonturks

    The update is released.

    Here’s your new shortcode:

    [authors_list categories="19" style="4" columns="4" amount="8" show_count="no" show_bio="no" orderby="post_date" roles="editor,contributor" after_title="{alf:posts type=plain amount=1 show_date=yes date_format=d.m.Y categories=2}"]

    Just replace that 2 at the very end to the ID of the category you want.

    Thread Starter jonturks

    (@jonturks)

    Yes! thank you bro

    Plugin Author WPKube

    (@wpkube)

    You’re welcome.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘last content from a certain category’ is closed to new replies.