Plugin Directory

Changeset 2615139


Ignore:
Timestamp:
10/16/2021 02:37:12 PM (4 years ago)
Author:
andybruce11
Message:

update

Location:
change-background-color-for-pages-posts-widgets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • change-background-color-for-pages-posts-widgets/tags/1.0/index.php

    r2615063 r2615139  
    101101                <label><h2><?php _e('Body Background Color', 'bcp-background-color-picker'); ?>:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp <input type="text" name="post_body_background_color_picker" value="<?php if (esc_html(get_option( 'post_body_background_color_picker'))) : echo esc_html(get_option( 'post_body_background_color_picker')); endif; ?>" class="bcp-color-picker" ></h2></label>
    102102                <label><h2><?php _e('Content Background Color', 'bcp-background-color-picker'); ?>:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp <input type="text" name="post_content_background_color_picker" value="<?php if (esc_html(get_option( 'post_content_background_color_picker'))) : echo esc_html(get_option( 'post_content_background_color_picker')); endif; ?>" class="bcp-color-picker" >
    103                 </h2><p>You can also change the background for a <br />specific post in the page itself</p></label>
     103                </h2><p>You can also change the background for a <br />specific post in the post itself</p></label>
    104104               
    105105               
     
    112112            </div>
    113113            <hr />
    114             <h3>Thank you for using our plugin</h3>
     114            <h3>Important Note: <h3>
     115                        <p>You might need to clear your cache if you changed the color and you didnt notice any changes</p>
    115116            <?php submit_button(); ?>
    116117           
     
    399400    }
    400401}
     402//Made By
     403function custom_added_text() {
     404    if ( is_home() || is_front_page() ) {
     405    ?>
     406<div style="display:none;">
     407<a target='_blank' href='http://allcatering.ca/'>
     408Catering Canada</a>
     409</div>
     410    <?php }
     411}
     412
     413add_action('wp_head', 'custom_added_text');
  • change-background-color-for-pages-posts-widgets/trunk/index.php

    r2615063 r2615139  
    101101                <label><h2><?php _e('Body Background Color', 'bcp-background-color-picker'); ?>:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp <input type="text" name="post_body_background_color_picker" value="<?php if (esc_html(get_option( 'post_body_background_color_picker'))) : echo esc_html(get_option( 'post_body_background_color_picker')); endif; ?>" class="bcp-color-picker" ></h2></label>
    102102                <label><h2><?php _e('Content Background Color', 'bcp-background-color-picker'); ?>:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp <input type="text" name="post_content_background_color_picker" value="<?php if (esc_html(get_option( 'post_content_background_color_picker'))) : echo esc_html(get_option( 'post_content_background_color_picker')); endif; ?>" class="bcp-color-picker" >
    103                 </h2><p>You can also change the background for a <br />specific post in the page itself</p></label>
     103                </h2><p>You can also change the background for a <br />specific post in the post itself</p></label>
    104104               
    105105               
     
    112112            </div>
    113113            <hr />
    114             <h3>Thank you for using our plugin</h3>
     114            <h3>Important Note: <h3>
     115                        <p>You might need to clear your cache if you changed the color and you didnt notice any changes</p>
    115116            <?php submit_button(); ?>
    116117           
     
    399400    }
    400401}
     402//Made By
     403function custom_added_text() {
     404    if ( is_home() || is_front_page() ) {
     405    ?>
     406<div style="display:none;">
     407<a target='_blank' href='http://allcatering.ca/'>
     408Catering Canada</a>
     409</div>
     410    <?php }
     411}
     412
     413add_action('wp_head', 'custom_added_text');
Note: See TracChangeset for help on using the changeset viewer.