Tagged: advanced layerslider, dynamic, dynamic content, LayerSlider WP, post, thumbnail
-
AuthorPosts
-
November 28, 2014 at 8:41 am #359450
Hi everyone.
Great wp theme!
I am trying to create slides that have sidebar over image with recent “featured” posts.
I am struggling to understand how to display small thumbnail instead of full-size post image.Currently I have this code
<article> <div class="promotional-featured-article"> <a href="[post-url]"><img src="[image-url]" /></a> <div class="copy-container"> <h4><a href="[post-url]">[title]</a></h4> <p>[content]</p> [date-published] </div> </div> </article>
I have also tried to use [thumbnail] – which is generating link as well but it is the same as [image-url]
Is it possible to achieve that?
Could you advice me please- This topic was modified 9 years, 12 months ago by db-studios.
November 28, 2014 at 8:26 pm #359861Hey db-studios!
I’m not really sure what your doing there. Can you send us a link and take a screenshot highlighting what is going on so we can get a better idea? You can set your reply as private if you wish.
Cheers!
ElliottNovember 29, 2014 at 3:08 pm #360081Hey Elliott,
Sure, I am trying to achieve this design:
On image – I want to display featured(category) news. They should have small thumbnail.
At the moment I only managed to display full post image.If you will have a look at site you will see that it displays full-size image.
here on http://skincareninja.com/I am wondering if [thumbnail] is giving a link for a file (for some reason the same as [url-link] full-size image – Maybe it is forced to give as there is no thumbnail image generated?
- This reply was modified 9 years, 12 months ago by db-studios.
November 30, 2014 at 6:30 pm #360327Hey!
So those shortcodes you are using are from a plugin? Have you considered using our blog shortcode? We can give you some CSS to make it look similar to that.
Regards,
ElliottNovember 30, 2014 at 10:22 pm #360419Hi,
Yes those shortcodes are in LayerSlider wp.
Blog shortcode from theme?
I did not thought that it will work in LayerSlider…
Will it display recent 3 posts from featured category?update – just entered shortcode – and it did work.
Thanks – now I will style it.- This reply was modified 9 years, 11 months ago by db-studios.
-
AuthorPosts
- The topic ‘Enfold Advanced LayerSlider – Layer Slider dynamic content, show post thumbnail’ is closed to new replies.