templatepath
-
hi everyone,
i’m a newbie – can anyone tell me what templatepath is supposed to do? i’ve tried reading it up but nothing has helped (perhaps not enough layman terms).i’m basically trying to replace this:
<?php include(TEMPLATEPATH.”/sidebar-alt.php”);?>
with another sidebar. I know that usually you can just replace
<?php get_sidebar(); ?>
with
<?php $sidebar = get_post_meta($post->ID, “sidebar”, true);
get_sidebar($sidebar);
?>but since there’s the templatepath there, does anyone know how the code for that? or how to get around it?
please help
thank you!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘templatepath’ is closed to new replies.