开发者 |
theeventscalendar
brianjessee camwynsp paulkim sc0ttkclark aguseo bordoni borkweb GeoffBel jentheo leahkoerper lucatume neillmcshea patriciahillebrandt vicskf zbtirrell juanfra |
---|---|
更新时间 | 2022年12月28日 03:33 |
PHP版本: | 4.5 及以上 |
WordPress版本: | 6.1.1 |
gigpress
folder to the /wp-content/plugins/
directory on your web server[gigpress_shows]
in the page content. This shortcode accepts several parameters - please refer to the documentation for details.[gigpress_menu]
improving the safety of the plugin./gigpress/
. [GP-8]gigpress_country_list
filter to allow customizing the country list. [GP-12]gigpress_venue_city_required
filter to allow setting the city as a not required field. [GP-13]gigpress_related_post_entries
filter to allow customizing the related post entries (props @thomasdebruin) [GP-5]plugins_loaded
action hook. Thanks @thomasdebruin for submitting this fix! [116319]gigpress_show_json_ld_markup
to make modifications to JSON LD output easier [79184]screen_icon()
functionWP_PLUGIN_URL
with plugins_url()
function for compatibility with SSL-enabled sites (hat-tip: Jonathan Eiseman)$wpdb->prepare()
arguments missing)$showdata
parameter 'calendar_summary_ical'.divider
CSS class to .gigpress-divider
to prevent CSS conflicts with some themes$showdata
variablesgigpress_has_upcoming()
to check if there are upcoming shows$showdata
parameters 'calendar_location_ical' and 'calendar_details_ical'current_time()
function which was causing shows to expire based on the server time rather than the WordPress localized timeinit
action being interpreted as a constantgigpress_menu()
("menu_sort" when used as part of the shortcode)[gigpress_related_shows]
shortcodeclean_url()
calls with esc_url()
clean_url()
function on inputted URLs in place of my far-less-robust version[gigpress_related_shows]
shortcode for manual placement of related show info in postsgigpress_sidebar()
function options$showdata['date_mysql']
and $showdata['end_date_mysql']
variables to the $showdata
array$showdata['related_id']
to the list of available template variables, containing the ID of the show's related postgigpress_sidebar()
functiongigpress_sidebar()
was "today" rather than "upcoming"[gigpress_shows]
shortcode to display only shows happening today[gigpress_shows]
shortcode to control date sortinggigpress_sidebar()
function to behave more like the gigpress_shows()
function (arguments are now passed as an array, and the function must be echoed). If you call gigpress_sidebar()
from your template you must update your code - please see the docs for details$link
and $show_feeds
for the sidebar-list-footer template - update your customized template if necessary (see default template for example use)[gigpress_menu]
shortcode/function for displaying a monthly or yearly dropdown menu independent of the [gigpress_shows]
shortcodeshow_menu
parameter for [gigpress_shows]
shortcode to display a monthly or yearly dropdown menu for filtering the shows specified by the shortcodeyear
and month
parameters for [gigpress_shows]
shortcode for filtering shows by date$artist
and $tour
parameters passed to the gigpress_sidebar()
function were ignored when not grouping by artist$artist
and $tour
parameters passed to the gigpress_sidebar()
function were ignoredartist_order
- defaults to custom
but can be set to alphabetical
to override custom artist ordering$total_shows
variable to related show template (useful for posts with multiple related shows)/wp-content/gigpress-templates/
, /(active_theme_folder)/gigpress-templates/
or /(child_theme_folder)/gigpress-templates/
$showdata
array for use in custom templatesvenue
shortcode parameter to display only shows from a specific venue[gigpress_shows]
and added some new parameters - see docs for details (old shortcodes will still work!)$wpdb->prepare
everywhere for improved securitygigpress_upcoming()
and gigpress_archive()
template tags - these functions now need to be echoed, e.g. <?php echo gigpress_upcoming(); ?>
<link>
element to each item in the RSS feed, linked to the page set on the options page