WordPress.org

Ready to get started?Download WordPress

Forums

Adding button to an external link (3 posts)

  1. wizs
    Member
    Posted 9 months ago #

    Hi,

    Wondering if anyone can help or maybe suggest a suitable plug-in? I want to place a "Get it now" button alongside the post listings on my blog.

    So I have something like this:

    Post title here (goes to permalink)
    Summary here....
    [Button] (to an external link)

    Then this repeats for all the posts on a given page.

    If anyone is aware how to do this or can assist that would be great. I'm currently using the Twenty Twelve theme but will likely change this at some stage.

    Thanks!

  2. Pioneer Valley Web Design
    Member
    Posted 9 months ago #

    I'm currently using the Twenty Twelve theme but will likely change this at some stage.

    This work would need to be done in the current theme's template file(s) used to output that page. So, it will matter which theme is in use.

    Once you settle on a Theme, create a Child Theme for it and review using a custom page template.

    With twentytweleve, you could edit a template part, ie, content.php or content-page.php or create your own content template. Your button code would be added in a div at bottom.

  3. kevinhaig
    Member
    Posted 9 months ago #

    Use text mode in the editor panel, wrap the link in <button></button>

    I have a plugin called content-pizazz that you can use if you want something more fancy.

Reply

You must log in to post.

About this Topic