WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Adding button to an external link (3 posts)

  1. wizs
    Member
    Posted 3 years 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 Web Design
    Member
    Posted 3 years 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 3 years 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.

Topic Closed

This topic has been closed to new replies.

About this Topic