How to edit the post type videogallery (5 posts)

  1. errick87
    Posted 2 years 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:

    Thank you.


  2. karthikeyani
    Posted 2 years ago #


    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
    Posted 2 years 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:

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

  4. karthikeyani
    Posted 2 years ago #


    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
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic