Video submitter name not added on homepage/front page

Discussion in 'VideoCraft WordPress Theme' started by ahoque, Aug 26, 2014.

  1. ahoque

    ahoque Guest

    Joined:
    Jun 13, 2014
    Messages:
    125
    Likes Received:
    1
    Hi,

    Video submitter name not added on homepage/front page. eg. "By..." However, the user who added the video does show under the single video page to the right widget. How can I fix this? Please check out www.nasheeds.tv and compare the front page and the single video pages.
     
  2. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    1. Open front-page.php file.
    2. Find <?php echo get_the_time('M, d, Y') ?>, you will find this code 3 times in front-page.php file.
    3. Replace it with following code.
    Code:
      by <?php $auth = the_author('', '', FALSE);
       echo substr($auth, 0, 14);
            if (strlen($auth) > 14)
                  echo "...";
        ?>
    That will resolve your issue.

    Thanks & Regards
    Yogesh Bhade
     

Share This Page