Recent Videos Thumbnail: reverse order of source/views & title

Discussion in 'VideoCraft WordPress Theme' started by academybridge, Oct 2, 2014.

Thread Status:
Not open for further replies.
  1. academybridge

    academybridge Member

    Joined:
    Dec 30, 2013
    Messages:
    40
    Likes Received:
    0
    Hello

    Recent Videos: In the displayed list of videos (thumbnails) how can the video title be placed at top of thumbnail and source/views be placed at bottom of thumbnail?

    Thank youG
     
  2. Krish

    Krish Support Staff

    Joined:
    Oct 22, 2012
    Messages:
    210
    Likes Received:
    1
    Location:
    India
    Hello,

    For moving video title above the thumbnail, you have to customise the front-page.php in theme directory.
     
  3. academybridge

    academybridge Member

    Joined:
    Dec 30, 2013
    Messages:
    40
    Likes Received:
    0
    Thank you

    As I am not competent in coding can Ink assist me in some way please?

    Kind regards
    PAX
    G
     
  4. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    Please provide the URL of your website and screenshot if possible.
    Thanks & Regards
    Pramod
     
  5. academybridge

    academybridge Member

    Joined:
    Dec 30, 2013
    Messages:
    40
    Likes Received:
    0

    Attached Files:

  6. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    Use this code in front-page.php(Follow below image).
    PHP:
    <li><span class="videobox" >
                    <h6 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
                                    <?php
                                    $tit 
    the_title(''''FALSE);
                                    echo 
    substr($tit050);
                                    if (
    strlen($tit) > 50)
                                        echo 
    "...";
                                    
    ?>
                                </a></h6>
                          <?php    require ('video-front-thumb.php');  ?>                       
                    <span class="author">
                    <?php $auth the_author(''''FALSE);
                    echo 
    substr($auth014);
                                    if (
    strlen($auth) > 14)
                                        echo 
    "...";
                    
    ?>
                    </span>
                    <span class="views">
                    <?php echo getPostViews(get_the_ID()); ?></span>
                 
                      &nbsp;&nbsp;<?php echo get_the_time('M, d, Y'?>       
                      </span></li>
    Thanks & Regards
    Pramod
     

    Attached Files:

    • 5.png
      5.png
      File size:
      190.5 KB
      Views:
      4
  7. academybridge

    academybridge Member

    Joined:
    Dec 30, 2013
    Messages:
    40
    Likes Received:
    0
    Thank you for that...There is a problem now with overlapping text and number of views. Can I correct spacing somehow or move views to bottom of thumbnail?
     

    Attached Files:

  8. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    Please use 15 0r 20 in the place of every 50 in the previous code.
    Thanks & Regards
    Pramod
     
  9. academybridge

    academybridge Member

    Joined:
    Dec 30, 2013
    Messages:
    40
    Likes Received:
    0
    Thank you for your speedy and efficient service

    PAX
    G
     
Thread Status:
Not open for further replies.

Share This Page