Search Results for 'shortcode'

Home Forums Search Search Results for 'shortcode'

Viewing 15 results - 1,066 through 1,080 (of 2,038 total)
  • Author
    Search Results
  • #65867
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Obviously it will throw an error. You need to remove that code from your main site’s function.php and then add the code in your child theme.

    2 shortcode function didn’t work on the same theme.

    Regards,
    Dave

    #65856
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Here is the code:

    // add shortcode for popular procedures
    function skt_spa_popular($skt_var, $content = null){
        extract( shortcode_atts(array(
          'title' => 'title',
          'icon'  => get_template_directory_uri().'/images/icon-customizable.png',
          'link'  => '#',
        ), $skt_var));
        
        return '<div id="popular-box">
            <img src="'.$icon.'" />
            <h2>'.$title.'</h2>
            <p>'.$content.'</p>
            <a class="read-more" href="'.$link.'">Read More</a>
            </div>';
    }
    add_shortcode('popular','skt_spa_popular');

    Regards,
    Dave

    #65855

    In reply to: Teethy Theme Questions

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Michelle,

    1. Kindly create a page “Our Team” and use this shortcode inside the page `[centertitle subtitle=”Meet The Team” text=”Our Specialist Doctors” icon=”plus” titlecolor=”#282828″ iconcolor=”#24b9d7″ seperatorcolor=”#f2f2f2″]
    [ourteam col=”4″ show=”4″ excerptlength=””]`

    Then go to Appearance>>Customize>>Front Page>>Home Section 4 and select the “Our team” page from the dropdown.

    Same steps for Treat Yourself To Comprehensive Dental Services Section. Here is the shortcode:

    [centertitle subtitle="Treat Yourself To" text="Comprehensive Dental Services" icon="plus" titlecolor="#282828" iconcolor="#24b9d7" seperatorcolor="#f2f2f2"]	
    [column_area]
    [servicesbox1 image="http://yourwebsite.com//wp-content/themes/teethy-pro/images/dental-services1.jpg" title="Advanced Dentistry" description="Pellentesque pretium dictum congue vivamus quis convallis justo Proin tincidunt metus" icon="plus" url="#" target="_self"]
    [servicesbox1 image="http://yourwebsite.com//wp-content/themes/teethy-pro/images/dental-services2.jpg" title="Dental Implants" description="Pellentesque pretium dictum congue vivamus quis convallis justo Proin tincidunt metus" icon="plus" url="#" target="_self"]
    [servicesbox1 image="http://yourwebsite.com//wp-content/themes/teethy-pro/images/dental-services3.jpg" title="Emergency Care" description="Pellentesque pretium dictum congue vivamus quis convallis justo Proin tincidunt metus" icon="plus" url="#" target="_self"]
    [servicesbox1 image="http://yourwebsite.com//wp-content/themes/teethy-pro/images/dental-services4.jpg" title="Oral Health Consultation" description="Pellentesque pretium dictum congue vivamus quis convallis justo Proin tincidunt metus" icon="plus" url="#" target="_self"]
    [clear]
    [readmore align="center" icon="" button="View All Services" links="#" margintop="3%" target="_parent" color="#ffffff" bgcolor="#24b9d7"]
    [/column_area]

    Check the documentation here: http://sktthemesdemo.net/documentation/skt_teethy_doc/#homesections

    2. Open the demo on your browser: http://sktthemesdemo.net/dentist/

    Right click on the image and you will find the option “Open image in a new tab”. After that you will find the image size for the image. Image size appears on the title of the image.

    Regards,
    Dave

    #65768

    In reply to: Contact Me not working

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Vanessa,

    Here is the shortcode of contact form. Add your email address in the shortcode.

    [contactform to_email="[email protected]" title="Contact Form"]

    Regards,
    Dave

    #65708
    JokoJoko
    Participant
    Member since: February 10, 2017

    Helo

    I try to remove slider code from header.php, but after remove white screen appeare, my question how to clear white screen when i remove slider code, below is code i remove

    <?php $slidershortcode = of_get_option(‘slidershortcode’); ?>
    <?php if( !empty($slidershortcode)){?>
    <div class=”slider-main”>
    <?php if( of_get_option(‘slidershortcode’) != ”){ echo do_shortcode(of_get_option(‘slidershortcode’, true));}; ?>
    </div>
    <?php } else { ?>

    <div class=”slider-main”>
    <?php

    $slAr = array();
    $m = 0;
    for ($i=1; $i<11; $i++) {
    if ( of_get_option(‘slide’.$i, true) != “” ) {
    $imgSrc = of_get_option(‘slide’.$i, true);
    $imgTitle = of_get_option(‘slidetitle’.$i, true);
    $imgDesc = of_get_option(‘slidedesc’.$i, true);
    $imglink = of_get_option(‘slidelink’.$i, true);
    $imgbut = of_get_option(‘slidebutton’.$i, true);
    if ( strlen($imgSrc) > 10 ) {
    $slAr[$m][‘image_src’] = of_get_option(‘slide’.$i, true);
    $slAr[$m][‘image_title’] = of_get_option(‘slidetitle’.$i, true);
    $slAr[$m][‘image_desc’] = of_get_option(‘slidedesc’.$i, true);
    $slAr[$m][‘image_url’] = of_get_option(‘slidelink’.$i, true);
    $slAr[$m][‘image_but’] = of_get_option(‘slidebutton’.$i, true);
    $m++;
    }
    }

    }
    $slideno = array();
    if( $slAr > 0 ){
    $n = 0;?>
    <div id=”slider” class=”nivoSlider”>
    <?php
    foreach( $slAr as $sv ){
    $n++; ?>” alt=”<?php echo esc_attr($sv[‘image_title’]);?>” title=”<?php if ( ($sv[‘image_title’]!=”) && ($sv[‘image_desc’]!=”)) { echo ‘#slidecaption’.$n ; } ?>”/><?php
    $slideno[] = $n;
    }
    ?>
    </div><?php
    foreach( $slideno as $sln ){ ?>
    <div id=”slidecaption<?php echo $sln; ?>” class=”nivo-html-caption”>
    <div class=”top-bar”>
    <?php if( of_get_option(‘slidetitle’.$sln, true) != ” ){ ?>
    <h2><?php echo of_get_option(‘slidetitle’.$sln, true); ?></h2>
    <?php } ?>
    <?php if( of_get_option(‘slidedesc’.$sln, true) != ” ){ ?>
    <p><?php echo of_get_option(‘slidedesc’.$sln, true); ?></p>
    <?php } ?>
    <?php if( of_get_option(‘slideurl’.$sln, true) != ”){ ?>
    “><?php _e(‘Read More »’,’skt-white’); ?>
    <?php } ?>
    <?php if( of_get_option(‘slidebutton’.$sln, true) != ”){ ?>
    <?php echo of_get_option(‘slidebutton’.$sln, true); ?>
    <?php } ?>
    </div>
    </div><?php
    } ?>

    </div>

    <div class=”clear”></div>

    <?php } ?>
    </div>
    /#services” class=”arrow-down”>
    </div><!– slider –>
    <?php } ?>

    <?php } ?>

    #65696

    In reply to: SKT Strong

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Stefanie,

    1. how do you add images to Gallery? When I try to add the images, it only asks for Video URL.

    You need to set featured image. here is the video on how to set featured image: https://www.youtube.com/watch?v=310YGYtGLIM

    2. When i click the Blog page to see the Posts, it doesn’t show anything even though there is one post.

    Select page template “Blog right sidebar”. Check here: http://66.147.244.187/~starbadm/blog/

    3. is it possible to have a image slider feature?

    Kindly use this shortcode: [gallery-carousel show="-1"] Check here: http://66.147.244.187/~starbadm/gallery-2/

    NOTE: You are using very large images in gallery, size of the images are also large. Resize the images so that it load faster.

    Regards,
    Dave

    #65636

    In reply to: Beauty Cut

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    You can use plugin Contact form 7. Create a form and use its shortcode in contact page.

    #65526

    In reply to: Contact Me not working

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Vanessa,

    Yes, you need to add your email address in the shortcode. Which theme you are using?

    Regards,
    Dave

    #65514

    In reply to: Needed code

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Kimmy,

    This issue was resolved from our end. Kindly check and confirm.

    Here is the shortcode:

    [photogallery filter="false" category="category-slug"]

    [testimonial category="category-slug"]

    You have to add category slug in category option.

    Regards,
    Brad

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Lisa,

    It is an image not an icon. You need to create globe icon as a png image and add the URL of that image in the shortcode.

    Regards,
    Dave

    #65353

    In reply to: SKT Girlie Pro

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Theresa,

    Kindly use this plugin: https://wordpress.org/plugins/instagram-feed/

    Then go to Appearance>>Widget>>Footer Widget 2

    Drag and drop text widget in Footer widget 2 and add [instagram-feed] shortcode.

    Regards,
    Dave

    #65352

    In reply to: SKT Girlie

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Jemila,

    Kindly use this plugin: https://wordpress.org/plugins/instagram-feed/

    Then go to Appearance>>Widget>>Footer Widget 2

    Drag and drop text widget in Footer widget 2 and add [instagram-feed] shortcode.

    Regards,
    Brad

    #65351

    In reply to: Team and Map

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31297
    • Total: 31297
    Member since: August 16, 2013

    Hi Limbani,

    Kindly go to Appearance>>Theme Option>>Contact Info

    You will find Google map option there, Add the google map code in the box.

    For the team Member add this shortcode in the section [teammember col="4"]

    Regards,
    Dave

    #65253
    RupertRupert
    Member
    Member since: October 27, 2016

    I’m trying to position the simple button in the center but failing every time. It would go left and right but not the center. Any fix for the shortcode:

    [simple_button size=”medium” bg_color=”#060″ color=”#fff” text=”INQUIRE NOW” title=”INQUIRE NOW” url=”” position=”center”]

    Please see bottom of this page:
    https://wackyshots.ca/our-services/photo-booths/

    #65248
    RupertRupert
    Member
    • Topics: 4
    • Replies: 2
    • Total: 6
    Member since: October 27, 2016

    Hello, ive since updated the content of the additional services but now it wont line up like the way it used to do. How do i tweak the shortcode to align the rows and columns?

Viewing 15 results - 1,066 through 1,080 (of 2,038 total)