How to add video to bottom right feature in Andrina

Discussion in 'Andrina WordPress Theme' started by rdp5000, May 31, 2013.

  1. rdp5000

    rdp5000 New Member

    Joined:
    Dec 28, 2011
    Messages:
    6
    Likes Received:
    0
    I saw the thread with the instructions for another theme showing how to do this, but I followed what I thought were the instructions and image example, but it didn't work.

    Can you post a clearer instruction on how to add video to this theme. please be explicit on what part of the embed code is pasted into the front page php and exactly where.

    I am simply trying to add a youtube video to the bottom right feature. I pasted the entire embed code in the right spot, but there was no video. I know I found the right spot because the dog image video disappeared. and only text was visible. your example showed a video size of 560 X 315 and mine was, so I didn't change the size. Do I have to?

    Here is the video I am trying to embed
    here is the embed code: <iframe width="560" height="315" src="http://www.youtube.com/embed/gc2M4Tb5oQo?rel=0" frameborder="0" allowfullscreen></iframe>

    Here is the php code in editor on FrontPage.php
    and I know it is the last line that I want to replace, correct?

    <div class="bottom-feature-right">
    <?php if (inkthemes_get_option('inkthemes_right_head') != '') { ?>
    <h1><?php echo stripslashes(inkthemes_get_option('inkthemes_right_head')); ?></h1>
    <?php } else { ?>
    <h1><?php _e('Recent Works','andrina'); ?></h1>
    <?php } ?>
    <div class="bottom-feature-right-wrapper">
    <?php if (inkthemes_get_option('inkthemes_right_des') != '') { ?>
    <p><?php echo stripslashes(inkthemes_get_option('inkthemes_right_des')); ?></p>
    <?php } else { ?>
    <img src="<?php echo get_template_directory_uri(); ?>/images/vids.png" alt="Video Image" />

    the website is www.familycreations4you.com if this helps

    What about videos in posts, can I just use a plugin to upload those?
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to Appearance > Theme Option > HomePage Settings> Homepage Two Cols > Right Column Description
    and paste your embed code there.It will show the video in the home page, and you have to adjust the width and height of the video which you can adjust in the embed code of the video.

    You can add the YouTube video in the post, But video will only seen at the single page of the post not on blog page.
     

Share This Page