';
$contents .= '
' . __( 'Default Location, Time and Type are used when creating a new Meeting.', 'ninety-ninety' ) . '';
$contents .= '' . __( 'For the Default Time option to work as expected you\'ll need to make sure the Timezone is set correctly on the General Settings page.', 'ninety-ninety' ) . '';
$contents .= '';
return $contents;
}
public function map_options() {
$contents = '';
$contents .= '- ' . __( 'API Keys are required for mapping your Meetings.', 'ninety-ninety' ) . '
';
$contents .= '- ' . __( 'The MapBox API key is required for automatically geocoding Location addresses.', 'ninety-ninety' ) . '
';
$contents .= '- ' . __( 'MapBox and Thunderforest API keys are required to display their respective Tile Sets.', 'ninety-ninety' ) . '
';
$contents .= '- ' . __( 'The chosen Tile Set is what determines the appearance of the Meeting Map.', 'ninety-ninety' ) . '
';
$contents .= '- ' . __( 'Default Map Center Lat & Lng determine the initial position of the map. You use the provided link to obtain coordinates of any location.', 'ninety-ninety' ) . '
';
$contents .= '- ' . __( 'Default Map Zoom Level can be adjusted to make sure all of your Meetings appear when the map first loads.', 'ninety-ninety' ) . '
';
$contents .= '
';
return $contents;
}
public function misc_options() {
$contents = '' . __( 'Keep Meetings Private', 'ninety-ninety' ) . "
\n";
$contents .= '';
$contents .= '- ' . __( 'Prevent non-logged-in users from seeing individual Meetings, Meeting archive pages and the Meeting Map.', 'ninety-ninety' ) . '
';
$contents .= '
';
// Chart options
$contents .= '' . __( 'Chart Options', 'ninety-ninety' ) . "
\n";
$contents .= '';
$contents .= '- ' . __( 'Whether or not to display the chart ( below the Map ) and which chart type to use. This can be overridden in the shortcode.', 'ninety-ninety' ) . '
';
$contents .= '- ' . __( 'Choose which chart type to use. This can be overridden in the shortcode.', 'ninety-ninety' ) . '
';
$contents .= '- ' . __( 'Both charts use colors to differentiate between completed and remaining Meetings. You can choose those colors here.', 'ninety-ninety' ) . '
';
$contents .= '
';
return $contents;
}
public function pdf_options() {
$contents = '';
$contents .= '- ' . __( 'Use PDF Title to customize, well, the title of the PDF.', 'ninety-ninety' ) . '
';
$contents .= '- ' . __( 'Choose whether or not to include the number of days between your first and last Meetings on the PDF.', 'ninety-ninety' ) . '
';
$contents .= '- ' . __( 'Optional start and end dates to limit the range of the PDF.', 'ninety-ninety' ) . '
';
$contents .= '
';
return $contents;
}
public function meeting_help() {
$contents = '';
$contents .= __( 'Add meeting details - where, when, what, etc...', 'ninety-ninety' );
$contents .= '
';
$contents .= '';
$contents .= __( 'Private notes are not displayed on the front end.', 'ninety-ninety' );
$contents .= '
';
return $contents;
}
}
/**
* Return single instance of class.
*
* @return ninetyHelpContents
* @since 1.0.0
*/
function ninety_help() {
global $ninety_help;
if ( ! $ninety_help ) {
$ninety_help = new ninetyHelpContents();
}
return $ninety_help;
}