Forum Replies Created
-
AuthorPosts
-
Birgit BauerParticipant
Hi George,
this code did work! Thank you!
Birgit BauerParticipantHello 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.
Birgit BauerParticipantHello,
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!
Birgit BauerParticipantHello George,
what about updates? Can I save this in my child theme to have it protected against updates?
Or how can I protect it?
Birgit BauerParticipanthello Nico,
I’d have better take a look down in that file and I would have seen it 🙂
Worked .. Thank you!
Birgit BauerParticipantHi Nico and Mathew,
thank you for your help. That worked perfectly 🙂
Birgit BauerParticipanthello 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!
Birgit BauerParticipantHello Brian,
finally I got to it … and it worked.
Thank you!
Birgit BauerParticipantHello Brook,
works .. nice Thank you!
Birgit BauerParticipantHello Brook,
yes that’s working for me too. 🙂 Thank you!
Birgit BauerParticipantHello 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 154Birgit BauerParticipantHello 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.
Birgit BauerParticipantThis reply is private.
Birgit BauerParticipantHi George, I just deleted the page .. was the simplest way for me …
Thank you!
Birgit BauerParticipantHi Josh,
thank you. Will do so..
-
AuthorPosts