Worpdress Homepage that shows HTML Excerpts, thumbnails and videos – How to?

Customizing my homepage in wordpress to show excerpts while also including videos and html tags

By using a little code change and the use of 2 plugins, I was able to customize my homepage (frontpage) to include a nice use of html tags and my embedded videos. Why the video part was important to me was that I was getting less video plays when they were only available on the full posts. Alot of my video traffic came from my front page announcements which was easier for the users to click and play. So I had to come up with a solution that included excerpts, videos showing and thumbnails……..not easy

The good news is I worked thru all the parameters to a really easy solution

INSTRUCTIONS:

01– Open up your file,  loop.php and change the following page code (backup up just in case)

– do a search for “the_content()” and replace with “the_excerpt()”
– this will set up “excerpts” instead of full posts for your homepage (only)

02– Add plugins below and note instructions:

Want to see a visual example of this? Check out HTML exceprts with thumbnails and video here

PLUGIN:”ADVANCED EXCERPT” (location once installed     dashboard->plugins–>Excerpt)
On bottom where it says more tags, make sure and add “param”, “div”, “object” to list
– now uncheck “div” and “img” (you uncheck markup that you don’t want showing)
– this will put your video on the front home page, the “div” will be removed so it doesn’t look odd

Need to add youtube / vimeo or daily motion to excerpt?
In plugin :”ADVANCED EXCERPT”, make sure and add these tags, leave them “checked”

span
iframe
a
p
style
script

– also you’ll want to move the video code to somewhere in the middle of your post, or it might not look irght
do not check “Strip Shortcodes”

UPDATE: I had some issues when upgrading on this plugin with some of the settings not showing up. To follow this exercise, I recommend using version 3.1 found here . Also make sure and note the screen shot below. Add your settings to match mine.

03– ADD
PLUGIN:”Thumbnail for Excerpts

 – this plugin will add thumbnails to your excerpts making them look nicer on the homepage
 – this plugin will also add thumbnails to all your catergory pages which by defualt don’t show any thumbnails
 – note: for “apply on home” keep it at “no
 – note also your location of DEFAULT IMAGE, you’ll want to grab this, rename it and change the graphic for better SEO (THIS IS YOUR DEFAULT THUMBNAIL when no image is in your post

 

Related Posts Plugin for WordPress, Blogger...