Solved

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

Posted on 2015-02-16
6
79 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

762 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