add elipsis per blurb change blurb length add video
Posted: Tue Oct 28, 2014 1:46 am
old video code
is_home()
mediaElement.js - HTML5 Video & Audio Player (it is part of the wordpress core now I think)
http://www.talljeff.com/_assets/video/welcome.mp4
=====words total per blurb
appearance -> editor -> theme functions (functions.php)
*40* or whatever word count you want
=====add ellipsis at the end of each blog excerpt listed
//written by Kristoffe Brodeur. ©2014 All Rights Reserved
Code: Select all
<iframe src="//fast.wistia.net/embed/iframe/d1wiuah25l" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen width="300" height="169" style="margin-bottom:30px;"></iframe>
mediaElement.js - HTML5 Video & Audio Player (it is part of the wordpress core now I think)
http://www.talljeff.com/_assets/video/welcome.mp4
Code: Select all
<video src="http://www.talljeff.com/_assets/video/welcome.mp4" width="300" height="169"></video>
=====words total per blurb
appearance -> editor -> theme functions (functions.php)
Code: Select all
function custom_excerpt_length($length)
{
return 40;
}
=====add ellipsis at the end of each blog excerpt listed
//written by Kristoffe Brodeur. ©2014 All Rights Reserved
Code: Select all
function add_ellipsis($text)
{
$fixedStr=$text."...";
return $fixedStr;
}
add_filter('get_the_excerpt','add_ellipsis');