Shortcodes again

Discussion in 'Woodpecker WordPress Business Theme' started by gwindylyn, Jul 16, 2014.

Thread Status:
Not open for further replies.
  1. gwindylyn

    gwindylyn Member

    Joined:
    Mar 16, 2013
    Messages:
    47
    Likes Received:
    1
    My question in my previous posting didn't exactly get answered so sorry for the repost. I was wondering if there was way to use shortcodes in the Videobox area and in the slider area like suggested here:

    http://www.inkthemes.com/community/threads/shortcodes-in-home-page-settings.11549/

    I want to be able to easily input a shortcode into the Theme Options admin section of the theme without messing with the front-page.php file.

    Again, sorry for the repost but my other thread was closed without my question being answered. Thank you!
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    It is not possible to achieve this without editing front page.
    Open front-page.php file and replace code as shown in the images.

    For video boxes.
    code1
    Code:
    <?php echo do_shortcode(woodpecker_get_option('woodpecker_video_box1')); ?>
    shortcode.png

    code2
    Code:
     <?php echo do_shortcode(woodpecker_get_option('woodpecker_video_box2')); ?>
    replace.png


    Not possible with slider.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  3. gwindylyn

    gwindylyn Member

    Joined:
    Mar 16, 2013
    Messages:
    47
    Likes Received:
    1
    That's actually exactly what I wanted and I made it work with the slider. Thank you so much!
     
Thread Status:
Not open for further replies.

Share This Page