Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37615
    TorstenS
    Participant

    Hi!
    Thanks for your great plugin!
    I struggle to find a way to get rid of the leading line break when inserting the shortcode.
    I want to use it with a do_shortcode in my function.php but there will be leading line break every time.
    Same when I just insert the shortcode post-views in my blog post.
    Thanks again for this plugin and your support!

    Regards
    Torsten

    #39467
    brendanspaar
    Participant

    Hello! I also would like to insert this shortcode immediately after my other post meta data without putting it on a new line. The DIV tag is what is putting it on the new line. Is there any way that this can be removed and changed to only print the SPAN?

    Thanks!

    Brendan

    #39473
    Bartosz
    Keymaster

    Hey,
    You can style the div to be displayed as an inline item in CSS;
    That’s the best option to do.

    .post-views {
    display: inline-block;
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.