ftww

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Hide Featured Image from Featured Events Widget #1576216
    ftww
    Participant

    Thanks Cliff. This Method has worked perfectly

    in reply to: Hide Featured Image from Featured Events Widget #1574454
    ftww
    Participant

    Hi 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.

    in reply to: Hide Featured Image from Featured Events Widget #1573308
    ftww
    Participant

    This reply is private.

    in reply to: Hide Featured Image from Featured Events Widget #1572326
    ftww
    Participant

    Hi 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’ );
    }
    ?>

    in reply to: Hide Featured Image from Featured Events Widget #1558960
    ftww
    Participant

    Hi 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

    ftww
    Participant

    Super – thanks – worked a charm!

    ftww
    Participant

    That seemed to work perfectly when I deleted it.
    Not sure what I had done incorrectly before.

    Thanks for your help

    ftww
    Participant

    Hi There,
    Wondering if any solution to this or advice?
    Thanks

    ftww
    Participant

    Hi 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 you

    ftww
    Participant

    This reply is private.

Viewing 10 posts - 1 through 10 (of 10 total)