WordPress.org

Ready to get started?Download WordPress

Forums

WORDPRESS VIDEO GALLERY
CONTUS video gallery plugin add short code in content.php file (6 posts)

  1. vathandhas
    Member
    Posted 8 months ago #

    how to add short code in content.php file[videohome]

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

  2. vathandhas
    Member
    Posted 8 months ago #

    Can u resolve this query?

  3. karthikeyani
    Member
    Posted 8 months ago #

    Hi,

    Please let me know clearly. You want to place the [videohome] tag inside any page or post? If so, go to your WP Admin -> Posts (or) Pages -> Edit the Page (or Post) where you want to place the code and paste the [videohome] tag inside the content and save and check. Please refer the following link for your reference.

    http://screencast.com/t/ZtlhOF2nKOQ

    http://screencast.com/t/Vv460pVkP2F

    If you are still facing any difficulties in this feel free to contact us.

  4. karthikeyani
    Member
    Posted 8 months ago #

    Hi,

    And also you can display particular video using the tag : [hdvideo id=3]

    For particular playlist : [hdvideo playlistid=2]

    You can also mention the width and height of the player and control the player properties, like "autoplay", "zoom". Eg:

    [hdvideo id=3 playlistid=2 width=400 height=400 flashvars=autoplay=true&zoom=false]

  5. errick87
    Member
    Posted 7 months ago #

    he means how we he can put the original code of the shortcode to a file for example within the page.php or single.php
    So he would like to know the ?php ...?> codes instead of the shortcodes.

  6. karthikeyani
    Member
    Posted 7 months ago #

    Hi,

    It is not possible to place short code in custom php file. Whereas you can call the function to display video home page in your php file. Please open the php file where you want to display the videohome page and place the following code and check.

    echo video_homereplace();

    If you are still facing any difficulties in this, feel free to contact us.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.