Published: September 2nd, 2010 by jorge

Los niños muy pequeños gustan mucho de cuentos y relatos y los piden, y pueden entender cuestiones complejas expuestas como cuentos y fábulas, cuando su capacidad para captar conceptos generales, paradigmas, es casi inexistente. Esta capacidad simbólica o narrativa es la que aporta un sentido del mundo (una realidad concreta en la forma imaginativa de símbolo y relato) cuando el pensamiento abstracto no puede proporcionar ninguno. El niño sigue la Biblia antes de seguir a Euclides.

Oliver Sacks

Wordpress: get page link by ID

Published: July 29th, 2010 by jorge

This function is used to get the_permalink() of a certain page using it’s ID (outside the loop). To use it within a theme, just:

function getPageLink($pageId){
   if(!is_numeric($pageId)) {
      return;
   }
   global $wpdb;
   $sql_query = ‘SELECT DISTINCT * FROM ‘ . $wpdb->posts . ‘ WHERE ‘ . $wpdb->posts . ‘.ID=’ . $pageId;
   $posts = $wpdb->get_results($sql_query);
   if(!empty($posts)) {
      foreach($posts as $post) {
         return nl2br($post->guid);
      }
   }
}

Wordpress: get page title by ID

Published: July 29th, 2010 by jorge

This function is used to get the title(); of a certain page using it’s ID (outside the loop). To use it within a theme, just:

<?php getPageTitle(ID); ?>
function getPageTitle($pageId){
	if(!is_numeric($pageId)) {
		return;
	}
	global $wpdb;
	$sql_query = ‘SELECT DISTINCT * FROM ‘ . $wpdb->posts . ‘ WHERE ‘ . $wpdb->posts . ‘.ID=’ . $pageId;
	$posts = $wpdb->get_results($sql_query);
	if(!empty($posts)) {
		foreach($posts as $post) {
			return nl2br($post->post_title);
		}
	}
}

Wordpress: better breadcrumb function

Published: July 29th, 2010 by jorge

This function is used to construct breadcrumbs of pages, posts and archives within Wordpress. Put this on functions.php inside yout theme and call anywhere you need (single.php, page.php) using:

Read on »

My new home: WebCard

Published: November 21st, 2009 by jorge

October is a catastrophic month for me (financially): I must pay the server and a lot of my domains… and 2 months before Xmas I have to pay a sustancial ammount on my creditcard… anyway, this year I’ve added a new domain: jorgeepunan.info. It was only US$1 and I wanted for long time to do a website on my own and for me as a personal card… so this webcard represents the way that anyone can contacts me for anything, and it shows what I’ve done as a professional.

.

I’m always open for feedback, and hope you enjoy the experience.

http://www.jorgeepunan.info

Jorge Epuñan WebCard

Cita 8

Published: August 20th, 2009 by jorge

Cuando estoy trabajando en un problema nunca pienso sobre su belleza, únicamente pienso en cómo resolverlo. Pero cuando he terminado, si la solución no es bella, sé que está equivocada.

Richard Buckminster Fuller

Recent Entries..

  • diseño social • design in social es un proyecto que pretende aportar a pequeños empresarios, a tener mejores productos o servicios través del diseño gráfico profesional, de # 1
  • 17 Metal-Bands and their awesome Cover-Design • Some years ago I started to notice the change on design-style of the covers of the new metal bands. While the tendence is to merge # 0
  • Cita 7 • Un proyecto web se sustenta en la sintonía de los miembros del equipo más que en documentos de especificaciones, cartas Gantt o fechas de entrega.# 0
  • Code Master [vid] • Sometimes, when I'm coding some website, I just feel like Jim Carrey on this scene from Bruce Almighty, when he tipes like a demon (more # 0

What about this

In this blog, we at Be Studios want to show the best that we have: our knowledge. Hope it will be helpfull for at least one human being.

Categories

latest posts