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

    (@dcooney)

    Hi.
    You would need to grab the query string parameter and parse into the date queries Ajax load more provides.

    You should considered updating the URL to the following.
    https://link.com/?year=2016&month=01&day=20

    <?php
    $y = $_GET['year'];
    $m = $_GET['month'];
    $d = $_GET['day'];
    
    echo do_shortcode('[ajax_load_more year="'.$y.'" month="'.$m.'" day="'.$d.'"]');
    ?>

    This is untested and I wrote it on my phone ??

    Thread Starter skalibran

    (@skalibran)

    Working perfectly. The ?year is a problem, because wordpress itself seems to interpret it, but everything else is working as it should! Thanks!

    Plugin Author Darren Cooney

    (@dcooney)

    Ok great, ah Yes. year is a reserved term for worpress.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get the meta_value of a shortcut from the URL’ is closed to new replies.