Jonah

Forum Replies Created

Viewing 15 posts - 3,601 through 3,615 (of 4,001 total)
  • Author
    Posts
  • in reply to: Looking for a way to merge Event Category with Blog Category #15276
    Jonah
    Participant

    No problem Jason, hopefully that steered you in the right direction.

    in reply to: Looking for a way to merge Event Category with Blog Category #15270
    Jonah
    Participant

    Hi Jason,

    If you don’t know PHP very well this is going to be difficult and we’re not going to really be able to help you out much. This might help though, I found this googling around for ‘genesis modify standard loop’ (Source: http://designsbynickthegeek.com/tutorials/genesis-explained-framework-actions):


    remove_action('genesis_loop', 'genesis_do_loop');
    add_action('genesis_loop', 'child_do_loop');
    function child_do_loop() {
    global $query_string;

    $args = array ( 'cat' => -1, 'order' => 'ASC' );

    $args = wp_parse_args( $query_string, $args );

    genesis_custom_loop( $args );
    }

    You can try placing that in your functions.php file and then you’ll want to modify the arguments being passed to the query to include the ‘tribe_events’ post type and the tax_query args for your category… Something along these lines:


    remove_action('genesis_loop', 'genesis_do_loop');
    add_action('genesis_loop', 'child_do_loop');
    function child_do_loop() {
    global $query_string;

    $args = array ( 'post_type' => array('post','tribe_events'), 'tax_query' => array(... use the above tax_query code ...) );

    $args = wp_parse_args( $query_string, $args );

    genesis_custom_loop( $args );
    }

    You’ll probably also only want to execute this on certain pages otherwise this is going to affect the standard loop wherever it’s called (i.e. archives, search and category pages)

    I hope that helps, good luck!
    Jonah

    in reply to: Front End Calendar View #15230
    Jonah
    Participant

    Ooops, sorry about that Ron and sorry about calling you Ken 🙂 Must have mixes up threads… I meant line 139.

    in reply to: remove end-time event? #15223
    Jonah
    Participant

    Awesome, glad to hear!

    in reply to: How to do a horizontal widget? #15214
    Jonah
    Participant

    Hi Rene,

    Yes you can modify the CSS completely so that the widget or anything else on your site is displayed however you want. The easiest way to modify the plugins CSS is to make a duplicate copy of /wp-content/plugins/the-events-calendar/resources/events.css and place in an ‘events’ folder in your theme. You’ll need to figure out the CSS on your own but you’ll probably want to do something like float the widget list items to get them side by side…

    As for getting images in the widgets, I wrote up a tutorial on this: https://theeventscalendar.com/how-to-show-featured-thumbnails-in-the-next-events-widget/

    I hope that helps,
    – Jonah

    in reply to: Plugin not recognizing theme override #15213
    Jonah
    Participant

    Hi Daniel,

    I could have sworn I replied to this yesterday… not sure why it didn’t post. There are two versions of the list widget and it’s overrides, the regular one (/wp-content/plugins/the-events-calendar/views/events-list-load-widget-display.php) and the PRO one (/wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php

    If you have PRO activated the regular widget is not used and the PRO is so you’ll want to override it instead. Make sense?

    Try that and let me know if you’re still having trouble.

    – Jonah

    in reply to: Colouring the calendar #15212
    Jonah
    Participant

    Hey Coach,

    You should be able to add ‘.tribe-events-tooltip h5’ as a selector to target to apply your background to the tooltip titles. Try that and let me know whether or not it works.

    – Jonah

    in reply to: remove end-time event? #15133
    Jonah
    Participant

    Oh, then just remove lines 22 and 23 in single.php

    in reply to: Front End Calendar View #15130
    Jonah
    Participant

    Hi Ken,

    What you’ll want to do here is override the table.php view that renders the content in the calendar view. To do this make a duplicate copy of /wp-content/plugins/the-events-calendar/views/table.php in an ‘events’ folder in your theme.

    Next find line 147 and you’ll see it’s just a basic HTML link. All we need to do is add the event date/time and we can do that with the plugin template function: echo tribe_get_start_date();

    Replace the code on that with this: http://pastebin.com/hVuD9aJy

    That will include the function. If you need to change the date/time format just take a look at our documentation on the function: https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-date-functions/#functiontribe_get_start_date

    I hope that helps.

    in reply to: Body class function #15127
    Jonah
    Participant

    Hey Ken,

    What about using:


    && 'tribe_events' != get_post_type()

    or:


    && !tribe_is_event()

    in reply to: Colouring the calendar #15126
    Jonah
    Participant

    Hi there, can you post a link to your site so I can take a look at what you’ve got setup?

    Jonah
    Participant

    Hi Marcy,

    It does indeed sound like you do not have enough memory allocated for your website. You’ll want to first try allocating more memory as I suspect this will resolve the issue. This article outlines 5 ways you can do this on your server: http://www.dailyblogging.org/wordpress/increase-wordpress-memory-limit/

    If none of those work you’ll need to contact your web host to see about having them doing it for you.

    Regards,
    Jonah

    in reply to: Events Calendar Pro Widget not displaying properly #15124
    Jonah
    Participant

    Hi Leonard,

    Yep you can modify the CSS by overriding the plugins CSS by placing a duplicate copy of events.css (wp-content/plugins/the-events-calendar/resources/events.css) in an ‘events’ folder in your theme.

    Look for line 416 that should look like:

    .eventsListWidget li, .singular.page li.hentry, .eventsAdvancedListWidget li, .singular.page li.hentry {
    margin: 6px 0 !important;
    padding: 0 0 10px 0 !important;
    }

    Just remove the !important rules like so:

    .eventsListWidget li, .singular.page li.hentry, .eventsAdvancedListWidget li, .singular.page li.hentry {
    margin: 6px 0;
    padding: 0 0 10px 0;
    }

    Jonah
    Participant

    Hey Cam,

    If you’re using the PRO version of the plugin you’re using the Events List Advanced Widget which uses the override located in:

    /wp-content/plugins/events-calendar-pro.2.0.3/views/events-advanced-list-load-widget-display.php

    You’ll want to override that file instead.

    Let me know if you need anything else with this,
    Jonah

    in reply to: Won't display single event posts #15011
    Jonah
    Participant

    Hi Herman, can you provide me WP admin access so I can take a closer look? Please email to: jonahcoyote [at] gmail [dot] com

    Thanks,
    Jonah

Viewing 15 posts - 3,601 through 3,615 (of 4,001 total)