thomasgriffin / theme

Theme for Pippinsplugins.com
2 stars 3 forks source link

Button short code missing #51

Closed pippinsplugins closed 9 years ago

pippinsplugins commented 9 years ago

We need to bring the [button] short code back: screen shot 2014-12-22 at 1 57 05 pm

It's part of the ThemeBlvd Short Codes plugin. Let's just copy it from their to the custom functions plugin.

pippinsplugins commented 9 years ago

Done.

pippinsplugins commented 9 years ago

Looks like it got killed again.

@sumobi Did you update the custom functions plugin?

pippinsplugins commented 9 years ago

Fixed again:

function pw_button_shortcode( $atts, $content = null ) {

        $atts = shortcode_atts( array( 'link' => '' ), $atts );

        return '<a href="' . esc_url( $atts['link'] ) . '" class="edd-submit button blue">' . $content . '</a>';
}
add_shortcode( 'button', 'pw_button_shortcode' );
amdrew commented 9 years ago

@pippinsplugins Ahh yeah I needed to update it. Can we get it version controlled? :) https://github.com/pippinsplugins/theme/issues/61

pippinsplugins commented 9 years ago

Going to do that tomorrow

On Sun, Dec 28, 2014 at 8:22 PM, Andrew Munro notifications@github.com wrote:

@pippinsplugins https://github.com/pippinsplugins Ahh yeah I needed to update it. Can we get it version controlled? :) #61 https://github.com/pippinsplugins/theme/issues/61

— Reply to this email directly or view it on GitHub https://github.com/pippinsplugins/theme/issues/51#issuecomment-68227890.