Add plugin to front page

Discussion in 'Compass WordPress Theme' started by imogen, Sep 15, 2015.

  1. imogen

    imogen Member

    Joined:
    Oct 15, 2013
    Messages:
    56
    Likes Received:
    0
    Hi,

    I'd like to put a countdown clock on the front page of the theme (I have the coding for the plugin) how would I do this?

    Many thanks in advance
     
  2. nitin

    nitin Guest

    Hi,

    Greetings from InkThemes,

    It would be our pleasure to serve you.

    To be specific to your answer, let me tell you that you cannot directly punch the coding of the plugin into your theme, unless it is a shortcode.
    It can be done by adding widgets also.

    Kindly let me know which plugin you are using, so that I could further assist you.

    Thanks & Regards!
    Nitin
    InkThemes.com
     
  3. imogen

    imogen Member

    Joined:
    Oct 15, 2013
    Messages:
    56
    Likes Received:
    0
    Hi,

    thank you. here is the coding for the plugin - tried to use the widget for front page.. coding shows but the plugin doesn't.

    [wpc_countdown theme="flat-colors" now="1425299474651" end="6659.5" bg="#fff" padding="5"]

    Wp Custom Countdown is the plugin
     
  4. priya

    priya Guest

    Hello,

    Greetings from InkThemes!

    Please use this code (given below) for once in your "front.php" page (wherever you want to add the timer) through Theme Editor (Appearance=>Theme Editor).

    Code:
    <?php echo do_shortcode('[wpc_countdown theme="flat-colors" now="1425299474651" end="6659.5" bg="#fff" padding="5"]'); ?>
    For your information, I am using "WP-Editor" plugin to edit files.

    You can also download and use it from the link https://wordpress.org/plugins/wp-editor/.

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  5. imogen

    imogen Member

    Joined:
    Oct 15, 2013
    Messages:
    56
    Likes Received:
    0
    Thank you. Wanted to add the plugin underneath the 3 images on the front page (ESOS, Energy Consultancy, Team)

    Where would I need to put the code in front.php?
     
  6. priya

    priya Guest

    Hello,

    Please follow the screenshot given below.

    Code.png

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     

Share This Page