Skip to content

Instantly share code, notes, and snippets.

View vivirenremoto's full-sized avatar
🍗

vivirenremoto vivirenremoto

🍗
View GitHub Profile
<?php
echo 'hello world';
?>
<div style="border:color:black;background:white;text-align:center;border:5px #bf2566 solid;padding:20px;font-weight:bold;position:fixed;z-index:999;left:0;top:0;right:0;">Cuidado esta es una tienda falsa según fakeinet.com - <a href="#" onclick="document.location = 'https://fakeinet.com/?s='+document.location.hostname;" target="_blank" style="color:#bf2566;">más información</a></div>
['songoku.shop','zapatoskeenmexico.com','cocina-europe.com']
/* telefono */
.whoYouGonnaCall .icon-telephone::before{display:none !important;}
.whoYouGonnaCall {background:url('https://jdimmigration.es/wp-content/uploads/1783358-128.png') no-repeat center center;width:80px;height:80px;background-size:70px;}
@vivirenremoto
vivirenremoto / services.php
Created September 3, 2020 06:12
services.php petcare
<!-- Services -->
<div class="container">
<div class="row">
<?php if ($petcare_option['Service-listing'] == "1") {?>
<!-- Display 3 services -->
<?php
$args = array(
'post_type' => 'Service',
'post_status' => 'publish',
<?php
// no fijar cabecera
if( $main_header_position_finale == 'nk-fixed-top' ) $main_header_position_finale = '';
?>
<style>
@media only screen and (min-width: 1025px){
body.nk-fixed-menu:not(.header-transparent) {
0 23 * * * wget --spider https://futooro.com/cron_daily/update.php >/dev/null 2>&1
0 23 * * * wget --spider https://futooro.com/cron_daily/sitemap.php >/dev/null 2>&1
0 23 * * * wget --spider https://futooro.com/cron_daily/images.php >/dev/null 2>&1
// old
// //wp_enqueue_style( 'cookie-notice-front', plugins_url( 'css/front' . ( ! ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '.min' : '' ) . '.css', __FILE__ ) );
// bugfix cargar versión no minificada del css y forzar recarga cel css
wp_enqueue_style('cookie-notice-front', plugins_url('css/front.css', __FILE__), array(), 69);
var product_images = [];
jQuery(function () {
for (var i = 0; i < 5; i++) {
if (jQuery('rs-sbg:eq(' + i + ')').length) {
product_images.push(jQuery('rs-sbg:eq(' + i + ')').attr('data-lazyload'));
}
}
if (product_images.length == 0) {
@vivirenremoto
vivirenremoto / lj-optimizer.php
Created August 19, 2020 11:04
fix plugin - Link Juice Optimizer
<?php
/*
Plugin Name: Link Juice Optimizer
Plugin URI: https://www.fedegomez.es
Description: Replace the links with a clickable &lt;span&gt; tag to optimize the link juice.
Version: 2.0
Author: Fede Gómez
Author URI: https://www.fedegomez.es
License: GPL3
*/