Forum Replies Created
-
AuthorPosts
-
HenryMember
@Jonah
Great – looking forward to being able to paste directly here. Pastie.org does the job though. Thanks!
HenryMember@Sarah
The guys seem to have already provided some code that will do the tick for you. In case you still needed it, my code was:
HenryMemberOK – that code paste didn’t work very well. i can send you the code or perhaps someone will let me know how to paste code on here? i seem to need to escape the opening and closing php tags
HenryMemberIt may not come out-of-the-box but this is very easily done. You just need to know what the guys at tri.be have called the “venue” custom post type. The following code should work if you paste it into one of your templates:
have_posts()) : $event_archive_query->the_post(); ?>
<a href="” title=””>HenryMemberOops – that code paste didn’t seem to work?
HenryMemberI noticed this too. A workaround i’ve created on my site is:
0 ): ?>
Upcoming events<?php if ( ( strtotime(tribe_get_start_date()) < time() ) && ( strtotime(tribe_get_end_date())
<?php the_title('‘, ‘‘); ?>
~March 26, 2012 at 5:57 am in reply to: Already have custom post types for location and groups #17140HenryMemberif you’ve set up your own post type “venues” in functions.php and you didn’t want the slug to clash with the slug used in the events calendar plugin then you could use the following when registering your post type:
‘rewrite’ => array(‘slug’ => ‘myvenues’),
This will give you some control over the text used in your URLs
-
AuthorPosts