Birgit Bauer

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • in reply to: tickets standard email #1099906
    Birgit Bauer
    Participant

    Hi George,

    this code did work! Thank you!

    in reply to: tickets standard email #1098717
    Birgit Bauer
    Participant

    Hello George,

    thank you for your help.

    I added the code to my child themes functions.php but this didn’t do the trick.

    Any other ideas I may try out?

    Here is the functions.php for reference:

    <?php
    //
    // Recommended way to include parent theme styles.
    //  (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
    //  
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', PHP_INT_MAX );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array('parent-style')
        );
    
        wp_enqueue_script( 'child-js', 
        	get_stylesheet_directory_uri() . '/js/custom.js',
        	array( 'jquery' ),
        	false,
        	true 
        );
    }
    //
    // Your code goes below
    //
    
    // remove slug conflict admin notice
    if (class_exists('Tribe__Events__Admin__Notice__Archive_Slug_Conflict')) {
      remove_action( 'admin_init', array( Tribe__Events__Admin__Notice__Archive_Slug_Conflict::instance(), 'maybe_add_admin_notice' ) );
    }
    // translations for eventscalendar
    add_filter('gettext', 'translate_text');
    add_filter('ngettext', 'translate_text');
     
    function translate_text($translated) {
    $translated = str_ireplace('Eintritt', 'Preis', $translated);
    $translated = str_ireplace('Karten', 'Teilnehmerplätze', $translated);
    return $translated;
    }
    
    add_action( 'init', 'tribe_dont_send_tickets_email' );
     
    function tribe_dont_send_tickets_email() {
        remove_action( 'wootickets-send-tickets-email', array( 'Tribe__Tickets_Plus__Commerce__WooCommerce__Email', 'trigger' ) );
    }
    • This reply was modified 8 years, 1 month ago by Birgit Bauer.
    in reply to: syntax error #1098715
    Birgit Bauer
    Participant

    Hello,
    I already found the error. There was a problem with generating the invoice pdf. The logo image had no width and height.

    So this ticket can be closed.

    Thank you!

    in reply to: Delete a comma #1071885
    Birgit Bauer
    Participant

    Hello George,

    what about updates? Can I save this in my child theme to have it protected against updates?

    Or how can I protect it?

    in reply to: change the order of previous/next links #1069829
    Birgit Bauer
    Participant

    hello Nico,

    I’d have better take a look down in that file and I would have seen it 🙂

    Worked .. Thank you!

    in reply to: clickable email address? #1069263
    Birgit Bauer
    Participant

    Hi Nico and Mathew,

    thank you for your help. That worked perfectly 🙂

    in reply to: change the order of previous/next links #1069262
    Birgit Bauer
    Participant

    hello Nico,

    thank you for your help.

    I tried the code and it displayed the links above as I wanted to have them displayed but I also wanted to remove the old position.

    Now they are displayed above AND under the headline. And I want to have them only above the headline. 🙂

    Could you help me with this too?

    Thank you!

    in reply to: Events in List view and Month don't show up #1066660
    Birgit Bauer
    Participant

    Hello Brian,

    finally I got to it … and it worked.

    Thank you!

    in reply to: responsive calender widget #1062800
    Birgit Bauer
    Participant

    Hello Brook,

    works .. nice Thank you!

    in reply to: search button not responsive #1062799
    Birgit Bauer
    Participant

    Hello Brook,

    yes that’s working for me too. 🙂 Thank you!

    in reply to: Events in List view and Month don't show up #1062798
    Birgit Bauer
    Participant

    Hello Brian,

    I switched the Ticketplugins on and off.

    This is was the debug-log says:

    27-Jan-2016 02:22:52] PHP Notice: Undefined index: cat in /var/www/www.bildungsraum.at/htdocs/wp-content/plugins/categorized-tag-cloud/categorized-tag-cloud.php on line 35
    [27-Jan-2016 02:23:02] PHP Notice: Undefined index: cat in /var/www/www.bildungsraum.at/htdocs/wp-content/plugins/categorized-tag-cloud/categorized-tag-cloud.php on line 35
    [27-Jan-2016 02:23:57] PHP Fatal error: Call to undefined function tribe_get_date_option() in /var/www/www.bildungsraum.at/htdocs/wp-content/plugins/the-events-calendar/src/functions/template-tags/loop.php on line 324
    [27-Jan-2016 02:24:07] PHP Fatal error: Call to undefined function tribe_get_date_option() in /var/www/www.bildungsraum.at/htdocs/wp-content/plugins/the-events-calendar/src/functions/template-tags/loop.php on line 154
    [27-Jan-2016 02:24:34] PHP Fatal error: Call to undefined function tribe_get_date_option() in /var/www/www.bildungsraum.at/htdocs/wp-content/plugins/the-events-calendar/src/functions/template-tags/loop.php on line 154
    [27-Jan-2016 02:24:52] PHP Fatal error: Call to undefined function tribe_get_date_option() in /var/www/www.bildungsraum.at/htdocs/wp-content/plugins/the-events-calendar/src/functions/template-tags/loop.php on line 154
    [27-Jan-2016 02:25:39] PHP Fatal error: Call to undefined function tribe_get_date_option() in /var/www/www.bildungsraum.at/htdocs/wp-content/plugins/the-events-calendar/src/functions/template-tags/loop.php on line 154

    in reply to: Events Page title is Blog Archives #1060235
    Birgit Bauer
    Participant

    Hello Hunter,

    sorry for my late reply. Finally I just translated the strings that ‘print’ the Archives title and it worked well:

    <?php if (is_archive() && !is_author() && !is_category() && !is_tag() && !is_search() && !$is_shop_page): ?>
        <h1 class="entry-title">
            <?php if (is_day()) : ?>
                <?php printf(__('Daily Archives: %s', 'thrive'), '' . get_the_date() . ''); ?>
            <?php elseif (is_month()) : ?>
                <?php printf(__('Monthly Archives: %s', 'thrive'), '' . get_the_date(_x('F Y', 'monthly archives date format', 'thrive')) . ''); ?>
            <?php
            elseif (is_year()) : ?>
                <?php printf(__('Yearly Archives: %s', 'thrive'), '' . get_the_date(_x('Y', 'yearly archives date format', 'thrive')) . ''); ?>
            <?php
            else : ?>
                <?php _e('Blog Archives', 'thrive'); ?>
            <?php endif; ?>
        </h1>
     
    <?php endif; ?>

    So this case can be closed.

    in reply to: responsive calender widget #1060234
    Birgit Bauer
    Participant

    This reply is private.

    in reply to: error message for the slug #1057995
    Birgit Bauer
    Participant

    Hi George, I just deleted the page .. was the simplest way for me …

    Thank you!

    in reply to: Placeholder with spelling mistake #1057993
    Birgit Bauer
    Participant

    Hi Josh,

    thank you. Will do so..

Viewing 15 posts - 1 through 15 (of 26 total)