• Hi Alexander,

    Thanks for a marvelous theme. I bhought it packed with curationsuite. But these guys are so bad on support regarding the theme. Luckily I stumbled upon your side, and noticed you are the author of this marvelous theme.

    I’ve been trying to create a video type post (inserting the video URL in the separate box), whereas the post shown in a gallery or list of a category shows the featured image and when I go to the individual post it shows the video on top (thx to the video url, technique). But the featured image keeps on showing in the individual post.
    How do I get this fixed, having a video post with a thumbnail that doesn’t show in the single post.

    Thanks in advance,

    Kind regards,

    Yves.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi Yves, if I understand correctly, this can easily be fixed with some css. I believe I’ve done this for someone with this same theme in the past. Do you have a link to the page where this is shown?

    Regards

    Ernest Close

    Thread Starter yvesmk

    (@yvesmk)

    Thread Starter yvesmk

    (@yvesmk)

    It is like in this example
    https://demo.alxmedia.se/hueman/category/post-formats/
    Look at the video format post.
    On https://demo.alxmedia.se/hueman/category/post-formats/ you see a sky/cloud image, which doesn’t show in the post itself.

    Hi, very nice site. I could only see the second link, the first one just shows Coming soon page with subscribe link, but if they are the same then this will work for both. So based on the second site you can add this code to your custom css or child theme:

    .single-post img.wp-post-image {
    	display: none;
    }

    This will remove the image from the single post page.

    Let me know how this works for you.

    Kind Regards

    Ernest Close

    Thread Starter yvesmk

    (@yvesmk)

    Thanks for looking into it.
    But this removes it for all the posts.
    I want to have it displayed in case there is no image in the post itself, if you can make the code that smart. Or having the hand in it myself… turning it on or off on a post by post base.

    Yes it is possible to do it on a post by post base, but remember that you will have the featured image and the post image on the other post pages if both are set.
    So instead of having single-post, replace it with the post ID like this:

    .postid-220 img.wp-post-image {
    	display: none;
    }

    Let me know if this works for you.

    Kind regards

    Ernest Close

    Thread Starter yvesmk

    (@yvesmk)

    strange, when I read the docs (https://demo.alxmedia.se/wp-content/themes/hueman/functions/documentation/documentation.html), it says that the featured image doesn’t show in standard posts. I have a standard post created abd it does show the featured image…. It says that you should use the image post to have the featured image displayed.

    On second thought, if you don’t want the featured image on all video posts you could try this:

    .format-video img.wp-post-image {
    	display: none;
    }

    This should remove the featured image from all the posts with video in them.

    Try it and let me know.

    Unless there is a feature to turn it on or off maybe. I don’t know, I have never used this theme before, just helped someone on this forum modify his styles a bit.

    Thread Starter yvesmk

    (@yvesmk)

    Thanks for all the efforts.
    Got it working now.
    The theme seems to do what it does.
    Did the steps as simple as possible.
    Created a new post, added an image to the media library from within the post, theme generates all formats it needs when added to the media library. for a gallery style and thumbnail and saves those sizes, and uses the one it needs at the appropriate time.
    Tested it with auto generated video thumbnails, theme generates all formats, so works perfect.
    when a featured image added an no image in the post, then the featured image (smaller size than on the frontpage is shown above the single post.
    If post contains image and no featured image set, then that images is taken and show as featured (in appropriate size).

    So this was how I wanted it to work.
    But I think due to some other ways of adding the images to the library I got confused, and blamed the theme for not working properly (sorry for that).

    Glad you got it working.

    Thread Starter yvesmk

    (@yvesmk)

    Another thing that interfered, was my smushit extension to save optimised versions of the images, dropping out the names of all sizes of the images needed. And I suspect the template to have some logic attached to the names (image size names), and if not found the logic is not applied. After disabling this plugin and disabling the caching for the website, things worked as expected.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Video Post’ is closed to new replies.