[Plugin: Countdown Timer] CSS – Class or ID for each time increment
-
As far as I can tell, this plugin spits out one long string for the event countdown, like this:
<abbr title = "December 19th, 2010, 9:00 am" id = 'x5d36226f8e7f295de740a90c94dd5bee' class = 'fergcorp_countdownTimer_event_time'>in 5 days, 9 hours, 7 minutes, 23 seconds</abbr>
In order to have more flexibility with the CSS, I would like to be able to have:
<abbr title = "December 19th, 2010, 9:00 am" id = 'x5d36226f8e7f295de740a90c94dd5bee' class = 'fergcorp_countdownTimer_event_time'>in <span id="day_number">5</span> <span id="day_title">days</span>, <span id="hour_number">9</span> <span id="hour_title">hours</span>, <span id="min_number">7</span> <span id="min_title">minutes</span>, <span id="sec_number">23</span> <span id="sec_title>">seconds</span></abbr>
(or something like that – I just threw in span tags for simplicity)
Where in the PHP file would I edit to modify the HTML output? Or is this even possible without breaking the plugin?
Thanks in advance…
- The topic ‘[Plugin: Countdown Timer] CSS – Class or ID for each time increment’ is closed to new replies.