Jonah

Forum Replies Created

Viewing 15 posts - 2,596 through 2,610 (of 4,001 total)
  • Author
    Posts
  • in reply to: Category template? #21155
    Jonah
    Participant

    Hi Jennifer,

    Event categories use the same template views as regular event pages and all you need to do is throw in some conditional code to check if you are on a particular category for whatever view you want to affect.

    if( is_tax('tribe_events_cat','celebrations') ) ) {
    //execute whatever code you want for the "celebrations" category slug
    }

    You might want to checkout our themer’s guide for more information on theming and template views: https://theeventscalendar.com/themers-guide-to-the-events-calendar/

    Does that help?

    – Jonah

    Jonah
    Participant

    Hi Lydia,

    You would basically just remove both of those lines completely. Let me know whether or not that works.

    – Jonah

    in reply to: Not showing "Updated" on the Event once created #21153
    Jonah
    Participant

    Hi Lydia,

    To remove the address block, you can remove lines 74-84 in the original /wp-content/plugins/the-events-calendar/views/single.php – take a look at that file for reference of what to remove in your modified version because the line numbers will be different.

    – Jonah

    in reply to: event cal pro dropping menus #21151
    Jonah
    Participant

    Can you guys please share exactly how you are creating the menu/theme locations and the code you are using in your templates to call the menus?

    Thanks,
    Jonah

    Jonah
    Participant

    Hi James,

    It seems like your best bet is going to be to use the Default Events Template, I’m not quite sure why the Default Page Template is not working but it must be some incompatibility with your theme.

    What you’ll need to do to get up and running with the Default Events Template is one of two options.

    1. Add Before & After HTML in Settings > The Events Calendar > Template and include the particular markup (wrapper div’s) from your theme to wrap the calendar. You can likely find this in your theme’s page.php template. Look for what’s missing in the markup when you inspect the page.

    2. Edit /wp-content/plugins/the-events-calendar/views/ecp-page-template.php by making a copy and placing in an ‘events’ folder in your theme. Then, do the same thing in that file. Add the necessary HTML wrappers particular to your theme to get the calendar wrapped nicer.

    I hope that helps!

    – Jonah

    in reply to: Modifying table.php and tribe_calendar_grid() #21136
    Jonah
    Participant

    Hi Andrew,

    I’m not quite sure why this isn’t working for you although it probably has something to do with it being inside the loop. Unfortunately we do not have the resources to be able to support customization like this so you’re on your own. One thing that might help you is the Debug Bar (http://wordpress.org/extend/plugins/debug-bar/) and Debug Bar Extender (http://wordpress.org/extend/plugins/debug-bar-extender/) plugins to help you troubleshoot the current query and variables.

    Good luck and please do post back here if you have any success!

    Thanks,
    Jonah

    Jonah
    Participant

    Hi Lydia,

    The prev/next events at the bottom of individual events is in /wp-content/plugins/the-events-calendar/views/single.php (or in your overridden single.php file in an ‘events’ folder in your theme). Lines 109 & 111 are the lines to work with.

    Does that help?

    – Jonah

    in reply to: Accessing Events Calendar data #21106
    Jonah
    Participant

    Sweet! Let us know if there’s anything else you need with this.

    – Jonah

    in reply to: featured image path on single event pages? #21105
    Jonah
    Participant

    Hi Tony,

    You are going to want to use native WordPress functions for this since this doesn’t have much to do with our plugin. You can get the URL path of an image with: http://codex.wordpress.org/Function_Reference/wp_get_attachment_url

    I hope that helps, let us know if you need anything else with this.
    – Jonah

    in reply to: Translation problems #21103
    Jonah
    Participant
    in reply to: Custom taxonomy and search for tribe_events #21102
    Jonah
    Participant

    Hi Jesse,

    Have you seen this: https://theeventscalendar.com/queries-and-pagination/

    Does that help?

    – Jonah

    in reply to: Adding custom fields to event / venue editor? #21101
    Jonah
    Participant

    Hi Jesse,

    Unfortunately we don’t have this capability right now but I’ve noted this as a potential feature we add in a future version of the Community Events plugin. For now you would need to figure out something on your own. If you do, please let us know as this would likely benefit other users.

    Thanks,
    Jonah

    in reply to: Visual Editor misaligned in Event Form #21083
    Jonah
    Participant

    Hi Michelle,

    I’ve taken another look at this and am stumped. It still looks like it’s got to be your theme that’s applying this extra styling but I’m not positive. I’ve asked one of our other devs to take a look and will get back to you on this ASAP.

    Stay tuned,
    Jonah

    Jonah
    Participant

    Hey Caleb,

    The technique I provided back in January was a little outdated and in most all cases where you want to modify the query on any page you will want to use the pre_get_posts hook in WordPress. I would suggest looking at WordPress’ documentation on this: http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts

    One example of this in action is this Gist to exclude a category from the calendar page: https://gist.github.com/2142161 – you could pretty easily modify this to add or change the condition to check if you are on the category results page and pass in post_type query params to bring in event posts with the ‘tribe_events’ post type.

    Does that help?
    – Jonah

    in reply to: Unwanted gray boxes appear when plugin is activated #21050
    Jonah
    Participant

    Hi Mark,

    The problem here is that the Community Events plugin is loading a stylesheet for jQuery UI which is applying styles to jQuery UI elements your theme is using. I’m going to check with the other developers to see what the best method for remedying this is. I know we could just override the styles to reset things but it may be better to actually remove the jQuery UI stylesheet loaded by our plugin unless you’re on the page where it’s needed by our plugin.

    I’ll get back to you ASAP on this. Thanks for your patience.

    – Jonah

Viewing 15 posts - 2,596 through 2,610 (of 4,001 total)