Custom styles in tiny_mce editor
Additional functions in functions.php of the child theme (instead of a plugin like TinyMCE Custom Styles): // Prepare tiny_mce for custom styles – Attach callback to ‚tiny_mce_before_init‘ add_filter( ‚tiny_mce_before_init‘, ‚my_custom_styles‘ ); function custom_editor_styles() { add_editor_style(‚editor-styles.css‘); } add_action(‚init‘, ‚custom_editor_styles‘); //add custom styles menu function add_style_select_buttons( $buttons ) { array_unshift( $buttons, ’styleselect‘ ); return $buttons; } //…
Weiterlesen33 Jahresprogramm
Range of Touren in table starts with first day of current year. This is controlled by hidden date range facet, pre-populated with first day of the year by corresponding filter from functions.php
Weiterlesen31 Tourendatenbank (a.k.a. Detailsuche)
posts module querying the Touren custom posts displaying results in custom layout with Table Press table id=1 Facet modules HTML modules for reset buttons ad interim notice 2018-07-02 UABB Advanced Posts module (used for Touren-Uebersicht and Jahresprogramm) does not yet support Facet WP, thus match_today function does not work. ad interim solution with Beaver Builder…
Weiterlesen09 BB Child Theme functions.php mods
// Function to format output of Pods Magic Tag @post_date function my_date($input_date) { return date(„d.m.Y“, strtotime($input_date)); } //Add Shortcode for Zeno Font Resizer PlugIn (see https://bit.ly/2szwANq) function zeno_font_resizer_place_shortcode() { return zeno_font_resizer_place( false ); } add_shortcode(‚zeno_font_resizer‘, ‚zeno_font_resizer_place_shortcode‘); /* Advanced Query Parameters filtering for UABB Posts module for BB Themer part linked on front page */ function…
Weiterlesen