• Resolved seyitacar

    (@seyitacar)


    Hello, first of all thank you for this great plugin.

    I’ve done a lot of research but haven’t found a solution for what I want to do, I think you can help.

    How can I sort posts created within a specific date range, not mounthly or weekly.

    For example I want to sort the posts created between 01.01.2021 – 31.01.2021.

    It would be a great solution for me to sort posts created in this month.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @seyitacar,

    The plugin doesn’t provide such feature so it’s not really something that can be done without some custom coding work.

    Thread Starter seyitacar

    (@seyitacar)

    Can you help me do this or do you know of a plugin that can do this?

    Plugin Author Hector Cabrera

    (@hcabrera)

    If you’re not a developer yourself you may want to consider hiring one (or reach out to your regular developer if they’re available) so they can help you implement this feature. If your developer has specific questions about it you can post here and I’ll try to help as much as I can.

    Regarding your other question, sorry I really don’t know.

    Thread Starter seyitacar

    (@seyitacar)

    Well, is it possible to exclude a user in any way? Like PID shortcode

    Plugin Author Hector Cabrera

    (@hcabrera)

    In a way, yes, it’s possible but not practical in some cases: there’s a parameter called author that you can use to whitelist the authors whose posts should be displayed on your popular posts list.

    From the documentation (Settings > WordPress Popular Posts > Parameters):

    author

    If set, WordPress Popular Posts will retrieve all entries created by specified author(s) ID(s).

    Example:

    With wpp_get_mostpopular():

    <?php
    $args = array(
        'author' => '75,8,120'
    );
    
    wpp_get_mostpopular($args);
    ?>

    With the [wpp] shortcode:

    [wpp author='75,8,120']

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to Show Popular Posts Specific Time Range’ is closed to new replies.