WordPress.org

Ready to get started?Download WordPress

Forums

WORDPRESS VIDEO GALLERY
How to edit the post type videogallery (5 posts)

  1. errick87
    Member
    Posted 12 months ago #

    I would like to know how I can setup a template for the videogallery?
    So for instance I want to have a different main content or side bar when the videogallery is displayed.

    As far as I can see it's getting some content from the single.php template file, but I want to specify my own php file, for example:
    page-videogallery.php

    Thank you.

    http://wordpress.org/plugins/contus-video-gallery/

  2. karthikeyani
    Member
    Posted 11 months ago #

    Hi,

    Yes you can assign different widgets on you sidebar for video gallery pages. Please refer the plugin http://wordpress.org/plugins/display-widgets/ . It allows you to do this. Please refer the following link for your reference. http://screencast.com/t/HEhWMOKuK

    If you have any other queries feel free to contact us.

  3. errick87
    Member
    Posted 11 months ago #

    Hi, Thank you for your advice.
    However, I don't use widgets so I can not do that.

    I'd like to make my own custom 'videogallery' (your 'register_post_type' function) template.

    In this template I would like to add my og video tags like:
    <meta property="og:video" content="https://www.youtube.com/v/S3_AwK3ujQI&fs=1" />
    <meta property="og:video:type" content="application/x-shockwave-flash" />
    <meta property="og:video:width" content="560" />
    <meta property="og:video:height" content="315" />

    In my single.php I have some content and within the content I also have 2 social buttons (fb and twitter). These social button are now being displayed at buttom of the custom post type 'videogallery'.
    I don't want those buttons to be displayed, so how can I make my own videogallery template?

    Also I want the information for the og and twitter comming from the header tags (from my own videogallery template)

    So instead of this long url:
    <a href="http://www.facebook.com/sharer/sharer.php?s=100&p%5Btitle%5D=GI%20JOE%202%20Retaliation%20Trailer%202%20-%202013%20Movie%20-%20Official%20[HD]&p%5Bsummary%5D=..etc..etc

    I want it to be like:
    &t='video-title'">Facebook

    and all the other information in the header tags (from my videogallery-template).

  4. karthikeyani
    Member
    Posted 11 months ago #

    Hi,

    Kindly note that, if you want to create a custom template file to call video gallery, it is not available in default package and it is an additional task. If you like to custom the file, please contact our Business Development Team at bdm@contus.in. They will check the feasibility and assist you accordingly.

  5. errick87
    Member
    Posted 11 months ago #

    thank you. I will contact your team in the future.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags