Plugin Directory

Changeset 1447930


Ignore:
Timestamp:
07/03/2016 03:20:13 AM (10 years ago)
Author:
sageshilling
Message:

updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • flirty-leads/tags/2.0/flirty-leads.php

    r1447921 r1447930  
    5151                                            function ecs_owp_flirtyleads_content($content) {
    5252                                            //single post and main query or Default homepage or static homepage or blog page
    53                                             if ( (is_single() && is_main_query()) || (is_front_page() && is_home()) || is_front_page() || is_home() ) {
     53                                            if ( (is_single() && is_main_query()) || (is_front_page() && is_home()) || is_front_page() || is_home() || ! is_admin() ) {
    5454                                                    //$content = str_replace('<img', '<div class="elizabethneedsanap_headdiv"><img', $content);
    5555                                                    //$content = str_replace('<img', '<div class="elizabethneedsanap" style="width: ' . $clipimagewidth . ';"><img', $content);
     
    189189                                                                $endimgpos = strpos( $content, '>' );  //where > is at
    190190                                                                $firstcontent = substr( $content, 0, ($endimgpos + 1) ); //beg to >(w>
    191                                                                 $finalstring .= ($firstcontent.$str2.$key_6_value.$str2a.$key_2_value.$str3.$str3a.$str3b.$key_3_value.$str4.$str4a.$str4b.$key_4_value.$str5);
     191                                                                $finalstring .= ($firstcontent.$str2.$key_6_value.$str2a.$key_2_value.$str3.$str3a.$str3b.$key_3_value.$str4.$str4a.$str4b.$str5);
    192192                                                           
    193193                                                               
     
    324324                                                    if((get_post_meta($post->ID, '_ecs_owp_cta_color', true)) == "") $ecs_owp_cta_color_value = '';     
    325325                                                    else $ecs_owp_cta_color_value = get_post_meta( $post->ID, '_ecs_owp_cta_color', true );
    326                                                     $form_fields['ecs_owp_cta_color_field'] = array(        'label' => __('optional: Call to Action text color, default your theme styling, takes hexidecimal like FFFFFF '),       'value' => $ecs_owp_cta_color_value,        'helps' => 'Set call to action text color'  ); 
     326                                                    $form_fields['ecs_owp_cta_color_field'] = array(        'label' => __('optional: Call to Action text color, default your theme styling, takes hexidecimal like FFFFFF , no # needed  '),        'value' => $ecs_owp_cta_color_value,        'helps' => 'Set call to action font color'  ); 
    327327                                                    return $form_fields;
    328328                                                    }
     
    345345                                                    if((get_post_meta($post->ID, '_ecs_owp_cta_size', true)) == "") $ecs_owp_cta_size_value = '';     
    346346                                                    else $ecs_owp_cta_size_value = get_post_meta( $post->ID, '_ecs_owp_cta_size', true );   
    347                                                     $form_fields['ecs_owp_cta_size_field'] = array(     'label' => __('optional: Call to Action text size, default your theme styling, takes number like 12 '),     'value' => $ecs_owp_cta_size_value,     'helps' => 'Set call to action text size'   ); 
     347                                                    $form_fields['ecs_owp_cta_size_field'] = array(     'label' => __('optional: Call to Action font size, default your theme styling, takes number like 12 '),     'value' => $ecs_owp_cta_size_value,     'helps' => 'Set call to action font size'   ); 
    348348                                                    return $form_fields;
    349349                                                    }
     
    366366                                                    if((get_post_meta($post->ID, '_ecs_owp_cta_weight', true)) == "") $ecs_owp_cta_weight_value = '';     
    367367                                                    else $ecs_owp_cta_weight_value = get_post_meta( $post->ID, '_ecs_owp_cta_weight', true );   
    368                                                     $form_fields['ecs_owp_cta_weight_field'] = array(       'label' => __('optional: Call to Action text weight, default your theme styling, takes number like 700 '),      'value' => $ecs_owp_cta_weight_value,       'helps' => 'Set call to action text weight' ); 
     368                                                    $form_fields['ecs_owp_cta_weight_field'] = array(       'label' => __('optional: Call to Action font weight, default your theme styling; options: light, normal, bold, or bolder '),        'value' => $ecs_owp_cta_weight_value,       'helps' => 'Set call to action to bolden text'  ); 
    369369                                                    return $form_fields;
    370370                                                    }
     
    387387                                                    if((get_post_meta($post->ID, '_ecs_owp_cta_height', true)) == "") $ecs_owp_cta_height_value = '';     
    388388                                                    else $ecs_owp_cta_height_value = get_post_meta( $post->ID, '_ecs_owp_cta_height', true );   
    389                                                     $form_fields['ecs_owp_cta_height_field'] = array(       'label' => __('optional: Call to Action text height space, default your theme styling, takes number like 70 '),     'value' => $ecs_owp_cta_height_value,       'helps' => 'Set call to action text space'  ); 
     389                                                    $form_fields['ecs_owp_cta_height_field'] = array(       'label' => __('optional: Call to Action bottom padding beneath lead capture form, default your theme styling, takes number like 70 '),      'value' => $ecs_owp_cta_height_value,       'helps' => 'Set call to action bottom padding, if needed'   ); 
    390390                                                    return $form_fields;
    391391                                                    }
     
    407407                                                    if((get_post_meta($post->ID, '_ecs_owp_btn_color', true)) == "") $ecs_owp_btn_color_value ='';     
    408408                                                    else $ecs_owp_btn_color_value = get_post_meta( $post->ID, '_ecs_owp_btn_color', true );
    409                                                     $form_fields['ecs_owp_btn_color_field'] = array(        'label' => __('optional: Button color'),        'value' => $ecs_owp_btn_color_value,        'helps' => 'Set color of the button'    ); 
     409                                                    $form_fields['ecs_owp_btn_color_field'] = array(        'label' => __('optional: Button color, takes hexidecimal like FFFFFF , no # needed  '),     'value' => $ecs_owp_btn_color_value,        'helps' => 'Set color of the button'    ); 
    410410                                                    return $form_fields;
    411411                                                    }
     
    427427                                                    if((get_post_meta($post->ID, '_ecs_owp_btn_text_color', true)) == "") $ecs_owp_btn_text_color_value ='';     
    428428                                                    else $ecs_owp_btn_text_color_value = get_post_meta( $post->ID, '_ecs_owp_btn_text_color', true );   
    429                                                     $form_fields['ecs_owp_btn_text_color_field'] = array(       'label' => __('optional: Button text color'),       'value' => $ecs_owp_btn_text_color_value,       'helps' => 'Set color of the button text'   ); 
     429                                                    $form_fields['ecs_owp_btn_text_color_field'] = array(       'label' => __('optional: Button text color, takes hexidecimal like FFFFFF , no # needed  '),        'value' => $ecs_owp_btn_text_color_value,       'helps' => 'Set color of the button text'   ); 
    430430                                                    return $form_fields;
    431431                                                    }
Note: See TracChangeset for help on using the changeset viewer.