Questions and discussions

Change slider on home.tpl

Discuss template's customization

Change slider on home.tpl

Postby Stonewolf » Sun May 29, 2016 9:08 am

I've been smashing my head to walls how to change the slider images on homepage. Even Anton gave me a non-understandable answer. So, I've made some research/tests and found the following. Within home.tpl (/templateX), you have to change the code between lines 96 and 121 with your own! The example below is my own (used from a full licensed wowslider):

Code: Select all
<!-- Start HEAD section -->
<link rel="stylesheet" type="text/css" href="engine1/style.css" />
<script type="text/javascript" src="engine1/jquery.js"></script>
<!-- End HEAD section -->
      <!-- Start BODY section -->
<div id="wowslider-container1">
<div class="ws_images"><ul>
      <li><img src="data1/images/img_0205.jpg" alt="Flower" title="Flower" id="wows1_0"/></li>
   <div class="ws_bullets"><div>
      <a href="data1/images/img_0205.jpg" title="Flower"><span><img src="data1/tooltips/img_0205.jpg" alt="Flower"/>1</span></a>
      <a href="data1/images/img_0207.jpg" title="Flower1"><span>2</span></a>
      <a href="data1/images/img_0208.jpg" title="Flower2"><span>3</span></a>
      <a href="data1/images/img_0210.jpg" title="Flower3"><span>4</span></a>
      <a href="data1/images/img_0221.jpg" title="Flower4"><span>5</span></a>
      <a href="data1/images/img_0222.jpg" title="Flower5"><span>6</span></a>
      <a href="data1/images/img_0223.jpg" title="Flower6"><span>7</span></a>
      <a href="data1/images/img_0224.jpg" title="Flower7"><span>8</span></a>
      <a href="data1/images/img_0225.jpg" title="Flower8"><span>9</span></a>
<div class="ws_shadow"></div>
<script type="text/javascript" src="engine1/wowslider.js"></script>
<script type="text/javascript" src="engine1/script.js"></script>
<!-- End BODY section -->

Please, do not use the code! I've posted here ONLY to give others a clue on how to.

Posts: 2
Joined: Mon May 23, 2016 12:36 pm

Return to Design & Templates

Who is online

Users browsing this forum: No registered users and 5 guests

  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  CMSaccount Inc.