Dominic 0 Report post Posted February 15, 2011 Hey Andrew, I was just thinking I'd like to do the same -- any idea of how to make this happen in PlatformPro? I'm using it to make a website for my wife's class and would like to put the category description above the posts so that the info doesn't need to be repeatedly entered: http://blipstr.com/myfavoriteteacher/category/spelling/ Share this post Link to post Share on other sites
cmunns 16 Report post Posted February 15, 2011 I would try and locate the section.postsinfo.php file and add a touch of code to that file...but first let's have you copy it over to the Base child theme so it's safe to edit. Share this post Link to post Share on other sites
Dominic 0 Report post Posted February 16, 2011 I copied the section.postinfo.php file over to /platformbase/sections/wp (had to make the wp directory) from /platformpro/sections/wp/ What code should I add? Share this post Link to post Share on other sites
bryan-hadaway 3 Report post Posted February 16, 2011 Marked for developer input. Thanks, Bryan Share this post Link to post Share on other sites
cmunns 16 Report post Posted February 16, 2011 Look for the conditional for category and add the description line that I have here: ` <?php elseif(is_category()):?> <?php _e("Currently viewing the category: ", 'pagelines');?> "<?php single_cat_title();?>" //this line of code below <?php echo category_description(); ?> ` Share this post Link to post Share on other sites
Dominic 0 Report post Posted February 17, 2011 Do I make the changes to the file in platformbase or platformpro. And if it is platformbase, how do I point the theme to use that file instead of the original? Share this post Link to post Share on other sites
Kate 3 Report post Posted February 17, 2011 Hi Dominic - Definitely make the changes in platformbase. And, it should pick it up automatically. If you need anything else, let us know. Share this post Link to post Share on other sites
Dominic 0 Report post Posted February 17, 2011 Thanks guys -- everything worked! Check it out here (once I figured it out, I did a little more edititing): http://mrschurch.net/category/spelling/ Share this post Link to post Share on other sites
bryan-hadaway 3 Report post Posted February 18, 2011 Nice. Thanks, Bryan Share this post Link to post Share on other sites
rpacker 19 Report post Posted November 2, 2011 I just found this thread, and would also like to display the category description on category pages, but I can't figure out where the above mentioned code is supposed to be inserted into platform base: ` "" //this line of code below ` Randall Packer Multimedia Artist & Educator http://www.randallpacker.com Share this post Link to post Share on other sites
Rob 547 Report post Posted November 2, 2011 Russell, Which theme do you have? This topic was started about iBlogPro (a previous version) and that instruction it seems was related to PlatformPro. Former PageLines Moderator, Food Expert and Raconteur Share this post Link to post Share on other sites
rpacker 19 Report post Posted November 2, 2011 I have Platform Pro, and I just followed the above instructions, but it didn't work. Any ideas? Randall Packer Multimedia Artist & Educator http://www.randallpacker.com Share this post Link to post Share on other sites
Rob 547 Report post Posted November 2, 2011 Okay. With PlatformPro, you would need to download section.postsinfo.php from wp-content/themes/platformpro/sections/wp to your desktop. Look inside that file for: [code]function section_template() { if(is_category() || is_archive() || is_search()): ?> [/code] Add the code provided by cmunns below that. Save the file and upload to wp-content/themes/platformbase. I'm unsure if you're going to need to add a hook into functions.php to include that section. It's possible you might. Former PageLines Moderator, Food Expert and Raconteur Share this post Link to post Share on other sites