m.scud
Forum Replies Created
-
Forum: Plugins
In reply to: [Easing Slider] Adding Text and Links outside slider graphicHey Ishr – I was almost able to do this with some tweeking, but the slider does not quite function totally normal. Feel free to mess with it, maybe you can figure out why the text doesn’t quite slide with the images completely.
I took the following code found in easingslider.php
<li><?php if($permalink == '') { ?><a href="<?php the_permalink(); ?>"><?php } ?><img src="<?php echo $image; ?>" style="width:<?php echo $width; ?>px;" alt="<?php echo $images; ?>" /><?php if($permalink == '') { ?></a><?php } ?></li>And replaced it with this code:
<li><div style="position:absolute;padding-left:10px;padding-top:10px;background-color:#000000;width:610px;float:left;"><div style="font-size:1.1em;font-weight:bold;line-height:5px;"><? the_title(); ?></div><div class="slider_excerpt"><? the_excerpt(); ?></div></div><?php if($permalink == '') { ?><a href="<?php the_permalink(); ?>"><?php } ?><img src="<?php echo $image; ?>" style="width:<?php echo $width; ?>px;" alt="<?php echo $images; ?>" /><?php if($permalink == '') { ?></a><?php } ?></li>This is only when using the slider feature of putting WordPress posts from category into the slider. It simply pulls the title and the excerpt along with the image.
As I said though, it would take additional work to make this work completely, but you can see if it would work for you.