Sören

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Remove link to the event location #1010153
    Sören
    Participant

    Yes! Thanks 🙂

    in reply to: Remove link to the event location #1009323
    Sören
    Participant

    Hi George,

    it works but then the name without the links appears on the top of the page:

    <body class="single single-tribe_events postid-1032 tm-isblog tm-article-blog wp-tribe_events-single tm-navbar-bg tribe-bar-is-disabled tribe-theme-yoo_helios_wp tribe-events-page-template tribe-is-responsive">HÄKKEN – Bar + Bühne

    in reply to: Change Number of events to show in event list widget pro #1007189
    Sören
    Participant

    A friend of me helped me, here is the solution:

    add_filter('widget_display_callback', 'increase_event_widget_limit', 10, 2);
    /**
    * Test if the current widget is an Advanced List Widget and fix the event limit if it is.
    */
    function increase_event_widget_limit($instance, $widget) {
    	if (is_a($widget, 'Tribe__Events__Pro__Advanced_List_Widget')) if($instance['limit']==10) $instance['limit'] = 500;
    	 
    	return $instance;
    }
    in reply to: Change Number of events to show in event list widget pro #1006756
    Sören
    Participant

    I think that would work for me, but i have no idea how to modify the snippet :/

    in reply to: Change Number of events to show in event list widget pro #1006325
    Sören
    Participant

    Okay, i thinks this is not possible to me. If you create the widget, you have 10 values: 1 – 10. Where do they come from and is it possible to manipulate them? Maybee you see the value 10 but it shows 30?

    in reply to: Change Number of events to show in event list widget pro #1005773
    Sören
    Participant

    Okay, it works but i use the widget two times – it’s a one page layout:/
    So in the first widget i want to show only the next one and in the second i want to show all events. If i use your code, both widgets are showing 30 events. Hope you have an idea 🙁

    http://www.xn--hkken-gra.de/

    in reply to: Change Number of events to show in event list widget pro #1005650
    Sören
    Participant

    Yes, i see that in there but there is no value to change:

    <?php
    /**
    * @package   Helios
    * @author    YOOtheme http://www.yootheme.com
    * @copyright Copyright (C) YOOtheme GmbH
    * @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
    */
    
    // check compatibility
    if (version_compare(PHP_VERSION, '5.3', '>=')) {
    
        // bootstrap warp
        require(__DIR__.'/warp.php');
    }
    
    in reply to: Change Number of events to show in event list widget pro #1005632
    Sören
    Participant

    Hi Geoff,

    your post is different from my mail i get:

    Geoff wrote:

    Hey @ and welcome back!

    Yeah, that can be a little frustrating, can’t it? Try adding this snippet to your theme (or preferably child theme) functions.php file and see if that does the trick. It may not necessarily show the number in the widget settings, but the filter should impact the number of events in the widget itself.

    You can change the value in there from “30” to any number. 🙂

    Cheers!
    Geoff

    Where is he funktions.php file?

    Thansk for your answer 🙂

    in reply to: View more link in the event list widget (pro) #1004334
    Sören
    Participant

    Okay thanks, this worked for me:

    <?php
    	if($count<=1) {
    ?>
    		<p class="tribe-events-widget-link">
    		    <a href="/#programm" rel="bookmark">
    		        <?php esc_html_e( 'View More&hellip;', 'tribe-events-calendar-pro' ) ?>
    		    </a>
    		</p>
    <?php
    	}
    ?>
    in reply to: Additional fields in the events list widget #999322
    Sören
    Participant

    It works out! Thank you very much.

    in reply to: Additional fields in the events list widget #998887
    Sören
    Participant

    Hey Geoff – great! thanks! works!

    One last question i hope, if i click on show more in the widget the following page is the a list view of all events. Witch file should i copy in which folder to make the override? I want the additional field in the list view page too.

Viewing 11 posts - 1 through 11 (of 11 total)