WordPress.org

Support

Support » Plugins and Hacks » CONTUS video gallery plugin add short code in content.php file

CONTUS video gallery plugin add short code in content.php file

Viewing 5 replies - 1 through 5 (of 5 total)
  • Can u resolve this query?

    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.

    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]

    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.

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CONTUS video gallery plugin add short code in content.php file’ is closed to new replies.