Speakers Custom Text widget

Best WordPress theme for festivals or other events with responsive, clean and unique design.
GK User
Tue Aug 05, 2014 3:40 pm
I understand that the Speakers widget won't work correctly without 6. Well, I don't have 6. The blog article on GK Speakers suggests using a Custom Text widget using the Speakers widget as a guide. I'm afraid I don't know or can't find what that set-up would look like. So, if someone could please note down here what that custom text would look like, I'd be grateful. Thanks!
User avatar
Fresh Boarder

GK User
Tue Aug 05, 2014 9:23 pm
Hello,

You have to open Fest/gavern/widget.speakers.php file and copy html structure into text widget, which may be placed in the speakers widget area.

e.g. this code:
Code: Select all
<div class="gkw-speakers" data-animinterval="5000" data-animspeed="500">
   <div class="gkw-speaker-big speaker-hide">
      <div>
         <a href="#URL1">
            <img src="url_to_image" alt="speaker1" />
         </a>
      </div>
      <h4>
         <a href="speaker_URL" title="speaker1 name">speaker1 TItle</a>
      </h4>      
   </div>

   <div class="gkw-speakers-small-left">
      <div class="gkw-speaker-small speaker-hide">
         <div>
            <a href="URL2">
               <img src="url_to_image2" alt="spekaer 2" />
            </a>
         </div>
         <h4>
            <a href="URL2" title="speaker 2">speaker2 title</a>
         </h4>
      </div>
   
      <div class="gkw-speaker-small speaker-hide">
         <div>
            <a href="'.$speakers[1]['url'].'">
               <img src="'.$speakers[1]['img'].'" alt="'.$speakers[1]['title'].'" />
            </a>
         </div>
         <h4>
            <a href="'.$speakers[1]['url'].'" title="'.$speakers[1]['title'].'">'.$speakers[1]['title'].'</a>
         </h4>
      </div>
   </div>
</div>


First 2 speakers are changed, you have to use your own speaker URLs and path to the spekaer featured image.
User avatar
Moderator

GK User
Wed Aug 06, 2014 12:48 am
AAAAah, thank you!
User avatar
Fresh Boarder


cron