I have a static front page with the latest posts and a right sidebar where I want to show some videos. How can I add a video to the right sidebar without having it at the same time on the main content area of my static front page?
Your front page is actually a blog/index page and not a static page.
Anyway, if you hide the videos in the main content area, won’t the post entries look a little strange with just the entry title & meta data? For example, you can try hiding the videos by adding this rule to the end of your child theme’s style.css file:
Thanks for your response. I don’t just want to hide the video on the main content area but the entire post in this case.
To clarify: The normal case is that I write articles and I want them to appear on the main content area. This works fine. In the right sidebar, I want to show a selection of videos. For the videos, I usually don’t want to comment them and/or include them in a post. It’s just a selection of my favorite videos and I want to show them on the right sidebar. Do you see a workaround for this?
If you don’t want to create posts for your videos, why don’t you just copy & paste the embed code into a Text widget, instead? I would drag & drop one Text widget for each video into the side bar and set the title of the text widget to the title of the video.