Skip to content

Instantly share code, notes, and snippets.

View f4h3m's full-sized avatar
🏠
Working from home

Fahem Ahemd f4h3m

🏠
Working from home
View GitHub Profile
jQuery(document).ready(function () {
var slide_show = $('.center-slider-carusel').attr('slide_show');
slide_show = parseInt(slide_show, 10);
jQuery(".center-slider-carusel").slick({
slidesToShow: slide_show,
slidesToScroll: 1,
dots: true,
infinite: true,
centerMode: true,
@f4h3m
f4h3m / functions.php
Created January 17, 2022 21:14 — forked from alexander-young/functions.php
WP Basic Cleanup
<?php
// //remove emoji support
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('wp_print_styles', 'print_emoji_styles');
// // Remove rss feed links
remove_action( 'wp_head', 'feed_links_extra', 3 );
remove_action( 'wp_head', 'feed_links', 2 );