"Featured Image" Issue

Home Forums Calendar Products Events Calendar PRO "Featured Image" Issue

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #55135
    goodlooknout
    Participant

    I love your new update! Everything looks wonderful. I have one question though: Is there a way to center the ‘featured image’ that you choose. I love how you have the related events at the bottom but I noticed you can only have an image on those related events if you use a featured image. My issue is that when you use the featured image the picture looks awkward on the top of the post because it’s always justified left. Is there any way around this?

    #55323
    Neill
    Member

    Hi goodlooknout

    Thanks for the question. Just a quick question back to confirm I understand your question.
    Are you talking about the featured image that shows up in the list view? Like I have in this screenshot of your site: http://d.pr/i/Zxoy

    #55427
    goodlooknout
    Participant

    No, that view actually looks fine with or without the featured image. When your in the event post if I add a featured image it places the image on the top of the post and it’s uncentered and left justified. That is what I don’t like. However, if I don’t place an featured image, at the bottom of each even the related events will have that stock image of a calendar, which I also don;t like. I just want to know if there is a way to adjust the featured image actions on the event post as well as the related events at the bottom of each post.

    #55615
    Neill
    Member

    Hi goodlooknout,

    Ok I get it now! Sorry for the confusion. So would a good solution for you to either:

    a) Remove the featured image showing up at the top of the post but still leave the functionality for adding a featured image so that the default calendar image doesn’t show

    or

    b) Work on the placement of the image when it shows on top of the post?

    Either way I can point you in the right direction, I’d just like to be clear and make sure I’m understanding correctly?

    #55634
    goodlooknout
    Participant

    I would like option A. Tee hee…thanks!

    #55719
    Neill
    Member

    Great, so thats a pretty simple fix.

    The file you are specifically looking for is: events/views/single-event.php

    In that file you will be looking for this code here:

    Simply go ahead and comment out this code and you should get the results you need. So it will look like this:



    <!-- -->

    This should just remove the featured image from the top of the post page but you will still be able to use the featured image as a thumbnail for other parts of the plugin such as the calendar tooltip and related events at the bottom of the page.

    Let me know how it goes.

    #55720
    Neill
    Member

    Sorry about that…lets try that again

    Great, so thats a pretty simple fix.

    The file you are specifically looking for is: events/views/single-event.php

    In that file you will be looking for this code here:
    <?php echo tribe_event_featured_image(); ?>
    Simply go ahead and comment out this code and you should get the results you need. So it will look like this:
    <!– <?php echo tribe_event_featured_image(); ?> –>
    This should just remove the featured image from the top of the post page but you will still be able to use the featured image as a thumbnail for other parts of the plugin such as the calendar tooltip and related events at the bottom of the page.

    Let me know how it goes.

    #55781
    goodlooknout
    Participant

    It didn’t work. I looked for the file you told me to change in The Events Calendar NOT the PRO edition. Take it look : http://www.goodlooknout.com/upcoming-event/sip-swap-shop/

    It even put a weird arrow below the featured image too.

    #55936
    Neill
    Member

    Hi Goodlooknout.

    Could you send us a copy of the file that you edited via pastebin or gist? They are applications that allow you to copy and paste code that you can share with us soI can see on my end if there is anything causing an issue.

    Neill

    #55937
    goodlooknout
    Participant

    Sure, here’s the link. It’s good for 24 hours: http://pastebin.com/zAFsNih8

    This was after I changed the code

    #55942
    Neill
    Member

    Ah!

    My fault, I see the issue. I think my formatting above made an error with the comment tags.
    try this:
    <!–- –->

    Comments should start with ““. My comments didn’t have a double dash. Sorry about that.

    #55944
    goodlooknout
    Participant

    Wait, I’m confused…. what should the whole line look like???? Not the best coder here! LOL

    #55945
    Neill
    Member

    Sorry again goodlooknout! The formating in this forum sometimes doesn’t hold up.

    Try this: http://pastebin.com/AMhwau6u

    #55949
    goodlooknout
    Participant

    Ok, thanks. I will try. Am I editing this is the correct file? It’s supposed to be the regular events calendar and not pro files, right?!?!?!

    #55950
    Neill
    Member

    Yep! This is a file and function that is common to both the PRO and regular version of the plugin.

Viewing 15 posts - 1 through 15 (of 18 total)
  • The topic ‘"Featured Image" Issue’ is closed to new replies.