Shortcode for buttons in blog post?

  • Rob
    Rob
    Newbie 48 points
    September 19, 2016 at 1:22 pm

    Hopefully an easy question today 🙂

    How to put “buttons” into a blog post?

    So if I have text and a hyperlink now, how can I increase my clicks out by having the same text “inside” a nice shiny button?

    Guess there is a shortcode, but couldn’t figure it out…

    Thanks in advance!

    Rob


  • Josh
    Super Guru 13,875 points
    September 19, 2016 at 4:17 pm

    Hello Rob,
    There is no shortcode to do this.You will need some html for this.The file to edit is Appearance >Editor > content-post.php
    For example:
    <a href="#" class="btn btn-primary" >Button Text</a>

    More info:https://www.w3schools.com/bootstrap/bootstrap_buttons.asp
    https://getbootstrap.com/components/

  • Rob
    Rob
    Newbie 48 points
    September 29, 2016 at 1:11 pm

    Worked perfectly – thanks!


  • Josh
    Super Guru 13,875 points
    September 29, 2016 at 1:59 pm

    You’re welcome Rob.Have a great day 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes