Jonah

Forum Replies Created

Viewing 15 posts - 1,846 through 1,860 (of 4,001 total)
  • Author
    Posts
  • Jonah
    Participant

    Hi Victoria,

    What does the Featured Widget Amplified display? Would you be able to provide us a copy of the theme for evaluation/testing purposes? I have the Genesis framework but not this particular theme… You can email to pro [at] tri [dot] be and reference this thread and attn. to me please.

    Thanks,
    Jonah

    in reply to: Date not showing up above title in list view #28189
    Jonah
    Participant

    Hi Melanie, try this snippet instead: http://snippi.com/s/z2pjray

    Let me know how it goes.

    – Jonah

    in reply to: Upgrade: Calendar Over Sidebar, Image from Event on Calendar #28188
    Jonah
    Participant

    Sorry that first snippet to add the body classes got a little mangled. Try this instead: https://gist.github.com/2127103

    in reply to: Upgrade: Calendar Over Sidebar, Image from Event on Calendar #28187
    Jonah
    Participant

    Hi Beth,

    There are a couple of things that I can offer that may be of help in Thesis. One, try using this code in a custom_functions.php file in a ‘custom’ directory inside your Thesis theme folder (you might already have one of these). Code:

    // Add a class for styling
    function add_classes($classes) {
    if('tribe_events' == get_post_type()) {
    if ( is_single() && !tribe_is_showing_all() ) { // single event
    $classes[] = 'single-event';
    } elseif ( tribe_is_upcoming() || tribe_is_past() || tribe_is_day() || (is_single() && tribe_is_showing_all()) ) { // list view
    $classes[] = 'list';
    } else { // grid view
    $classes[] = 'grid';
    }
    } else {

    }
    return $classes;
    }
    add_filter('thesis_body_classes', 'add_classes');

    This will then allow you to target anything on any of those pages, i.e. the featured image that’s showing up on the calendar page. So with the above code in place you would be able to hide the featured image div like so:

    .grid #featured_main_pg_image {
    display: none;
    }

    For the sidebars, there’s this code that you would add to you custom_functions.php file that may help you:

    // Conditionally remove original sidebars
    function no_sidebars() {
    global $wp_query;
    if('tribe_events' == get_post_type()) {
    $my_post_count = $wp_query->found_posts;
    echo $my_post_count;
    if ( $wp_query->query_vars['post_type'] == TribeEvents::POSTTYPE && is_single() && !is_tax(TribeEvents::TAXONOMY) ) { // single event
    return true;
    } elseif($wp_query->query_vars['eventDisplay'] == 'past' && $wp_query->query_vars['post_type'] == TribeEvents::POSTTYPE && is_paged() && $my_post_count > 0) {
    return false;
    } elseif ( $wp_query->query_vars['eventDisplay'] == 'upcoming' || $wp_query->query_vars['eventDisplay'] == 'past' && $wp_query->query_vars['post_type'] == TribeEvents::POSTTYPE && !is_tax(TribeEvents::TAXONOMY) ) { // list view
    return true;
    } elseif ( $wp_query->query_vars['post_type'] == TribeEvents::POSTTYPE && $wp_query->query_vars['eventDisplay'] == 'month' && !is_tax(TribeEvents::TAXONOMY) ) { // grid view
    return false;
    } elseif ( $wp_query->query_vars['post_type'] == TribeEvents::POSTTYPE && $wp_query->query_vars['eventDisplay'] == 'month' && is_tax(TribeEvents::TAXONOMY) ) { // grid view categories
    return false;
    } elseif ( $wp_query->query_vars['post_type'] == TribeEvents::POSTTYPE && tribe_is_day() ) { // single event days
    return false;
    }
    } elseif( $wp_query->query_vars['post_type'] == TribeEvents::VENUE_POST_TYPE ) { // venues
    return false;
    } else {
    return true;
    }
    }
    add_filter('thesis_show_sidebars', 'no_sidebars');

    I hope this all helps but let me know if you need anything else. Oh, and if you’re happy with the plugin and support we sure would appreciate a review here: http://wordpress.org/support/view/plugin-reviews/the-events-calendar

    Many thanks,
    – Jonah

    Jonah
    Participant

    Hey aman704,

    Sorry about the delay on this. I’ll have an answer for you today.

    – Jonah

    in reply to: Event single day view, no pagination #28182
    Jonah
    Participant

    Awesome to hear! Let us know if you need anything else.

    – Jonah

    in reply to: Upgrade: Calendar Over Sidebar, Image from Event on Calendar #28177
    Jonah
    Participant

    Hi Beth,

    I’m not quite sure how the update would have changed things but there’s not a lot of space for the calendar overall anyway… One possible way you can solve the width/overlapping issue is to add this but of CSS to your theme’s style.css:

    .tribe-events-calendar td .tribe-events-event {
    width: 67px;
    }

    For the other issue with the image from a Facebook event, it looks like for some reason your theme is pulling in the featured image from the first event in the calendar. What theme are you using? Thesis?

    – Jonah

    in reply to: Auto import not working #28174
    Jonah
    Participant

    Hi Dave,

    What is the page or organization you are trying to import from? Also, auto import is only going to import future events and not past events (those you will need to manually import) so make sure you have some upcoming events.

    – Jonah

    in reply to: Event single day view, no pagination #28173
    Jonah
    Participant

    Hi Sandro,

    Here’s a code snippet that should work for you: https://gist.github.com/4088946

    If you want to do pagination I highly recommend this jQuery plugin: http://luis-almeida.github.com/jPages/ – it makes pagination for any type of element super easy! Let me know if you need anything else.

    – Jonah

    in reply to: Schedule and Blog Highlighted at the same time on Menu #28160
    Jonah
    Participant

    Hi Dave,

    There are no ID’s but you can use these conditional statements to make your own if you want: https://gist.github.com/2415009

    You could just create a variable in PHP ($page_id) and then in any given statement, set the ID or text string you want. ID might not be a good idea because it could conflict with other auto generated ID’s.

    – Jonah

    in reply to: Upgraded to Calendar Pro – main calendar grid view #28145
    Jonah
    Participant

    Hi Kevin,

    So I took a look at things and when I reverted to the Twenty Eleven theme and added the Calendar widget to one of the page sidebars it worked fine. So this indicates it’s something in your theme, likely something with jQuery or other javascript. You’ll need to go through things, removing code until it works. Good luck!

    – Jonah

    in reply to: Update Events Calendar 2.0.9 ->2.0.10 issues #28134
    Jonah
    Participant

    Hi Matt,

    No it will not delete all your events, they are in the database, not in the files. To manually update, simply download a copy of the plugin and copy/paste/upload the contents of the zip and replace everything in the wp-content/plugins/events-calendar-pro folder on your server with that.

    – Jonah

    in reply to: Schedule and Blog Highlighted at the same time on Menu #28132
    Jonah
    Participant

    Hi Dave,

    What do you mean the “pages tab”? You can create custom links in Appearance > Menus and add links for whatever you want to menus if that’s what you’re asking. No, Calendar and Upcoming Events are not child pages or parent pages. They are rather virtual dynamic pages created by the plugin.

    Does that answer your question?

    – Jonah

    Jonah
    Participant

    Sounds good Sheila, let me know how that goes.

    – Jonah

    in reply to: Events homepage showing individual event titles #28129
    Jonah
    Participant

    Hi Josh,

    The above references both using the Default Events Template or Default Page Template which would the latter would also include any other theme page templates. So, if you’re using the Full Width template in your theme, follow the instructions for finding where the_title() is called in your theme and modify the code accordingly.

    I hope that helps.

    – Jonah

Viewing 15 posts - 1,846 through 1,860 (of 4,001 total)