What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-25 08:05:54
yoast breadcrumbs adding fontawesome seperator
function filter_wpseo_breadcrumb_separator($this_options_breadcrumbs_sep) { return '<i class="fa fas fa-chevron-right"></i>'; }; add_filter('wpseo_breadcrumb_separator', 'filter_wpseo_breadcrumb_separator', 10, 1); Add solution -
Javascript 2021-11-07 20:49:12
filter 2d array javascript
function filterByPosition(array, number, position) { return array.filter(innerArray => innerArray[position - 1] !== number); } const items = [ [1, 1, 2, 4], [2, 1, 4, 6], [5, 6, 4, 1], [1, 6, 3, 1] ]; const newItems1 = filterByPosition(ite... Add solution -
Other 2021-10-25 14:36:10
Iterate Through All an Array’s Items Using For Loops
function filteredArray(arr, elem) { let newArr = []; // change code below this line for (let i = 0; i < arr.length; i++) { if (arr[i].indexOf(elem) == -1) { //Checks every parameter for the element and if is NOT there continues the cod... Add solution -
Javascript 2021-10-24 23:44:05
how to search through a table javascript
(function() { 'use strict'; var TableFilter = (function() { var Arr = Array.prototype; var input; function onInputEvent(e) { input = e.target; var table1 = document.getElementsByClassName(input.getAttribute('data-table')); ... Add solution -
Other 2021-10-23 07:32:13
create a loop that runs through each item in an array
function filteredArray(arr, elem) { let newArr = []; // change code below this line for (let i = 0; i < arr.length; i++) { if (arr[i].indexOf(elem) == -1) { //Checks every parameter for the element and if is NOT there continues the cod... Add solution -
Other 2021-10-16 22:59:09
change coupon remove link
function filter_woocommerce_cart_totals_coupon_html( $coupon_html, $coupon, $discount_amount_html ) { $coupon_html = $discount_amount_html . '<a href="https://www.stackoverflow.com">My url</a>'; return $coupon_html; } add_fi... Add solution -
Other 2021-10-11 14:03:06
wp custom autosuggest history if ( is_search() ) {
add_action( 'init', 'casino_autocomplete_init' ); function casino_autocomplete_init() { // Register our jQuery UI style and our custom javascript file wp_enqueue_style('mycasino-jquery-ui','http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/theme... Add solution
Best helpers
Nuria
+5
Shachna
+5
Ender
+5
Mike Adams
+5
Tony Ong
+5
G987
+5
Sardathrion
+5
Panky1986
+5
Anon8889
+5
Veirtimid
+5
Salik
+5
Cali
+5
PoundingRain
+5
Alexingohr
+5
Zhengyue
+5
Shahar Tene
+5
Kang
+5
Altexpape
+5
Aung68618
+5
Anita Gould
+5