Solved

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

Posted on 2015-02-16
6
77 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
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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

777 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