fergbrain
Forum Replies Created
-
Forum: Plugins
In reply to: [Countdown Timer] Remove "in" pre-text before countdown?Line 1079 of
fergcorp_countdownTimer.phpForum: Plugins
In reply to: [Countdown Timer] Edit "no dates present"@dan1974: Unfortunately, that option is currently hard coded. You can change it if you want though, just modify line 695 of
fergcorp_countdownTimer.phpto whatever you’d like:
$toReturn = "<li>".__('No dates present', 'fergcorp_countdownTimer')."</li>";Forum: Plugins
In reply to: [Countdown Timer] Remove lines under time and dateDo you have have a live demo I can look at?
Forum: Plugins
In reply to: [Countdown Timer] Remove "in" pre-text before countdown?You are correct. The replacement line should have been:
$content .= $timePrefix.sprintf(__("%s", 'fergcorp_countdownTimer'), $this->fuzzyDate($thisEvent->getTimestamp(), time() ) )."</abbr>";Forum: Plugins
In reply to: [Countdown Timer] [Feature Request] Styling numbersEven better! Thank you very much!
Forum: Plugins
In reply to: [Countdown Timer] [Feature Request] Styling numbersWould you be able to post the entire file as gist: https://gist.github.com/ ? That way I can easily branch it to the code (https://github.com/fergbrain/countdown-timer)
Forum: Plugins
In reply to: [Countdown Timer] [Feature Request] Styling numbersI’d love to look at your changes if you’re willing to share.
Forum: Plugins
In reply to: [Countdown Timer] [Feature Request] Styling numbers@josh Rickert: have you tried using the CSS classes listed in https://wordpress.org/plugins/countdown-timer/installation/ ?
Forum: Plugins
In reply to: [Countdown Timer] Timezone conflict with iThemes SecurityI’ll have to look into this
Forum: Plugins
In reply to: [Countdown Timer] Fatal error: Uncaught exception 'Exception'What were you trying to change?
Forum: Plugins
In reply to: [Countdown Timer] Hide hours, minutes, seconds@beolfe07:
Sorry for the late response. For a given instance, enclose the countdown timer in it’s own named div, and then use css classes listed in https://wordpress.org/plugins/countdown-timer/installation/
For example, if your code is:
<div id="mytimer"> [fergcorp_cdt_single date="12/07/2014, 12:55pm"] </div>You can then hide the hours, minutes, and seconds by using the following CSS:
#mytimer .fergcorp_countdownTimer_hour{ display:none;} #mytimer .fergcorp_countdownTimer_minute{ display:none;} #mytimer .fergcorp_countdownTimer_second{ display:none;}Forum: Plugins
In reply to: [Countdown Timer] Timezone errorYes, there are some known timezones issues. It’s tricky business, trust me…I’m almost an expert it in.
Forum: Plugins
In reply to: [Countdown Timer] How to change structure?I’m not exactly sure what you mean…something like this: http://i.imgur.com/40etNmp.png ?
Forum: Plugins
In reply to: [Countdown Timer] Remove li bullet…To get rid of the bullet, you should be able to use a standalone timer:
[fergcorp_cdt_single date="ENTER_DATE_HERE"]Unfortunately, there is no easy way to add an ampersand “&”.
Forum: Plugins
In reply to: [Countdown Timer] Remove "in" pre-text before countdown?This is, unfortunately, a hard-coded value. The “easiest” way to remove it is to replace line 756 from:
$content .= $timePrefix.sprintf(__("in %s", 'fergcorp_countdownTimer'), $this->fuzzyDate($thisEvent->getTimestamp(), time() ) )."</abbr>";to:
$content .= $timePrefix.sprintf(__("in %s", 'fergcorp_countdownTimer'), $this->fuzzyDate($thisEvent->getTimestamp(), time() ) )."</abbr>";I’m going to open up an issue for this to get this fixed in a future release: https://github.com/fergbrain/countdown-timer/issues/32