?
Solved

wordpress parallax effect plugin

Posted on 2014-04-29
2
Medium Priority
?
574 Views
Last Modified: 2014-04-30
Hi Experts,

I was wondering, do you know if it is possible to add a parallax effect to subpages? I am looking for a plugin that does that but I can´t find it. I know parallax is usually placed on landing pages, but this client wants one on one of his website subpages. I would really appreciate any advice,

Thanks,

Winter
0
Comment
Question by:glepiza
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
eemit earned 1050 total points
ID: 40031601
You can enqueue a jQuery script to any particular page inclusive a subpage.
Try this in your child theme's functions.php.
Assumes your paralax .js file is in a child theme's subfolder 'js':
add_action( 'wp_enqueue_scripts', 'yourprefix_scripts_styles', 11 );
function yourprefix_scripts_styles() {
	if ( is_page( 'yoursubpageslug' )  ) {
		wp_enqueue_script( 'yourprefix-yourscript-js', get_stylesheet_directory_uri() . '/js/yourscript.js', array( 'jquery' ), '20140430', true );
	}
}

Open in new window

0
 

Author Comment

by:glepiza
ID: 40033479
ah!, thank you very much!
0

Featured Post

Create CentOS 7 Newton Packstack Running Keystone

A bug was filed against RDO for the installation of Keystone v3. This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question