Jonah

Forum Replies Created

Viewing 15 posts - 3,151 through 3,165 (of 4,001 total)
  • Author
    Posts
  • in reply to: Community rewrite slug page not found #18555
    Jonah
    Participant

    Hi Andrew,

    Sorry about this. We’re looking into it and will have an update for you soon.

    Regards,
    Jonah

    in reply to: HTML5 microformat for venue: Place vs. Organization? #18540
    Jonah
    Participant

    Hi Jesse,

    If you look at: http://schema.org/Organization it states it as being for “An organization such as a school, NGO, corporation, club, etc.” vs. http://schema.org/Place – “Entities that have a somewhat fixed, physical extension.” – it sounds like Organization is for an actual group not a “place”.

    Does that make sense?

    No idea what impact this has or advantages/disadvantages…

    in reply to: Removing Day Number Link – ? #18539
    Jonah
    Participant

    Hi Danny,

    All you’ve got to do is make a copy of /wp-content/plugins/the-events-calendar/views/table.php and place in an ‘events’ folder in your theme. Then find lines 102-106:

    if( function_exists('tribe_get_linked_day') && count( tribe_get_events( array( 'start_date' => $date, 'end_date' => $date, 'eventDisplay' => 'all') ) ) > 0 ) {
    $return .= tribe_get_linked_day($date, $day); // premium
    } else {
    $return .= $day;
    }

    and replace with:

    $return .= $day;

    That’ll get rid of those links!

    Jonah
    Participant

    Hey Jim,

    Like Henry pointed out those tags do need to be wrapped in PHP tags but let me elaborate a little more…

    The tribe_get_start_date() function can be used as many times as you to spit out whatever you want about the start date/time for an event. By default the function is going to use your date/time display format in Settings > General, but you can easily override this. All you need to do is pass in parameters to trim down what particular date/time information is being displayed for each instance. The function accepts standard PHP date format parameters to determine the format. It may help to take a look at those: http://php.net/manual/en/function.date.php

    So, let’s say you only wanted the first part to display the month on line 46. Just change line 46 to read:

    echo tribe_get_start_date( $post->ID, $start, 'M' );

    Or you could change it to display the full month name:

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

    Then, if you wanted to display the time chunk, just either add another div outside of the div with the class of “when” or add it within and it doesn’t need to be a div, it could be any html element. Maybe try a span first.

    So, right below line 46 you could add: http://pastie.org/private/hagxmeraymgojaegxfw8a

    And that will give you a span tag with the time inside that you can style via the event-time class in your CSS.

    Let us know how it goes. I hope that helps!

    in reply to: category in the slug #18537
    Jonah
    Participant

    Hi Javier,

    Unfortunately changing the structure of the permalinks within our plugin is not very easy at the moment. Hopefully this will change in the future. For now you’ll need to work out some alternative solution, possibly some rewrites which is beyond what we can help you with. Sorry I can’t offer up more here. Good luck!

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

    All you’ve got to do is put conditional code in /wp-content/plugins/the-events-calendar/views/gridview.php (override by placing a copy in an ‘events’ folder in your theme) to detect the category which is just a taxonomy. Gridview is the template used to display your calendar page. You should be able to use if(is_tax(‘tribe_events_cat’,’your-cat-slug-or-ID’)) {}

    I hope that helps!

    in reply to: Recurring events rss feed #18535
    Jonah
    Participant

    Hey David, you should be using Pastie.org or Pastebin.com or GitHub Gists – you can also try using ‘code’ and ‘pre’ tags here but no guarantees its going to work very well until we get code highlighting in the forum sorted out.

    By the way, thanks for the solution, however it’s not ideal because it does involve hacking core WordPress files which I would never recommend. There’s got to be a way to filter the RSS feeds instead…

    Cheers,
    Jonah

    in reply to: Events Show Oldest First on widget and page #18483
    Jonah
    Participant

    Or you can just let me know here too 🙂

    in reply to: Duplicate page titles on recurring events #18480
    Jonah
    Participant

    You’re welcome Henry, let me know if you need any other assistance with this one.

    in reply to: Duplicate page titles on recurring events #18477
    Jonah
    Participant

    Hey Henry, strange it looks like it’s not in the documentation – I’ll fix that. It’s: tribe_is_recurring_event()

    in reply to: Text on Events page not updating #18473
    Jonah
    Participant

    Probably better to just make me an admin – don’t worry I won’t do anything you wouldn’t do 🙂

    in reply to: Duplicate page titles on recurring events #18472
    Jonah
    Participant

    Hey Henry,

    Right, so the title tag that appears in the browser tabs. To modify this you’ll either need to filter where wp_title() is called or just modify it in your header.php file in your theme to conditionally check if you are on a recurring event and if you are, append a date. Make sense?

    in reply to: Can I show recurring event only once #18453
    Jonah
    Participant

    Hi Leonard, unfortunately there’s no flip switch solution but it sounds like this is doable as mentioned in this thread: https://theeventscalendar.com/support/forums/topic/reoccuring-event-shows-multiple-times-in-loop/#post-18273

    What you’ll need to do is modify the query in the widget, somehow applying the code examples in the thread. It’s kind of complex and I can’t offer much more here. You’ll need to tinker around with it or hire someone to help you.

    Good luck!

    in reply to: Text on Events page not updating #18452
    Jonah
    Participant

    Hey Christopher, ooops sorry about that. I thought you did have it figured out. What version of the plugin are you running and are you running any other event related plugins? Like I said, we don’t use shortcodes at all in our 2.0+ plugin, so [events-calendar-large] is not something from or for our plugin. That could be what’s messing it up, but maybe you are running an older version where we did use that shortcode… In that case you’ll want to upgrade to 2.0.5 but first find out what you are running. If you’d like I can take a quick look at things to save you some time. Just email jonah [at] tri [dot] be WP admin and I’ll take a look when I can.

    Thanks,
    Jonah

    in reply to: Annual Archives? #18450
    Jonah
    Participant

    Hey Marty,

    Good question. I don’t think this is easily achievable with the plugins infrastructure so you’d probably be better off creating the page templates. That’s what I would do if I was building a site that need this. You can easily setup custom queries using WP_Query or tribe_get_events() (https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events)

    It’s not a bad idea though and it might be a good feature in the future. If you’re interested you can add it to out feature request thread here: https://theeventscalendar.com/support/forums/topic/events-calendar-pro-feature-requests/

    I hope that helps!

Viewing 15 posts - 3,151 through 3,165 (of 4,001 total)