• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Featured Video Placement – Willing to Pay if Needed

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Featured Video Placement – Willing to Pay if Needed

This topic is: resolved

Tagged: Custom fields, featured section, featured video, layout setting, news, News Theme, showcase section

  • This topic has 10 replies, 2 voices, and was last updated 12 years, 2 months ago by Sridhar Katakam.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • February 20, 2013 at 11:01 pm #21876
    Scott Buehler
    Member

    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.


    TygrScott on Social Media

    February 20, 2013 at 11:46 pm #21887
    Sridhar Katakam
    Participant

    This tutorial might be of help: http://genesistutorials.com/understanding-genesis-layout-options/


    Genesis Tutorials | Follow me on Twitter

    February 20, 2013 at 11:59 pm #21892
    Scott Buehler
    Member

    I'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.


    TygrScott on Social Media

    February 21, 2013 at 12:44 am #21895
    Sridhar Katakam
    Participant

    I think I managed it w/o creating a layout.

    See these screenshots and let me know if this is what you want:

    http://awesomescreenshot.com/054yfvl10

    http://awesomescreenshot.com/01ayfvh98


    Genesis Tutorials | Follow me on Twitter

    February 21, 2013 at 1:39 am #21898
    Scott Buehler
    Member

    Sridhar, 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.


    TygrScott on Social Media

    February 21, 2013 at 1:45 am #21900
    Sridhar Katakam
    Participant

    Sridhar, 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.


    Genesis Tutorials | Follow me on Twitter

    February 21, 2013 at 1:45 am #21901
    Scott Buehler
    Member

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


    TygrScott on Social Media

    February 21, 2013 at 3:28 am #21910
    Sridhar Katakam
    Participant

    Done.

    http://websitesetuppro.com/how-to-show-a-custom-fields-value-at-the-top-of-every-post-or-page-in-genesis/


    Genesis Tutorials | Follow me on Twitter

    February 21, 2013 at 2:40 pm #22048
    Scott Buehler
    Member

    Awesome, 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.


    TygrScott on Social Media

    February 21, 2013 at 8:17 pm #22123
    Scott Buehler
    Member

    Sridhar, 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.


    TygrScott on Social Media

    February 21, 2013 at 10:06 pm #22132
    Sridhar Katakam
    Participant

    Thanks Scott.

    Saw your comment in my blog post and replied to the same.


    Genesis Tutorials | Follow me on Twitter

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble