Jump to content

Wordpress Slider


AlexYorks

Recommended Posts

Hi,

A page that loads a Slider on my Word Press Page loads the slider to OFF. I want It to load to ON as default

Its in a php file that resides in a Plugin inside a Shortcodes directory

Ive tried to change it but it seems to do nothing when i reload the page. I even deleted the file with the code in and it didnt effect the page at all?

Any help would be very mutch appriciated.

if($enableGoogle == 'yes'){
            $output .=  '<div class="fill-o-bot-wrap">
                                    <div class="row">
                                        <div class="col-md-2">
                                            <img src="'. get_template_directory_uri() .'/assets/images/bot-icon.png" alt="">
                                        </div>
                                        <div class="col-md-7">
                                            <strong>'.esc_html__( 'Feeling lazy? Say HELLO! to Fill-O-Bot! ', 'listingpro-plugin' ).'</strong>
                                            <p>'. esc_html__( 'Don’t worry Fill-o-BOT will help you OUT! Just enter any business on google places and Fill-O-Bot automatically fills in the data that it can grab.', 'listingpro-plugin' ) .'</p>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="bot-on-tag-wrap">
                                                <span class="bot-on-tag">'. esc_html__( 'Turn Me On', 'listingpro-plugin' ) .'</span>
                                                <label class="switch">                                    
                                                    <input id="fill-o-bot-check" class="form-control switch-checkbox" type="checkbox" name="fil-o-bot-check">                                        
                                                    <div class="slider round"></div>
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                    
                                </div>';

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.