Jump to content
Sign in to follow this  
elkiehound

Unique Transition Times in Two Feature Pages

Recommended Posts

elkiehound

I would like to have different transition times for two separate feature pages. For example, page one uses feature set 1 with a transition set in main settings as 2500. For a different page, using a different feature set, I would like the transition to be 5000. Thanks

Share this post


Link to post
Share on other sites
cmunns

I would add a page meta option instead to the features section so that $timeout = (get_post_meta($postid, 'feature_timeout', true)); and add ` 'feature_timeout' => array( 'version' => 'pro', 'type' => 'text', 'size' => 'small', 'title' => 'Speed of Feature Slides', 'desc' => 'If you are using the feature section, select the feature set you would like to show on this page.' ) ` to the page meta array

Share this post


Link to post
Share on other sites
elkiehound

Thanks for the idea, can you please be more specific. 1. Do I change the actual features section or is there a place to override (using base) 2. I see the $timeout area in the actual features section, do I just add another line ? 3. Where is the page meta array ? Thanks Roy

Share this post


Link to post
Share on other sites
bryan-hadaway

Await further developer help. Thanks, Bryan

Share this post


Link to post
Share on other sites
elkiehound

Can you set an expectation on when ? Thanks

Share this post


Link to post
Share on other sites
cmunns

Right now we are still working on how to absolutely nail the child theming aspect and how to change parameters like this from base. For now it's probably easiest to change the file directly :/ and just make sure you note the change, back it up for reference until we can work out how to best change these sorts of things with documentation included. The page meta array is after this comment ` /* Do Page/Post Options */ ` You would change the $timeout to something like this: `$feature_timeout = get_post_meta($post->ID, 'feature-timeout', true));` and change the variable in the js just beneath it from $timeout to $feature-timeout not tested but it's close

Share this post


Link to post
Share on other sites
elkiehound

Thanks for the update, seems like a routine request though to have the ability to have different transition times for each feature. Look forward for the update.

Share this post


Link to post
Share on other sites
Andrew

This will be a relatively easy feature to add. Noted.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×