Support » Plugins » [Plugin: The Events Calendar] Posting events as default?

  • Hi,

    I’d love to have the “is this post an event” radio button default to “yes“. The contents of the event setup box should then also be visible, of course.

    Is there a way to do this?

    Thanks in advance (and for this great plugin)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi fehman,

    I have opened an enhancement request on this.

    For faster results, go into the plugin editor, edit The Events Calendar, go to the-events-calendar.php and add this line:

    $_isEvent = ‘yes’;

    Just before the line:

    $isEventChecked = ( $_isEvent == ‘yes’ ) ? ‘checked’ : ”;

    Disclaimer – This has not been fully tested and it will be over-written if you update the plugin. Modify at your own risk.

    EDIT: edited the code, I had written $_isEvent = ‘no’; which was incorrect.

    Works great, thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: The Events Calendar] Posting events as default?’ is closed to new replies.