Forum Replies Created
-
AuthorPosts
-
ftww
ParticipantThanks Cliff. This Method has worked perfectly
ftww
ParticipantHi Cliff,
Referring back to my previous thread as I mentioned above, I had placed the file directly in the tribe-events folder in my child theme and not the tribe-events/widgets. I saw then that the instruction at comments on top of file specified this so I rectified my mistake.However, upon uploading – this then broke the site from most functionality.
By the way – there are no reference to images in your tribe events pro list-widget file.
So – I tried just deleting the following section instead of all the code you said would be ok to remove:
<div class=”tribe-event-image”>
<?php
// not escaped because it contains markup
echo $post_thumbnail;
?>
</div>This worked to remove the image, but it also removed the styling applied to featured events.
Can you advise how I just remove the image and not affect any other functionality please.
ftww
ParticipantThis reply is private.
ftww
ParticipantHi Cliff,
Apologies for delay am just returning to this project now.
I have tried the above and have copied list-widget.php to my child theme in to my file-events folder. I was was slightly unsure of which exact section to remove. Can you please specify the exact section and lines to remove as what I had removed doesn’t seem to have done the trick.The section of code is as follows – so if you could clarify which needs to come out I’d be grateful
$featured_image_link = apply_filters( ‘tribe_events_list_widget_featured_image_link’, true );
$post_thumbnail = get_the_post_thumbnail( null, $thumbnail_size );if ( $featured_image_link ) {
$post_thumbnail = ‘‘ . $post_thumbnail . ‘‘;
}
?>
<div class=”tribe-event-image”>
<?php
// not escaped because it contains markup
echo $post_thumbnail;
?>
</div>
<?php/**
* Fire an action after the list widget featured image
*/
do_action( ‘tribe_events_list_widget_after_the_event_image’ );
}
?>ftww
ParticipantHi Cliff,
Thanks for coming back. I would rather do via PHP.
I’ve identified the list-widget.php in Pro, but when you say to override the file (note that I understand – the basic process of using themers guide) – I can see no reference contained within the file to images – is there a particular line I should be removing or some further specific instructions on this?I’m happy enough to use CSS either as the widget is limited to just 3 featured events on the homepage – location as described above – but here’s the link also: http://foodthewaterfordway.com/
Thanks in advance
May 31, 2018 at 3:45 am in reply to: Add same Text to all cost prices in event title on single events page #1542653ftww
ParticipantSuper – thanks – worked a charm!
May 31, 2018 at 3:15 am in reply to: Remove Event Tags from displaying on Event Details Box #1542641ftww
ParticipantThat seemed to work perfectly when I deleted it.
Not sure what I had done incorrectly before.Thanks for your help
May 29, 2018 at 4:27 am in reply to: Remove Event Tags from displaying on Event Details Box #1540609ftww
ParticipantHi There,
Wondering if any solution to this or advice?
ThanksMay 29, 2018 at 4:25 am in reply to: Add same Text to all cost prices in event title on single events page #1540606ftww
ParticipantHi Jennifer,
That worked great and thanks for your assistance. the only thing is that it also adds it in the details block below the events also where there is already a header. I do understand that this is getting in to the area of customisations – on the other hand, I’d argue that having cost: or price: included in the description would look a lot better overall as a customisation!!!.
So if there is a way for it to only appear in the title that is straightforward that would be really great!
Thank youMay 26, 2018 at 12:54 am in reply to: Remove Event Tags from displaying on Event Details Box #1539304ftww
ParticipantThis reply is private.
-
AuthorPosts
