Replace Video Boxes with PHP Shortcode

Discussion in 'Woodpecker WordPress Business Theme' started by donleych, Sep 14, 2015.

  1. donleych

    donleych New Member

    Joined:
    Aug 22, 2015
    Messages:
    3
    Likes Received:
    0
    Hi,

    I am attempting to place a PHP shortcode in place of the video boxes. However, when I edit the front-page.php file, the responsiveness of the theme becomes dysfunctional. My website URL is http://eyenamicstudios.com/ulltium

    And I am trying to enter the shortcode below:

    <!--START AWARDS-->
    <div class="fullwidth">
    <p><?php echo do_shortcode('[wpaft_logo_slider]'); ?></p>
    </div>
    <!--START AWARDS-->

    Thanks,
    Chris
     
  2. priya

    priya Guest

    Hello Chris,

    Greetings from InkThemes!

    If you are trying to use shortcode in the Theme Options panel, I am sorry to say, but that would not be possible because only HTML and CSS can be used over there. So you have to do all the changes in the source code.

    Hope you will get my point.

    Thanks & Regards!
    Priyanka
    Inkthemes.com
     
  3. donleych

    donleych New Member

    Joined:
    Aug 22, 2015
    Messages:
    3
    Likes Received:
    0

    Hi Priyanka,

    Thank you for your reply. Yes, I am aware that I must change the source code; however, when attempting to add the snippet to the source code within the front-page.php file, the responsiveness and the layout of my site becomes broken. I am placing the snipped between the DIVs for the second Video box and the Bottom Feature section.

    Thanks,
    Chris
     
  4. priya

    priya Guest

    Hello Chris,

    Could you please provide us some edited screenshot so that we can assist you accordingly.

    Looking forward to your reply.

    Thanks & Regards!
    Priyanka
    Inkthemes.com
     
  5. donleych

    donleych New Member

    Joined:
    Aug 22, 2015
    Messages:
    3
    Likes Received:
    0
    Priyanka,

    This is from front-page.php. See the highlighted area for the location where I'd like to add my code.
    [​IMG]
     
  6. priya

    priya Guest

    Hello,

    After having looked on the screenshot above it seems that you are using plugin PHP shortcode(https://wordpress.org/plugins/wp-client-logo-carousel/installation/), So it would be better to put this issue on the plugin author forum and they will better assist you regarding this.

    hope you will understand...

    Thanks & Regards!
    Priyanka
    Inkthemes.com
     

Share This Page