Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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.
    #359861

    Hey 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!
    Elliott

    #360081

    Hey Elliott,

    Sure, I am trying to achieve this design:
    design skincareninja

    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.
    #360327

    Hey!

    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,
    Elliott

    #360419

    Hi,

    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.
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Enfold Advanced LayerSlider – Layer Slider dynamic content, show post thumbnail’ is closed to new replies.