• Resolved sosonice

    (@sosonice)


    Hi Marcel. It’s a pleasure to use your plug-in. Is there any overview about the available shortcodes? Another question: Is there a short code to show not only the date of an event but the time I entered via Quick edit as well? We use the plug in for a primary school and our parents and children are missing the time for an event on a specific day. Thank you very much.

    • This topic was modified 1 year, 1 month ago by sosonice.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi,
    There are PHP filters available for this. You can add the following code to functions.php of your theme, preferably a child theme. Or add it to your own custom plugin.

    function my_ssec_get_the_date( $the_date, $format, $post ) {

    $time = get_the_date( 'g:i A', $post );
    $the_date = $the_date . ' ' . $time;
    return $the_date;

    }
    add_filter( 'ssec_get_the_date', 'my_ssec_get_the_date', 10, 3 );

    Plugin Author Marcel Pol

    (@mpol)

    For shortcodes, there are 2 available.

    super_simple_event_calendar
    parameters:
    ‘posts_per_page’ => -1,
    ‘status’ => ‘future’,
    ‘order’ => ‘ASC’,
    ‘season’ => 0,

    super_simple_event_calendar_widget
    parameters:
    ‘title’ => ‘Calendar’,
    ‘num_entries’ => 3,
    ‘season’ => 0,
    ‘postid’ => 0,

    And thank you, I updated the readme with this.

    Thread Starter sosonice

    (@sosonice)

    Thank you.

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

The topic ‘Overview Short codes’ is closed to new replies.