Jonah

Forum Replies Created

Viewing 15 posts - 3,496 through 3,510 (of 4,001 total)
  • Author
    Posts
  • in reply to: Editing "Calendar of Events" and breadcrumbs help #16136
    Jonah
    Participant

    Hi Ken, it should execute the first one when on single events and the last one is just the fallback if none of the other conditions are met it will just execute the regular the_title() function, getting the title for the current page or post.

    in reply to: "Calendar Of Events" title change #16135
    Jonah
    Participant

    Hi Peter, in page.php do you have the the_title() function anywhere? If not, this won’t work. You need to use the code wherever the the_title() function is being called in your theme. It varies theme to theme so you’ll need to look around for it. What theme are you using?

    in reply to: Back button linked to categories #16084
    Jonah
    Participant

    Hey Robert,

    Yes, you would have to use some sort of conditional logic to determine if you are in a specific category, where the back to events link takes you. The Events Calendar uses taxonomy terms for categories so you should be able to do something like this with the is_tax conditional tag (http://codex.wordpress.org/Function_Reference/is_tax) like so:


    if(is_tax('tribe_events_cat','my_cat_slug') {
    // one specific back link
    } elseif(is_tax('tribe_events_cat','another_cat_slug') {
    // another specific back link
    } else {
    // a general back link
    }

    Does that help?

    in reply to: List view as table with multiple columns #16083
    Jonah
    Participant

    Hi Matt, unfortunately this goes beyond the customization help we can provide. In general you’ll want to modify the list.php template file by overriding it (placing a duplicate copy in an ‘events’ folder in your theme) and modifying the markup (adding table code) and re-arranging PHP to get it working the way you want.

    Good luck!

    in reply to: Link events to pages? #16082
    Jonah
    Participant

    Hey Ben, if you want to use the built in custom field capability with the plugin you need to first create the custom fields in Settings > The Events Calendar. Scroll to the bottom and you’ll see where you can add fields. After adding a field, it will then display as an input for all your events.

    in reply to: Gridview Based On Category #16081
    Jonah
    Participant

    Hi Matt,

    Are you looking to list out your different categories or do you just want to limit the main calendar to a category or categories?

    in reply to: No events for the month misaligns my header #16077
    Jonah
    Participant

    Hi Jacob,

    Do you have an example or screenshot I can look at?

    in reply to: Change column width in list view? #16074
    Jonah
    Participant

    Hi David, you just need to modify the CSS – first make a copy of /wp-content/plugins/the-events-calendar/resources/events.css and place in an ‘events’ folder in your theme. Then on line 316 you should see a declaration for:


    #tribe-events-event-meta .column {
    float: left;
    width: 30%;
    padding: 0 4% 0 0;
    text-align: left;
    margin: 0;
    }

    Just change the width there to whatever works for you. I hope that helps!

    in reply to: Indexation of thousands pages #16073
    Jonah
    Participant

    Hey Julien, I’m getting some dev advice on this and will get back to you on it.

    in reply to: Editing "Calendar of Events" and breadcrumbs help #16071
    Jonah
    Participant

    Hey Ken, try using this logic to check for a specific category events list:


    tribe_is_event() && !tribe_is_day() && !is_single() && is_tax('tribe_events_cat','my_cat_slug')

    Just change ‘my_cat_slug’ to the slug of your category. I hope that helps!

    Jonah
    Participant

    Hi Suzan,

    Here is what you would want to change it to:

    echo tribe_get_start_date( $post->ID, $start, 'l j F,Y' );

    Does that work?

    in reply to: Strange Double Rendering with Thesis #16060
    Jonah
    Participant

    Hey Nathan/Ross,

    The second function I posted above should work, I tested in Thesis 1.8.3 so maybe you are using an older version that uses a different filter?

    @Nathan – in my function I first check to see if the tribe_events post type is present and wrap all the other conditional code in that so it should only operate on event related pages. And if the post type is not present, I use the else condition to default to returning true.

    Overall, it should work but make sure you are using the latest version of Thesis…

    Jonah
    Participant

    Well whatever plugins you do have installed can you try deactivating all except for The Events Calendar? And while you’re at it, please also try reverting to the TwentyTen/Eleven theme to rule out a theme conflict. Just trying to narrow this down…

    in reply to: Strange Double Rendering with Thesis #15957
    Jonah
    Participant

    Try this instead:


    // Conditionally remove original sidebars
    function no_sidebars() {

    if('tribe_events' == get_post_type()) {
    if ( is_single() && !tribe_is_showing_all() ) { // single event
    return true;
    } elseif ( tribe_is_upcoming() || tribe_is_past() || tribe_is_day() || (is_single() && tribe_is_showing_all()) ) { // list view
    return true;
    } else { // grid view
    return false;
    }
    } else {
    return true;
    }

    }
    add_filter('thesis_show_sidebars', 'no_sidebars');

    in reply to: Default view setting and mini cal navigation… #15956
    Jonah
    Participant

    Hey Tom, my bad, I thought the link you provided was for your current site…

    To add a Next Month link just create an override for table-mini.php (place a copy in an ‘events’ folder in your theme) and then after the closing table tag add the following: http://pastebin.com/GTymAK5b

Viewing 15 posts - 3,496 through 3,510 (of 4,001 total)