Viewing 1 replies (of 1 total)
  • Thread Starter ianbutty

    (@ianbutty)

    Actually I think I have found out how to get this two minor changes to the plugin….

    In includes/lcp-parameters.php look for

    if($this->utils->lcp_not_empty('monthnum')):
          $args['monthnum'] = $params['monthnum'];
        endif;

    and add below it

    if($this->utils->lcp_not_empty('day')):
          $args['day'] = $params['day'];
        endif;

    Then in list_cat_posts.php search for

    'monthnum' => '',

    and then below it add:

    'day' => '',

    This means you can then use:
    [catlist monthnum=12 day=25] to display all post on Christmas day.

    Any chance these changes can be added to the plug-in code? So that I won’t have to re-add them everytime there is an update?

Viewing 1 replies (of 1 total)

The topic ‘Daynum?’ is closed to new replies.