Skip to content

Commit

Permalink
imp : apply a btn-edit style to the customize now link for featured p…
Browse files Browse the repository at this point in the history
…ages
  • Loading branch information
nikeo committed Oct 11, 2017
1 parent 22253fc commit bb9577d
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -128,7 +128,8 @@ function czr_fn_get_single_fp_model( $fp_single_id, $show_thumb, $fp_index ) {
$customizr_link = '';

if ( ! czr_fn_is_customizing() && is_user_logged_in() && current_user_can('edit_theme_options') ) {
$customizr_link = sprintf( '<br/><a href="%1$s" title="%2$s" style="text-decoration:underline;font-weight:bold;padding-top: 1em;padding-top: 1em;display: inline-block;display: inline-block;text-transform:uppercase;">%3$s</a>',
$customizr_link = sprintf( '<br/><a href="%1$s" title="%2$s" class="btn btn-edit" style="margin-top: 1em;
font-weight: bold;"><i class="icn-edit"></i>%3$s</a>',
czr_fn_get_customizer_url( array( 'control' => 'tc_featured_text_'.$fp_single_id, 'section' => 'frontpage_sec') ),
__( 'Customizer screen' , 'customizr' ),
__( 'Customize it now' , 'customizr' )
Expand Down

0 comments on commit bb9577d

Please sign in to comment.