From 76fdf9a9c3a45aa5013f93cedb0a7b0539b43d02 Mon Sep 17 00:00:00 2001 From: Jay Wood Date: Mon, 24 Nov 2014 10:55:18 -0500 Subject: [PATCH] Update API to include opacity for backgrounds --- inc/api.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/inc/api.php b/inc/api.php index 80c2791..36a40ac 100644 --- a/inc/api.php +++ b/inc/api.php @@ -20,6 +20,7 @@ function cwv3_get_css(){ $image = get_option( 'cwv3_bg_image', '' ); $color = get_option( 'cwv3_bg_color', '' ); $custom_css = get_option( 'cwv3_css', '' ); + $opacity = get_option( 'cwv3_bg_opacity', '' ); $bg_image_css = ! empty( $image ) ? 'background-image: url( '. esc_url( $img ) . ' ) no-repeat top center;' : ''; $bg_color_css = ! empty( $color ) ? 'background-color: ' . $color['color'] . ';' : ''; @@ -28,7 +29,15 @@ function cwv3_get_css(){ ?>