• Plugin Author nimmolo

    (@nimmolo)


    Hi Silvia,

    Without altering the post content automatically created by External Videos, I’d like to write a loop function to pull the post video into a separate div from the description text and other text within the post content, so that I can more easily manipulate the layout the way I want it. I’m already using custom loops for every part of my site.

    I’m wondering if you have any advice about the best way to do this, since the plugin only embeds the URL for the video, without any tags.

    Do you think it would be better to modify the plugin, or the loop?

    Glad to show you the site but it is not public because it is still in development. Email me if you’d like to see what i’m talking about.

    https://www.ads-software.com/extend/plugins/external-videos/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nimmolo

    (@nimmolo)

    Silvia – I think i can make my question clearer, but if not it’s because i’m not sure I quite understand how the plugin works.

    What I think happens is, the plugin looks through posts of the post type “external-videos” and when they are displayed, pulls the embed url, and enqueues the thickbox player to play the video from that url. (tell me if i’m wrong!)

    So what I’d like to do is slightly change the way that’s functioning, so I can wrap the video in a separate div from its description in the post.

    The reason I want to do this is I want video and post text displayed side by side, rather than on top of each other in the normal flow.

    Hope that makes more sense! ??

    Plugin Author silviapfeiffer1

    (@silviapfeiffer1)

    Why don’t you just change the CSS?

    Also, if you need more elements to do the CSS, you can always add them in the file that puts the elements together, ev-shortcode.php – in the sp_ev_display_gallery() function in the gallerycontainer:
    <div class=”gallerycontainer” style=”clear:all;”>

    HTH.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: External Videos] Reformatting external-video posts in a custom loop’ is closed to new replies.