View Single Post
Old 02-10-2013, 11:47 AM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,057
Continuing a bit.

While I said above that I would not know without more info how best to implement it, and with a preface of "I am not a wp expert" I would reccomend:

That you keep your modifications within the theme rather than modifying out the wp core. That way you will not lose your changes each month when you upgrade wp.

So you would probably want to create a little library of your custom functions that deal with your new taxonomy then include it in the index.php (or archives, post, wherevere you are showing the new taxonomy) of your theme (wp-content/themes/yourtheme/index.php)

Like so:

<?php get_header(); ?>

<?php
// new taxonomy functions
include('newtaxonomy.php');
?>

Then wherever you are using it you would call your new function(s):

<span><?php the_tags('Tags: ', ', ', ''); ?></span>

<?php
// print new taxonomy here ??
echo my_new_taxonomy(get_the_ID(),arg2, arg3, arg4, etc);

?>

Hope that helps.


.
__________________
All cookies cleared!

Last edited by sarettah; 02-10-2013 at 11:57 AM..
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook