<?php the_sessions($ before,$ sep,$ after);复制代码?> - Very similar to the built-in template tag `[https://codex.wordpress.org/Function_Reference/the_tags](the_tags)`, used within a participant loop this will list the sessions the current participant is taking part in
?>-与内置模板标签`[https://codex.wordpress.org/Function_Reference/the_tags](the_tags)`非常相似,它在参与者循环中使用,它将列出当前参与者正在参加的会议
. Devs: note that there is a filter `cs_the_sessions` you can use on the output of this template tag.
开发人员:请注意,可以在此模板标签的输出中使用过滤器`cs_the_sessions`。
<?php get_the_sessions($ before,$ sep,$ after);
?> - Very similar to the built-in template tag `[https://codex.wordpress.org/Function_Reference/get_the_tags](get_the_tags)`, used within a participant loop this will return a list of the sessions the current participant is
?>-与内置模板标签`[https://codex.wordpress.org/Function_Reference/get_the_tags](get_the_tags)`非常相似,它在参与者循环中使用,它将返回当前参与者所在的会话列表
taking part in. Devs: note that there is a filter `cs_session_links` you can use on the output of this template tag.
参与。开发人员:请注意,可以在此模板标签的输出中使用过滤器`cs_session_links`。
<?php has_schedule();
?> - When used on a Session post in a Session loop, this will tell you whether the current session has a schedule set.
?>-在会话循环中的“会话”帖子上使用时,它将告诉您当前会话是否设置了时间表。
<?php the_start_time($ time_format,$ short_time_format);
?> - When used on a Session post in a Session loop, this will show the scheduled session start time.
?>-在会话循环中的会话帖子上使用时,它将显示计划的会话开始时间。
The `time_format` and `short_time_format` strings are optional and are used to provide a date format, they default to the values on the Conference admin screen under the Settings section of the WordPress admin area.
“ time_format”和“ short_time_format”字符串是可选的,用于提供日期格式,它们默认为WordPress管理区域“设置”部分下“会议管理”屏幕上的值。
If the time is on the hour then the `short_time_format` is used, this enables you to output `10am` instead of `10:00am`, thus saving space.
如果时间是小时,则使用short_time_format,这使您可以输出10am而不是10:00 am,从而节省了空间。
Devs: Note that there is a `cs_the_start_time` filter you can use on the output of this template tag.
开发人员:请注意,可以在此模板标签的输出中使用`cs_the_start_time`过滤器。
<?php get_the_start_time($ time_format,$ short_time_format,$ post);
?> - The same as the `the_start_time` template tag, except it returns the time rather than printing it.
?>-与`the_start_time`模板标签相同,除了它返回时间而不是打印时间。
Devs: Note that there is a `cs_get_the_start_time` filter you can use on the output of this function.
开发人员:请注意,可以在此函数的输出中使用`cs_get_the_start_time`过滤器。
<?php the_end_time($ time_format,$ short_time_format);
?> - When used on a Session post in a Session loop, this will show the scheduled end time for this session.
?>-在会话循环中的“会话”帖子上使用时,它将显示此会话的计划结束时间。
Otherwise identical to `the_start_time` above.
否则与上述`the_start_time`相同。
Devs: Note that there is a `cs_the_start_time` filter you can use on the output of this template tag.
开发人员:请注意,可以在此模板标签的输出中使用`cs_the_start_time`过滤器。
<?php get_the_end_time($ time_format,$ short_time_format,$ post);
?> - The same as the `the_end_time` template tag, except it returns the time rather than printing it.
?>-与`the_end_time`模板标签相同,除了它返回时间而不是打印时间。
Devs: Note that there is a `cs_get_the_end_time` filter you can use on the output of this function.
开发人员:请注意,可以在此函数的输出中使用`cs_get_the_end_time`过滤器。