WordPress.org

Ready to get started?Download WordPress

Forums

Colored Buttons Widget (4 posts)

  1. asbness
    Member
    Posted 1 year ago #

    So I made my first widget. I was looking for large colored buttons for my sidebar (I am running WP Page Widget to get custom sidebar for posts and pages). I found buttons I could use with shortcodes, but I wanted to avoid borders and padding around my colored button.

    So I did some work myself, and put together an easy widget plugin. Just a few colors to begin with:

    Green
    Grey
    Purple
    Red
    Orange
    Blue

    What it became was a widget with two input fields, one for the button text and one for a link. Only customization is the color of the button.

    It is to be read about (and images) at http://heavysheep.com/plugins/colored-buttons-widget/ or to be downloaded at https://github.com/asbness/heavysheep-colored-buttons

  2. mrjeremylaw
    Member
    Posted 1 year ago #

    Thank you , exactly what I was looking for

  3. mrjeremylaw
    Member
    Posted 1 year ago #

    Works good, no issues. ( wish i could control the size of the button) , But I am not complaining since it looks great and works well. Thank you

  4. asbness
    Member
    Posted 1 year ago #

    I thought of doing some settings on the size, but never did, just kept it simple and published it. It is possible to alter size with CSS though.

Topic Closed

This topic has been closed to new replies.

About this Topic