Community Forums › Forums › Design Tips and Tricks › Featured Video Placement – Willing to Pay if Needed
Tagged: Custom fields, featured section, featured video, layout setting, news, News Theme, showcase section
This topic contains 10 replies, has 2 voices, and was last updated by Sridhar Katakam 3 months ago.
-
AuthorPosts
-
February 20, 2013 at 11:01 pm #21876
Problem:
1) I don’t want to place video in the content area of a post because the area is too small for a featured video.
2) I don’t want to force the post to Header / Content with no sidebar because it removes monetizing.Solution I Need:
- Add new “Layout Setting” with Header, Video (spans entire width), Content/Sidebar
- Allow me to use, under page or post, “Custom Fields” to embed video + php code that will appear under in the video section.This would allow me to showcase featured video that I’ve recorded in HD from my Vimeo Pro account without forcing the viewer to click the full-screen icon in the embed.
Does anyone have a tutorial or willingness to help? I’m even willing to pay for assistance.
Scott Buehler
WebHostingChoose.comFebruary 20, 2013 at 11:46 pm #21887This tutorial might be of help: http://genesistutorials.com/understanding-genesis-layout-options/
February 20, 2013 at 11:59 pm #21892I’ve read that page a few times now and it’s a bit overwhelming for me. Especially when it comes to doing what I need.
Scott Buehler
WebHostingChoose.comFebruary 21, 2013 at 12:44 am #21895I think I managed it w/o creating a layout.
See these screenshots and let me know if this is what you want:
February 21, 2013 at 1:39 am #21898Sridhar, would that Vimeo box be able to have PHP code and div wrappers as well?
That’s exactly what I want, however, it must be optional. If a post doesn’t have video such as a regular blog post, I don’t want the non-video page to have a blank area. That’s why I wanted a layout so I can specify if the page or post needs a featured vid.
Scott Buehler
WebHostingChoose.comFebruary 21, 2013 at 1:45 am #21900Sridhar, would that Vimeo box be able to have PHP code and div wrappers as well?
In the meta box that appears in Posts and Pages edit screen? If so, no.
However, if the PHP code and div wrappers are the same for all Posts/Pages, then we can place them in another location from where meta box’s value is retrieved and used.
That’s exactly what I want, however, it must be optional. If a post doesn’t have video such as a regular blog post, I don’t want the non-video page to have a blank area. …
It works the way you want. If a Page or Post does not have any value entered in the ‘Vimeo Video’ meta box, then that Page or Post will show nothing, not even blank space or magin/padding.
I shall write a tutorial on this in my blog and give a link soon.
February 21, 2013 at 1:45 am #21901BTW div wrapper is for responsive reasons and PHP is from my commercial membership script to either show video or to show membership requirement prompt.
To answer your post, where you have the iframe code under post/page details, if I can add my div wrapper around the iframe tag, it’d be good. But if it can’t execute PHP, then I’d have an issue with implementation. Test it with a simple PHP Date echo.
Scott Buehler
WebHostingChoose.comFebruary 21, 2013 at 3:28 am #21910February 21, 2013 at 2:40 pm #22048Awesome, thanks. I took it outside of “genesis_before_content_sidebar_wrap” Hook and put it inside genesis_after_header Hook because it was showing the sidebar divider above and below the video (for my theme, if your theme doesn’t have visual separator borders, it won’t matter). I also added an extra div container so that I can customize exact center positioning with side/top margins.
Further testing going on. Will edit in a few.
Scott Buehler
WebHostingChoose.comFebruary 21, 2013 at 8:17 pm #22123Sridhar, I was able to use your code along with my membership plugin (with my own code) to do exactly what I want, even though it took me all day to get it where I want. I’m sending you a donation.
Edit: I tried sending a donation via your button on site and it says:
Currently PayPal accounts in India are only able to send payments. This recipient is not eligible to receive funds.
Scott Buehler
WebHostingChoose.comFebruary 21, 2013 at 10:06 pm #22132Thanks Scott.
Saw your comment in my blog post and replied to the same.
-
AuthorPosts
You must be logged in to reply to this topic.