Notice: La función _load_textdomain_just_in_time ha sido llamada de forma incorrecta. La carga de la traducción para el dominio salient se activó demasiado pronto. Esto suele ser un indicador de que algún código del plugin o tema se ejecuta demasiado pronto. Las traducciones deberían cargarse en la acción init o más tarde. Por favor, ve depuración en WordPress para más información. (Este mensaje fue añadido en la versión 6.7.0). in /home/claudia/public_html/wp-includes/functions.php on line 6121
cgaetez – Claudia Gaete Zuñiga Skip to main content
All Posts By

cgaetez

Get Children Pages

By Wordpress No Comments

$my_wp_query = new WP_Query();$all_wp_pages = $my_wp_query->query(array(‘post_type’ => ‘page’)); // Obtienes las páginas como un objeto$portfolio =  get_page_by_title($title);  //Debes obtener el title de la página actual antes y ponerlo acá $portfolio_children…

Read More

Limit WordPress Content

By Wordpress No Comments

function content($limit,$content) {  $content = explode(‘ ‘, $content, $limit);  if (count($content)>=$limit) {    array_pop($content);    $content = implode(» «,$content).’…’;  } else {    $content = implode(» «,$content);  }  $content =…

Read More

ACF bootstrap slider

By Wordpress No Comments

ACF: HTML: <div id=»bootstrap-touch-slider» class=»carousel bs-slider fade  control-round indicators-line hidden-xs hidden-sm» data-ride=»carousel» data-pause=»hover» data-interval=»5000″ >   <!– Indicators –>   <ol class=»carousel-indicators»>       <?php       // check if the repeater…

Read More

Esconder Wysiwyg WordPress Editor

By Wordpress No Comments

En functions.php  agrega lo siguiente: add_action( ‘admin_init’, ‘hide_editor’ );function hide_editor() {  // Get the Post ID.  $post_id = $_GET[‘post’] ? $_GET[‘post’] : $_POST[‘post_ID’] ; $cats = get_the_category();  $cat_name = $cats[0]->name;…

Read More

Paint Kinect Processing SimpleOpenni

By Blog Universidad, Nuevos Medios No Comments

import SimpleOpenNI.*;SimpleOpenNI  kinect;color currentColor; int diametro=20; void setup() {  kinect = new SimpleOpenNI(this);  kinect.enableDepth();  kinect.enableUser(SimpleOpenNI.SKEL_PROFILE_ALL);    kinect.setMirror(true);   size(1000,480);  //background(255);  color currentColor;  noStroke();  textFont(createFont(«Georgia», 24));fill(150);stroke(1);noStroke();fill(255,255,255,50);rect(0,0,500,480);fill(150);rect(0,0,50,480);fill(0,0,0,50);rect(50,0,450,40);// amarillofill(255,255,0);rect(10,100,40,40);// moradofill(255,0,255);rect(10,200,40,40);//rojofill(255,0,0);rect(10,300,40,40);//verde fill(0,255,0);rect(10,400,40,40);fill(255);//Menos  text(«Menos», 55, 30);//Mas …

Read More

Galleryview nextgen open image on click

By Wordpress No Comments

Edit file   plugins/wordpress-nextgen-galleryview/GalleryView/scripts/jquery.galleryview-2.0.jsline 873  aprox. else {                        p = $(»);   //(before: p = $(»);                        p.attr(«href», j_frames.eq(i).find(‘img’).eq(0).attr(‘src’));   //(include this line)       …

Read More