WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Adding Thumbnail to posts displayed using shortcode

[Resolved] Adding Thumbnail to posts displayed using shortcode

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Jakob Lenfers
    Member

    @jakob42

    Sorry, I missed your post. Sadly it isn’t implemented at the moment.

    +1 for this feature. Would happily donate if it will facilitate a commitment.

    Plugin Author Jakob Lenfers
    Member

    @jakob42

    I just pushed version 1.8.0 to the repository, which should be available shortly, that adds that function.

    Awesome ! Please accept my donation 🙂

    Hey Jakob,
    Do you have an english page for the paypal donation ?( it seems that my US paypal login credentials don’t work with the one attached to the plugin ).

    Or, please email me at faisal.humayun@outlook.com and maybe you can invoice me directly?

    Plugin Author Jakob Lenfers
    Member

    @jakob42

    Thanks for the donation, we worked it out.

    Hi:

    When using show_post_thumb=true the thumbnail appears above the title. I would like to style the image to align it to the left of the title, which is the css rule that controls this behavior?

    Thanks!

    Plugin Author Jakob Lenfers
    Member

    @jakob42

    Sorry, no idea.

    Hey Osckar,
    You could try using the “inspect element” accessible by the right-click context menu of your browser to figure out any css declaratives, as I did, and applied the following to my own site ( http://seekeraftertruth.com )

    .widget_reaction_buttons .attachment-post-thumbnail {
    display: block;
    width: 70px !important;
    height: 70px !important;
    float: left;
    margin: 5px 18px 0px 0px;
    }

    Hi:

    @faisal Humayun: thanks for your advice, that’s exactly what I did 😛 I share my css code, this is some basic styling that could be enhanced:

    div.reaction_buttons_most_clicks img {
    display: block;
    margin: 5px 18px 0px 0px;
    float: left;
    }
    
    .reaction_buttons_most_clicks ol li {
    clear: both;
    font-size: 20px;
    }

    The clear property is needed on the ordered list to avoid the “staircase” effect on the elements. (BTW, your site has this effect, you should fix it to avoid image jumping up)

    The shortcode I’m using is:

    [reaction_buttons_most_clicks limit_posts=10 show_post_thumb=true only_buttons=OMG]

    Thanks!

    @osckar – Hey thanks so much for that pro tip! 😛 I’m by no means a css guru and really wasn’t sure if that was something that could be fixed. I got it all fixed now.

    Likewise, I’m glad you were able to take care of your situation and share your findings with the community.

    I hope our exchange helps anyone else who is looking for answers 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Adding Thumbnail to posts displayed using shortcode’ is closed to new replies.