Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I control text panel under Featured Panel for text and video?
08-13-2014, 10:37 PM (This post was last modified: 08-13-2014 10:39 PM by Russell H..)
Post: #1
How do I control text panel under Featured Panel for text and video?
On all Featured Panel templates for the small subtext box under the featured gallery you control the content for that area (could be text, video, images or quote rotator widget) in "Custom Fields" which will appear on the Page editor if you scroll down (near to where the "comments on/off" is). If you cant see Custom field you need to go to top of page and check the box for Custom Fields in the "Screen Options" drop down menu.

Then create a custom field by inserting the word "text" in the "name" field, and then just drop your text or html code or WP shortcode into the corresponding "value" field.

Hint: a good idea is to write your text in the big main editor and there you can add bolding, underlines, links. colors etc,.. and then select the html view and copy to clipboard then drop into Custom Fields "value" field. Save and you're done.
Reason we use Custom fields is so that we can keep the main page editor free for content that will appear on the main page.

Placing a video in the Featured Text Panel:
To place a popout video in the Featured Text Panel you follow the same process as inserting text by using the page editor to create your embed code and then copy and paste that code into the custom field named "text". The actual code used to create a video that pops out from a static image can be seen below:
**IMPORTANT** YOU NEED TO USE YOUR OWN IMAGE (from URL or uploaded to media library) AND SWAP OUT THE YOUTUBE VIDEO ID'S WITH YOUR OWN!
(THIS CODE BELOW USES AUTOPLAY AND MODEST BRANDING (recommended) BUT YOU CAN MAKE IT MANUAL PLAY BY CHANGING CODE SNIPPET FROM "&autoplay=1" TO "&autoplay=0" )
NOTE THAT THE IMAGE SIZES HAVE BEEN CODED INLINE HERE TO DISPLAY A SMALL IMAGE OF 115h and 110w TO SUIT THE FEATURED TEXT PANEL BUT YOU CAN HAVE LARGER IMAGES FOR WIDGETS AND IN PAGE DISPLAY.

Code:
<a class="fancyvideo" href="https://www.youtube.com/watch?v=zbL_2Uzulyk?version=3&autoplay=1&autohide=0&controls=0&hd=0&modestBranding=1&rel=0&showinfo=0" ><img width="115" height="100" alt="Gplaces Video" src="http://localbizvortex.com/vortex-demo/wp-content/uploads/2013/05/video_icon_300.jpg" /></a>
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)