Forum Replies Created
-
AuthorPosts
-
Kate
ParticipantThis reply is private.
Kate
ParticipantThis reply is private.
Kate
ParticipantI currently have “Full Styles” enabled but have tried all 3 and get no change in this issue. I don’t want to do any styling, just want the plugin’s default PRO styling.
Kate
ParticipantNo, I don’t have a tribe-events folder in my theme directory. I only just installed the plugin today.
Kate
ParticipantHi again –
When you asked me to check the theme’s tribe-events folder, I remembered some old customizations. Re-naming the folder to tribe-events-old gave me back the date icon. I think I can take it from here, thank you!
Kate
Kate
ParticipantI’m sorry that doesn’t solve my problem. I still need to display the date, just not the time. Is there any way to untie the date from the time? Since “Jan. 18 @ 5pm” shares a CSS class, using display:none doesn’t help me.
How can I edit the PHP so that only the date is shown and not the start time?
January 6, 2015 at 8:39 am in reply to: Linking to single event view from list items in tribe_get_events #929367Kate
ParticipantThis reply is private.
January 5, 2015 at 10:25 am in reply to: Linking to single event view from list items in tribe_get_events #928881Kate
ParticipantThanks for circling back, I hadn’t seen your first reply. Unfortunately it doesn’t help me. Here is the code I am using to pull the next 4 events into a simple list on the homepage:
<?php $events = tribe_get_events( array( 'posts_per_page' => 4, 'start_date' => new DateTime() ) ); // Loop through the events, displaying the title foreach ( $events as $event ) { echo "<li> $event->post_title </li>"; } ?>I adapted this code from this knowledge base article.
Since the title is being echoed in PHP code, if I add a link the way you suggested in your reply, it causes an error that makes the homepage load blank white.
How can I adapt my code to link the post titles to the single events? Thanks!
-
AuthorPosts
