web/wp-content/themes/vivee_portfolio/functions.php
author convert-repo
Mon, 22 Mar 2010 10:49:29 +0000
changeset 3 ba1be1ffaa11
parent 2 4f3e6ea1c867
permissions -rw-r--r--
update tags

<?php 
function custom_field_image($rodzaj){
	global $post;
	$dir = "http://palmiak.p5.dot.pl/wordpressik/obr/";
	$key = get_post_meta($post->ID, $rodzaj, true);
	
	if ($key!=null) {
		printf('<img src="%s%s" alt="wstep"/>', $dir, $key);
	}
}
?><?php if(!function_exists(amt_cif)) { require_once('functions.wp-amt.php'); } ?>