Forum Replies Created
-
AuthorPosts
-
Ken
ParticipantThanks @Brook
I’ll check out the functions and see if I can come up with something. I did post the idea way back in version 2. I reposted the idea to the link you provided.Ken
ParticipantThat is odd but following your example I was able to get the comma separated list of categories.
echo '<dt>Categories</dt><dd>' . tribe_get_event_taxonomy( $post_id, 'before=&sep=, &after' ) . '</dd>';
You do have the proper structor of the DL but client wants the categories comma separated.Ken
Participant@Brook & @snorton
Thanks for your inout. I was actually headed down that path and your reply confirmed it. I think that I have all that I need except for one thing.
I want to list the categories that are linked to the event posted. When I use the function:
echo tribe_get_event_categories();I get an unsorted list of links. Is it possible to display those links in a comma separated definition list “<dl>”
@inhouse
the code snorton provided is spot on. Here is a sample that I am using:<dl> <?php $start = tribe_get_start_date(); if(!empty($start)) { echo '<dt>Date/Time</dt><dd>' . $start . '</dd>'; } ?> <?php $zone = tribe_get_custom_field('Time Zone'); if(!empty($zone)) { echo '<dt>Time Zone</dt><dd>' . $zone . '</dd>'; } ?> <?php $duration = tribe_get_custom_field('Duration'); if(!empty($duration)) { echo '<dt>Duration</dt><dd>' . $duration . '</dd>'; } ?> <?php echo tribe_get_event_categories(); ?> <?php $venue = tribe_get_venue(); if(!empty($venue)) { echo '<dt>Venue</dt><dd>' . $venue . '</dd>'; } ?> </dl>Ken
ParticipantThis reply is private.
Ken
ParticipantHey Brook,
Thanks for the resource. I do see how that section of the code used the function to build the page. What I guess I don’t get is how the functions within the function above display the info.
tribe_get_meta_group( 'tribe_event_details' )
tribe_get_meta_group( 'tribe_event_venue' )
tribe_get_meta_group( 'tribe_event_organizer' )I believe is the one that brings in all the details?April 24, 2013 at 9:30 am in reply to: New events (and past events) have wrong URL after update #46747Ken
ParticipantMight have been a plug-in conflict. I had an outdated plug-in that released an update today and that seem to fix the issue for now. I’ll keep an eye on it, for the time being I am ok.
Ken
ParticipantOh I see..its returning the 200 so it’s finding the pages just not indexing them hopefully. I guess there is not ‘real’ problem then. The main issue is just the pagination (i’m just a little too OCD I guess trying to eliminate all the errors that I can)
Ken
ParticipantThe thing is that they are not non-existent events:
66.249.76.214 – – [19/Dec/2012:10:17:54 -0800] “GET /events/2203-02-23/ HTTP/1.1” 200 22737 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
66.249.76.214 – – [19/Dec/2012:10:24:01 -0800] “GET /events/2203-02-24/ HTTP/1.1” 200 22737 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
66.249.76.214 – – [19/Dec/2012:10:26:06 -0800] “GET /events/1961-11-12/ HTTP/1.1” 200 22737 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
66.249.76.214 – – [19/Dec/2012:10:26:08 -0800] “GET /events/1961-11-16/ HTTP/1.1” 200 22737 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
66.249.76.214 – – [19/Dec/2012:10:26:09 -0800] “GET /events/1961-11-07/ HTTP/1.1” 200 22737 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
66.249.76.214 – – [19/Dec/2012:10:26:11 -0800] “GET /events/1961-11-21/ HTTP/1.1” 200 22737 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
66.249.76.106 – – [19/Dec/2012:10:26:12 -0800] “GET /events/2008-01-10/ HTTP/1.1” 200 19077 “-” “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”Ken
ParticipantThat is correct. What would be the best practice for eliminating the errors?
Ken
ParticipantFor the future dates I’m not sure what to do. I was hoping there where others that might have be experiencing the same thing.
As for a URL that has the pagination (http://www.financialtools.com/events/category/web-based-training/)
When the events pass the pagination will get shorter..until we add more events back in again.
Maybe it would be best to just block bots from the events?October 31, 2012 at 1:51 pm in reply to: "Warning: Illegal offset type" when viewing empty event category #27411Ken
ParticipantAlready on it. 🙂 For now I am using the exclude feature in the plug-in and have it turned of on “calendar” pages in the url.
Thanks for your time Jonah.October 31, 2012 at 1:28 pm in reply to: "Warning: Illegal offset type" when viewing empty event category #27407Ken
ParticipantLooks like All In One SEO Pro is causing the code. I turned it off (the last one I installed) and it went away. Now to figure out why.
October 31, 2012 at 1:04 pm in reply to: "Warning: Illegal offset type" when viewing empty event category #27403Ken
ParticipantNo it’s set to FALSE..I’ll try to deactivate the plug-ins later. Kinda hard to do on a live site.
October 31, 2012 at 7:40 am in reply to: "Warning: Illegal offset type" when viewing empty event category #27393Ken
ParticipantWhen I click on a link to list the events for a certain category that have no events associated with that category, I get that error.
http://www.financialtools.com/events/category/regional-training/Ken
ParticipantYup, close this one out.
-
AuthorPosts
