POST FUTUR + reorder

remove_action(‘future_post’, ‘_future_post_hook’); add_filter( ‘wp_insert_post_data’, ‘futurenow_do_not_set_posts_to_future’ ); function futurenow_do_not_set_posts_to_future( $data ) { if (...

BACKWPUP Backup timout

// BACKWPUP function __extend_http_request_timeout( $timeout ) { return 60; } add_filter( ‘http_request_timeout’, ‘__extend_http_request_timeout’ );

monster insight remove modal SEO

var cookieKeywordRemove = document.querySelector(‘.cli-modal’); cookieKeywordRemove.parentNode.removeChild(cookieKeywordRemove); var cookieKeywordRemove2 = document.querySelector(‘#cookie-law-info-again’);...

CF7 Email confirmation

// —————- CF7 EMAIL CONFIRM add_filter( ‘wpcf7_validate_email*’, ‘custom_email_confirmation_validation_filter’, 20, 2 ); function custom_email_confirmation_validation_filter( $result, $tag ) { if (...

Popup builder on scroll

Avec snippet is on screen if ($(‘.popup-click’).isOnScreen()) { if ($(‘.popup-click.hovered-yet’).length === 0) { var ls = localStorage.getItem(‘namespace.visited’); if (ls == null) {...

Polylang FR | EN

JS $(‘.menu-item.lang-item-fr a’).text(‘FR’); $(‘.menu-item.lang-item-en a’).text(‘EN’); $(‘.menu-item.lang-item-fr’).append(‘ | ‘).append($(‘.menu-item.lang-item-en a’)); CSS...