I'm pretty new to Pagelines so forgive me if this is something simple.
I am in the midst of converting a site to Pagelines from a hand-coded theme. ( the current site can be found at darkwoodbrew.org) and have run into something that I'm not sure how to do.
The old site has a section on the home page that is a countdown timer written in PHP and javascript. Most times, it says "Next Darkwood Brew Episode Starts in: ## days, ## hours ##minutes ##seconds" and counts down until the next broadcast. (Sunday evening 5 CST). When it falls within a certain time period on Sunday night, the message changes and a link is shown to go to the viewer for the broadcast.
I'm not sure how to include this on the Home page within Pagelines. I am coming from Headway and they have a generic code block that I could have inserted this in with no problem. I tried to insert the code in a Content box but its not running any PHP code - it all shows up in the source when I view it.
I would appreciate any help with this as its a "must-have" feature for this site.
I'm running Framework 2.3. I tried to attach a text file with the code from the current site but it wouldn't take - I can forward it to anyone if that helps.
Thanks.
5 replies to this topic
#1
Posted 08 October 2012 - 04:02 AM
#2
Posted 08 October 2012 - 07:39 AM
Hi,
Well there are a number of ways to do this:
1. Possibly the easiest method would be to use a plugin like this -
Then add the shortcode generated by plugin, when you view your site the timer will be where you placed the ContentBox section.
There a quite a few Countdown timers on the Wordpress Plugin Repo.
2. Would be to use a hook to insert your code in the correct postion.
3. Would be to create your own section for the countdown timer and then use drag and drop to position it.
Well there are a number of ways to do this:
1. Possibly the easiest method would be to use a plugin like this -
Then add the shortcode generated by plugin, when you view your site the timer will be where you placed the ContentBox section.
There a quite a few Countdown timers on the Wordpress Plugin Repo.
2. Would be to use a hook to insert your code in the correct postion.
3. Would be to create your own section for the countdown timer and then use drag and drop to position it.
#3
Posted 08 October 2012 - 11:10 AM
Well, thanks for the start. I've checked all of the plugins and only one of them really handles the functionality needed - the pro version of T- Countdown. (This needs to be a recurring type of timer - i.e. use the next Sunday as the ending date and not a definite cutoff date like 10/21/12.) Still, the free version of the plugin does some strange things to the Pagelines dashboard and meta boxes when its loaded so I'm hesitant to spend the money if it ends up breaking something. All the other timers I loaded need a definite ending date entered.
I started watching the videos on creating a section and that looks like a possibility so I think I'm going to try that route by using a jquery-based countdown plugin since its similar to what's in the example. Please leave this open as I'm sure I will have some questions. Thanks again..
I started watching the videos on creating a section and that looks like a possibility so I think I'm going to try that route by using a jquery-based countdown plugin since its similar to what's in the example. Please leave this open as I'm sure I will have some questions. Thanks again..
#4
Posted 12 October 2012 - 04:07 AM
We'll leave this thread open for you. Keep us posted
#5
Posted 18 October 2012 - 09:07 AM
You can go ahead and close this - got it figured out pretty easily.
#6
Posted 18 October 2012 - 11:39 AM
The topic was marked as resolved.
Also tagged with one or more of these keywords: Resolved, timer php site conversion
Resolved
PageLines Framework →
Technical Support →
Anything Boxes And Polylang Language Filtering ProblemStarted by janpeeters , 01 Dec 2012 |
|
|
||
Header In Banner AlignmentStarted by bankrollbuilder , 28 Nov 2012 |
|
|
||
Resolved
PageLines Framework →
Customizations →
2 Hero UnitsStarted by starlit , 28 Nov 2012 |
|
|
||
Tabs Do Not Align HorizontallyStarted by hutruk , 28 Nov 2012 |
|
|
||
Resolved
PageLines Framework →
Customizations →
Reduce Margin In Contact FormStarted by texasx , 27 Nov 2012 |
|
|










