Solved

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

Posted on 2015-02-16
6
78 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

 
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
CSS Header Navigation Not Responsive 4 26
Hide Table in merge 3 29
Filktering Alphabetically 8 28
Search Item in Table 2 18
This article discusses how to create an extensible mechanism for linked drop downs.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

792 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