Plugin Author
Barry
(@barryhughes-1)
Very true!
I missed this right before I released 1.5.1 but I made a note of this and will ship a fix in the next release.
Thanks!
Hi! I’d like to have the featured image thumbnail show in the event list embed also. Can you let me know how to do this?
Plugin Author
Barry
(@barryhughes-1)
Hi LauraC33,
The default template that ships with the plugin is missing an echo
(if you look in inc/embed-events-template.php you can see this):
<?php tribe_event_featured_image() ?>
It ought to be:
<?php echo tribe_event_featured_image() ?>
Normally I wouldn’t recommend modifying plugin code where it’s avoidable, but in this case I’d hope to resolve this in the next release anyway.
Alternatively, you can specify a custom template of your own and safely correct this from within that file (see here) instead.
Does that help?
when i’m adding some changes to
/wp-content/plugins/event-rocket/templates/embedded-events.php
i can’t notice any changes.
Plugin Author
Barry
(@barryhughes-1)
Hi there zirconias!
I don’t really recommend changing plugin code directly like that – it’s a better practice to override the template with one of your own (but stored in a different location, like in your theme).
when i’m adding some changes to … i can’t notice any changes
Could you be a little more specific – what changes did you make? Does this relate to the featured image problem (might be better to create a new thread of your own if not)?
oh sorry; next time i’ll create a separate thread.
like i said, i made a change
/wp-content/plugins/event-rocket/templates/embedded-events.php
<div class="eventrocket embedded-event post">
<div class="post-thumb"> <?php echo tribe_event_featured_image() ?> </div>
<h3> <a href="<?php the_permalink() ?>"><?php the_title() ?></a> </h3>
<div class="schedule"> <?php echo tribe_events_event_schedule_details() ?> </div>
<div class="summary"> <?php the_excerpt() ?> </div>
my changement
</div>
but it doesn’t concider my changes when i use the shortcode on my pages
Plugin Author
Barry
(@barryhughes-1)
Can you link me to a URL where you’re using the shortcode?
Is it possible you have caching enabled on your site?