Forum Replies Created
-
AuthorPosts
-
Bonnie
MemberThank you! That does the trick. Now I can create the other links I need. Thanks again for a quick correct answer.
Bonnie
MemberThanks, that does it!
Bonnie
MemberI’m almost there! I changed my list.php and the dash works. I had to research & then change the date order formatting and add the comma between the day of the month and the year. I see that A will uppercase am or pm, but I can’t figure out where to add it. Changed the events.css to format the date the way I want. See http://pastebin.com/1rG7i2sr for my list.php.
Can you tell me where to add the “A” to upper case the AM/PM?
Thanks for all your help – I’m getting closer!Bonnie
MemberI think that these are the lines of code in list.php that I should change, but when I tried it didn’t work.
http://pastebin.com/kW9MRjfqBonnie
MemberHaving trouble inserting the snippet in the right place. Here’s the list.php code:
Where do I substitute the snippet?
Thanks.
September 18, 2012 at 8:56 am in reply to: Clicking event title link on the Upcoming Events Page #25316Bonnie
MemberTook me awhile before I realized that I had to go to the source of the link to get the code. Works just fine now. Thanks.
Bonnie
MemberHere’s the link:
http://www.stjathenaeum.org/WordPress/events/upcoming/
Looks like there might be a space but for readability I need it to read: October 12, 2012 – 7:00PM (with some delimiter between date and time).September 17, 2012 at 9:30 am in reply to: Clicking event title link on the Upcoming Events Page #25223Bonnie
MemberHere’s the link: http://snippi.com/s/6ivx9wg
Thanks for your help.September 12, 2012 at 8:50 am in reply to: Clicking event title link on the Upcoming Events Page #24922Bonnie
MemberDoesn’t look like the list.php pasted correctly. Can I attach a file? or send you a link to the file? Thanks.
September 12, 2012 at 8:48 am in reply to: Clicking event title link on the Upcoming Events Page #24921Bonnie
MemberI’ve already modified my list.php as a result of several questions I’ve posted. Line 40 doesn’t contain the URL you mentioned. Here is my list.php:
<a class='tribe-events-button-on' href='’>
<a class='tribe-events-button-off' href='’><div id="post-” itemscope itemtype=”http://schema.org/Event”>
‘featured-event-thumb’,
)); ?><?php the_title('‘, ‘‘); ?>
get_event_taxonomy() ) ) {
$cat = get_term_by( ‘slug’, get_query_var(‘term’), $tribe_ecp->get_event_taxonomy() );
if( tribe_is_upcoming() ) {
$is_cat_message = sprintf(__(‘ listed under %s. Check out past events for this category or view the full calendar.’,’tribe-events-calendar’),$cat->name);
} else if( tribe_is_past() ) {
$is_cat_message = sprintf(__(‘ listed under %s. Check out upcoming events for this category or view the full calendar.’,’tribe-events-calendar’),$cat->name);
}
}
?><?php printf( __('No events scheduled for %s. Please try another day.’, ‘tribe-events-calendar’), date_i18n(‘F d, Y’, strtotime(get_query_var(‘eventDate’)))); ?>
<?php previous_posts_link( '’.__(‘« Previous Events’, ‘tribe-events-calendar’).” ); ?>
<a href='’>
<?php next_posts_link( '’.__(‘« Previous Events’, ‘tribe-events-calendar’).” ); ?>
<?php next_posts_link( '’.__(‘Next Events »’, ‘tribe-events-calendar’).” ); ?>
<?php previous_posts_link( '’.__(‘Next Events »’, ‘tribe-events-calendar’).” ); // a little confusing but in ‘past view’ to see newer events you want the previous page ?>
<a href='’>
<a title="” class=”ical” href=””>
Bonnie
MemberThat worked, but there is no space between the date and the time. How can I add either space – space OR just a few spaces before the time?
Bonnie
MemberI was able to fix the event entry so that it spans more of the page. One last thing – how would I add the event time (start time) either after the event date or on a line below it? Is this possible given my limited knowledge of PHP? Thanks again.
Bonnie
MemberOh yes it does. Thanks. I did notice that the event description doesn’t span the width of the page. I’ll use Firebug to see if I can change the style so that the right margin/padding is smaller. Thanks for your help. I was close doing it myself, but obviously missed something.
Bonnie
MemberFollowed the Themer’s Guide and added an events folder to my theme. Copied list.php, then opened it in an editor and tried to figure out what lines were controlling the right column. I’m not at all knowledgeable of PHP but managed to remove the content from the right-column. However, the list of upcoming events is now 2-column and not in the right order. Can you possibly point me to the specific lines in line.php that control the right column entries and should be removed? I would greatly appreciate it. Thanks.
-
AuthorPosts
