Solved

Why on earth is my meta slider not showing on this homepage - its so basic!!!

Posted on 2015-02-16
6
81 Views
Last Modified: 2015-02-17
Hi there,
My site here http://www.xfactorideas.com.au/newbcplastics/ has got a Meta Slider configured to sit underneath the menu.  However its not showing!!.  When I quickly refresh the page, I can see the slider for a brief moment before it disappears.

Does anyone have any idea why this could be happening?
Thanks
0
Comment
Question by:Amanda Watson
[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
  • 4
  • 2
6 Comments
 
LVL 38

Expert Comment

by:Tom Beck
ID: 40613409
You are missing the core jQuery library.

You could try adding this to your functions.php file in your theme folder.
function mh_load_my_script() {
    wp_enqueue_script( 'jquery' );
}

add_action( 'wp_enqueue_scripts', 'mh_load_my_script' );

Open in new window

0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 40613531
Saw a flash of it again.

I added this to the child theme only.......... but when I added it to the parent it says something about mh_load_my_script already delcared or something like that.  Which I would expect because the theme does include this slider in its bundle!

Any other ideas?

It is strange how I see if for a moment so its there, but then covered
0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 40613558
Hi,
Now I added the Nivo slider - hard coded into the header, and it shows up, but not any images??....again you see a quick flash of them, then they are gone
???
Nivo is still in place
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
ID: 40614040
Still no jQuery core library loading. Plus there are syntax errors coming from javascript being printed to the page.
Firebug errorsmh_load_my_slider is a named function. Named functions must be uniquely named so that explains the error. It has nothing to do with slider plugins. You only need to add the function and function call to your child theme functions.php file. You should leave the parent theme functions.php untouched. Can I see those two files?

Either of these sliders can be made to work. Having two on the page just gunks up the works and makes troubleshooting more difficult. Don't blame the sliders. There's something more basic wrong with you Wordpress setup and the problems are cumulative.
0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 40615671
got it master - well done - its showing now!
Thank you
A
0
 
LVL 11

Author Closing Comment

by:Amanda Watson
ID: 40615675
Great persistent help
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
close pop up windows when logout or main window closes 17 84
boostsrap 1 32
SPF settings for 3rd party IPs 8 76
wordpress theme 8 39
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

737 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