Unique content in tag and category page without framework in platformpro
#1
Posted 20 February 2012 - 08:52 PM
#2
Posted 21 February 2012 - 03:36 AM
#3
Posted 21 February 2012 - 05:56 PM
%%categorytitle%% %%categorydescription%%
then that pulls the category or tag description below the header as unique text content?
The only other option is to create about 100 text widgets (for each category or tag)...each with it own widget logic code that only shows up in each category or tag....that doesnt seem very elegant....when all the info is already in catagory and tag titles and descriptions...it just needs to be automatically pulled in...I'd be very surprised if someone hasnt done this....Thesis theme seems have it...this seems to be on the right lines...I'll check it out and report back!:
http://wpsites.net/w...ategory_Content
then that pulls the category or tag description below the header as unique text content?
The only other option is to create about 100 text widgets (for each category or tag)...each with it own widget logic code that only shows up in each category or tag....that doesnt seem very elegant....when all the info is already in catagory and tag titles and descriptions...it just needs to be automatically pulled in...I'd be very surprised if someone hasnt done this....Thesis theme seems have it...this seems to be on the right lines...I'll check it out and report back!:
http://wpsites.net/w...ategory_Content
#4
Posted 22 February 2012 - 02:54 AM
#5
Posted 22 February 2012 - 09:59 PM
#6
Posted 22 February 2012 - 10:27 PM
#7
Posted 22 February 2012 - 11:02 PM
<?php
/*
Section: Category Titles
Author: Simon
Author URI: http://www.pagelines.com
Description: Add a category title!
Class Name: Categorizer
Workswith: templates, main
Version: 0.1
*/
class Categorizer extends PageLinesSection {
function section_template() {
$cat = get_category( get_query_var('cat'),false );
echo '<div class="cat-titler">';
echo '<h2>' . $cat->name . '</h2>';
echo '<h3>' . $cat->description . '</h3>';
echo '</div>';
}
} /* End of section class */
Same thing could easily be replicated for tags too.
#8
Posted 22 February 2012 - 11:10 PM
#9
Posted 28 February 2012 - 02:09 PM
#10
Posted 19 March 2012 - 02:04 PM
#11
Posted 19 March 2012 - 03:06 PM
#12
Posted 19 March 2012 - 07:40 PM
#13
Posted 19 March 2012 - 11:42 PM
#14
Posted 19 March 2012 - 11:47 PM
' . $tag->name . '
'; echo '' . $tag->description . '
'; echo '
#15
Posted 19 March 2012 - 11:58 PM











