ChrisOGwynne
Forum Replies Created
-
Forum: Plugins
In reply to: [Event Organiser] Anchor points for venues<?php $venues = eo_get_venues(); if( $venues ){ foreach($venues as $venue): $venue_id = (int) $venue->term_id; echo '<figure>'; printf( '<a href="%s">%s</a>', eo_get_venue_link($venue_id), eo_get_venue_thumbnail( $venue_id )); printf('<figcaption> <a href="%s">%s</a></figcaption>', eo_get_venue_link($venue_id), esc_html($venue->name)); echo '</figure>'; endforeach; if( $current_letter != strtolower( substr( $venue->name, 0, 1 ) ) ){ //New letter echo "</div>"; $current_letter = strtolower( substr( $venue->name, 0, 1 ) ); echo "<div id='letter-$current_letter'>"; } } ?>
My PHP knowledge is basic at best. I’m not sure where i’d place you code in order for it to work.
Forum: Fixing WordPress
In reply to: Permalink problemsHi, yep I’ve tried switching themes too, the problem still exists. Read through that too, couldn’t find anything of help.
Forum: Plugins
In reply to: [Event Organiser] eo_get_venues questionUgh, great ?? i’m not the best with php.
Forum: Plugins
In reply to: [Event Organiser] Possible to use functions outside of events templates?Haha many thanks, I will do ??
Forum: Plugins
In reply to: [Event Organiser] Venue Description Won't WorkOkay so I have
<?php $venue_description = eo_get_venue_description( $venue_id ); ?>
inside that template now. Doesn’t work still, does it need to be inside the loop or can it run alone and separate?
Still only seems to work if an event is attached to that venue first
Forum: Plugins
In reply to: [Event Organiser] Venue Description Won't WorkDescription only seems to come up if an event is added to that venue.
Forum: Plugins
In reply to: [Event Organiser] Possible to do the following…Thank you, that helps somewhat. Looks like I have quite a bit of work ahead of me :(!
Forum: Plugins
In reply to: [Video Thumbnails] No thumbnail foundI’ve fixed mine.
Found out because a lot of my videos were directed as follows…. youtube.com/embed/{video_id}, rather than https://www.youtube.com/embed/{video_id}
I added non www rules within the youtube file and it’s worked. Hope that helps your situation?