WordPress.org

Ready to get started?Download WordPress

Forums

Uji Countdown
Text before the countdown (7 posts)

  1. cledus_
    Member
    Posted 1 year ago #

    Hi!
    Is there a way to add text before the countdown? Like "we start in:" <?php echo do_shortcode('[ujicountdown id="main" expire="2013/01/25 12:00"]');?>
    (am adding it to the header of my page)
    Thanks for a great plugin!

    http://wordpress.org/extend/plugins/uji-countdown/

  2. ujimoto
    Member
    Plugin Author

    Posted 1 year ago #

    just add a new echo before: <?php echo "<h2>We start in:</h2>"; ?>

  3. cledus_
    Member
    Posted 1 year ago #

    Thanks for the reply! But that adds the text on the line above. I wan't it on the same line.

  4. cledus_
    Member
    Posted 1 year ago #

    Do you have any other ideas why it doesn't work?

  5. ujimoto
    Member
    Plugin Author

    Posted 1 year ago #

    Set Align to Left when you create your style.

  6. cledus_
    Member
    Posted 1 year ago #

    I don't know what I'm doing wrong. Here's my style: #countdown{
    position: relative;
    //width: 200px;
    //height: 81.6326530612px;
    margin-left: 0;
    padding-top: 0px;
    text-align: left;
    }
    #countdown h1 {
    color: #5e5e5e;
    //display: inline-block;
    font-family: 'Maven Pro', sans-serif;
    font-size: 20px;
    font-style: italic;
    letter-spacing: 0px;
    text-align: left;
    }
    And here's where I insert the counter:
    <div id="countdown">
    <div class="container">
    <span><h1>We start in: </h1><?php echo do_shortcode('[ujicountdown id="main" expire="2013/01/25 12:00"]');?></span>
    </div>
    </div>
    Thanks for your help!

  7. ujimoto
    Member
    Plugin Author

    Posted 1 year ago #

    Email me please.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.