You’re testing if it’s NOT the home page (your news page) before outputting your block of javascript, so your quicksand code never gets output to page:
if (!is_home() || !is_front_page()) {
I don’t see any code anywhere that creates the nivo slider.
This block needs to reference jQuery, not $:
$(document).ready(function(){
$(".anyClass").jCarouselLite({
auto: 800,
speed: 1500,
});
});
should be:
jQuery(document).ready(function($){
$(".anyClass").jCarouselLite({
auto: 800,
speed: 1500,
});
});
Related Posts:
- Most efficient way to add javascript file to specific post and/or pages?
- Pass media upload value to input field
- Real time Duplicate title check
- Load custom field value into div with AJAX
- Jquery ajax to custom php file: returning blank data
- jQuery functions only work on homepage
- How can I loop into two different DIVS without repeating the DIVs
- Can’t use get_results() in ajax query
- Display notification only once
- Access/update database with jQuery
- Passing jQuery value using Ajax to a page template
- Using wp_localize_script to store the template url into a variable to use in JS
- How to add a dynamic javascript snippet to the footer that requires jQuery
- ajax_object is not defined when ajax calls the function
- Why is this Ajax not working?
- Colorbox ajax loading of outside HTML content works perfect on localhost but not on server
- Ajax return code 400
- Show post in slider
- How to show a dynamic_sidebar if main content content’s height is > a set amount?
- combine Code 1 with Code 2
- wordpress count link clicks by ip address
- ajax, right way to do it and make it works?
- WordPress ajax doesn’t display object method on jQuery .change() function
- Menu jumping when calling it via PHP
- Setting value of session with Ajax not working
- Click a radio button must set textfield value
- Post repeating with infinite scroll
- WordPress Ajax Call inserting data but success response false
- Ajax contact form return 0
- How can i display a jquery slide on front page
- AJAX – Returning Two JSON Objects with One PHP Function
- Unset session variable on page reload / setup but exclude AJAX
- Add Ajax Hooks and Call from Custom Template PHP
- WordPress Ajax Always returning 0
- Jquery window.send_to_editor function
- Theme not calling Jquery properly
- How to keep track of when a vote is cast?
- How to add drag and drop functionalities to a div inside option panel
- How to make jquery count down timer function manually editable
- My jQuery Ajax form submit is still refreshing page?
- jQuery accordion menu
- limit number of post for achive page
- Removed jQuery script from header.php , any problems?
- Execute Jquery when a specific page in my plugin is loading
- Covert WordPress Blogname into JQuery
- what does $options = get_option(‘test_theme’); do?
- Validating an email input from form field before submit using JQuery, AJAX, and PHP
- Hot to check if new posts have been published since page load and notify online users?
- WordPress cascading dropdown selection search based on Parent Page & Child Page
- Custom html/php/jquery map code in WordPress/elementor?
- Ajax on the Administration Side of plugin – wp_localize_script – how to pass value from JQuery to PHP function in class?
- how can i include post meta in search result
- How to send a php var to jQuery Ajax call with two different file
- WooCommerce Query Product Titles
- jquery & ajax getting data from php in wordpress . admin-ajax.php returns 400
- How to check a variable Changes
- Replace jQuery with PHP or CSS for Customized WordPress wp_nav_menu
- Outputting post content to jQuery .html() string
- How to use wp_ajax_set_post_thumbnail?
- Customize the “Available for back order” text for specific variation
- If user has clicked link add class and store using PHP/WordPress
- Implement jQuery Smart wizard
- Woocommerce – if selected attribute term equals
- WordPress Slick Slider + Magnific Popup
- Show the subcategory name based on current product
- wp_set_object_terms returns 500 error when called through AJAX function
- How can i send id of the currently posted form data through json response in custom wordpress plugin?
- Cannot successfully execute AJAX script to call function.php specific function. Using XAMPP localhost to test
- How to create an Email Subscription input in WordPress?
- getting the values of hidden inputs to use them in a php mysql query
- Styling a specific post after hovering over it
- Remove item from post_meta array via AJAX
- PHP array to jQuery array ” Uncaught SyntaxError: Unexpected token < "
- Creating Log-In Page for backend server
- defined (‘ABSPATH’) false after AJAX post to other PHP-file
- Bootstrap Carousel Indicators Won’t Cycle On Custom WordPress Theme
- Is there a reason why my wordpress PHP page isn’t loading into my PHP template
- WordPress 404 when using AJAX to call php function
- wordpress ajax pagination
- how use php query in AJAX jquery
- Submitting my form to the database and then redirecting to payment site
- AJAX Not Working With WordPress Database properly
- A Customizer checkbox control that sets the setting to “” or to “blank” and show() or hide() a color control
- Pass the updated value of aid from form using ajax
- 500 (Internal Server Error) of external php file
- Use jQuery and AJAX to get HTML
- No Authors for custom post type
- Dynamic Gallery
- Missing items on page
- How to change links in the 3 main categories, on widget category, to a javascript function call
- jQuery vs. $ – Creating jQuery scripts in JavaScript in WordPress using External Libraries
- best way to communicate between php and jquery/javascript
- Loading a post’s content, into a div outside the loop, when it’s title is selected in a list
- Cannot get custom javascript to execute on page
- why my “recepie” category is not taken into account in my request
- AJAX: WordPress filters inside $html do not work as intended
- Why not showing all post by default in my jquery filter
- Jquery autosave text area after typing
- Pass a PHP variable (loop-audio.php) to jQuery function (js/script.js)
- ajax problems on loading page [closed]