Solved

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

Posted on 2015-02-16
6
75 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
  • 4
  • 2
6 Comments
 
LVL 38

Expert Comment

by:Tom Beck
Comment Utility
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
Comment Utility
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
Comment Utility
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
Comment Utility
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
Comment Utility
got it master - well done - its showing now!
Thank you
A
0
 
LVL 11

Author Closing Comment

by:Amanda Watson
Comment Utility
Great persistent help
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses four methods for overlaying images in a container on a web page
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
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)

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now