Jonah

Forum Replies Created

Viewing 15 posts - 3,841 through 3,855 (of 4,001 total)
  • Author
    Posts
  • in reply to: limit contents of event in 'list view' #12932
    Jonah
    Participant

    Hey Robert,

    You’re probably having problems because you’re removing the endif – try taking that out and also only remove the instead of the tag…

    The permalinks for the events should be fine.

    in reply to: Is it possible to duplicate events? #12929
    Jonah
    Participant

    Hi Judd, there’s no built in functionality for this but have you tried searching for a 3rd party plugin to accomplish this? Something like: http://wordpress.org/extend/plugins/duplicate-post/ might work…

    in reply to: Customize widget content #12927
    Jonah
    Participant

    Hi Tony,

    I’m sure there is someone willing to help you, you just need to ask but you may need to pay for custom development too 🙂

    in reply to: Display multi day Dates in list.php #12924
    Jonah
    Participant

    Hi Andrew, the code for this functionality should already be in place in list.php – starting at line 49, this is what you should see: http://pastebin.com/414EXh0u

    So if the event is a multiday event, it will display the start and end dates, else it will just display the start date. That’s what you want right? Or am I misunderstanding you?

    – Jonah

    in reply to: Events from a specific category on sidebar #12922
    Jonah
    Participant

    Hey Loren,

    To override the calendar widget you simply need to put the table-mini.php file in an ‘events’ folder in your theme. Then in table-mini.php, look at line 12 where the events query is being setup. You can pass any extra parameters you want, such as querying for specific categories. Keep in mind though that The Events Calendar uses taxonomies as categories, rather than actual categories so you would want to use the tax_query parameter to pass in the categories you want to query for. See this codex article for more info: http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters

    You can also use any other WP_Query parameters to affect your query. That should get you going in the right direction.

    Regards,
    Jonah

    in reply to: Customize widget content #12918
    Jonah
    Participant

    Hi Tony, I’m afraid no there’s not…

    in reply to: Calendar Templates / Grid View Header & Footer #12915
    Jonah
    Participant

    Yeah we’re working on getting code functionality in the forum comments – try http://pastebin.com/ for now… Glad you got it working!

    in reply to: PHP error #12899
    Jonah
    Participant

    Hi Andy,

    I have no idea. I’ll need to get another developer to chime in here…

    in reply to: Calendar Templates / Grid View Header & Footer #12889
    Jonah
    Participant

    Hi naktural, are you sure that is the filter you can use with your theme? What theme are you using? This works specifically for me in Genesis.

    in reply to: limit contents of event in 'list view' #12887
    Jonah
    Participant

    Hey Robert,

    1. What is the code you removed from list.php – please paste in Pastebin (http://pastebin.com/) so I can get an idea of what you’re doing.

    2. Here’s what you do to get the calendar in a full width page in Genesis, I’ve tested it and it works. Create a page where you add the [calendar] shortcode to display it. Set that page to be a full width layout in the Genesis layout settings for the page. Then go to Settings > The Events Calendar and change the Events Template to “Default Events Template”. That should do it.

    Jonah
    Participant

    Hey naktural, try modifying the list query by putting this in your functions.php:


    function my_get_posts( $query ) {
    if(!tribe_is_day()) {
    $query->set( 'posts_per_page', 20 );
    }
    return $query;
    }
    add_filter( 'pre_get_posts', 'my_get_posts' );

    Change posts_per_page to however many posts you want to display…

    in reply to: List View showing yesterday's events first? #12855
    Jonah
    Participant

    Hi naktural, I emailed Shane requesting FTP access which I’ll need to figure out the previous days events showing but to modify what is displaying on just the events page you can use something like this in functions.php:


    function my_get_posts( $query ) {
    if(!tribe_is_day()) {
    $query->set( 'posts_per_page', 5 );
    }
    return $query;
    }
    add_filter( 'pre_get_posts', 'my_get_posts' );

    This tests to see if we are not viewing only one day (i.e. the events list) and then add to the query how many posts per page to display. Does that work?

    in reply to: Modifications Not Working #12843
    Jonah
    Participant

    Hi Donna, I can’t really do too much with this just by looking at the WP admin, I need FTP access to look at how you’ve got the overrides setup. Just to clarify, there should be a folder titled ‘events’ (without quotes and in lowercase) in your active themes folder and then any events related template files in there that you’d like to override… If that’s how you have it setup, please send me the FTP info so I can take a look myself.

    in reply to: List View showing yesterday's events first? #12841
    Jonah
    Participant

    Hi Leigh, can you please email WP admin and FTP access to jonahcoyote [at] gmail [dot] com so I can take a look? Do I have permission to change settings, turn off plugins, etc?

    Thanks,
    Jonah

    in reply to: Filter by event category in tribe_get_events? #12840
    Jonah
    Participant

    Hey Sean, we were emailing back and forth on this topic but I just wanted to follow up here as well and so you could maybe share your solution…

Viewing 15 posts - 3,841 through 3,855 (of 4,001 total)