Community Forums › Forums › Archived Forums › General Discussion › Displaying Category Description on Archive Page
- This topic has 3 replies, 3 voices, and was last updated 10 years, 10 months ago by
dishdesigner.
-
AuthorPosts
-
December 30, 2014 at 3:28 pm #135696
kateolynch
ParticipantI am using the executive pro theme on: http://kateogroup.com/rving/
This site is in the beginning stages but I would like to display static text on the archive pages (each archive page would have it's own text), is this possible? I thought I should maybe go about this by displaying the category description on the archive page but am open to suggestions if there is a better way to do this.
Thanks in advance!
December 30, 2014 at 10:20 pm #135711Ren Ventura
MemberI think using the available descriptions for Categories and Tags would be the best way to go as long as it works for your requirements. Genesis includes options for outputting information about each taxonomy under their settings areas. This is nice because you don't have to mess around with PHP to get the descriptions you enter to show up. Just edit each Category or Tag to add your own description and it will appear at the top of those archives.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
July 13, 2015 at 5:50 pm #159327dishdesigner
MemberI was just searching the Studiopress forums tonight for this very topic...
What I'm wondering is whether there is a hook that can be used to simply display the contents of the Text Editor at the top of any category archive page before starting the loop displaying that category's blog posts below?
Wouldn't that be MUCH simpler, especially for clients who aren't terribly versed in coding?
This plugin called Rich Text Tags will allow you to use a text editor to edit the category description:
https://wordpress.org/plugins/rich-text-tags/But, to most users who create a category archive page, it makes more sense that the Text Editor's content should be the introduction to the page. You then add a custom field to the page below (query_args) and specify the category to be displayed as the field's value. Done!
It's counter-intuitive for most users to create a page that is supposed to display blog posts of a particular category, but then have to leave the page editing process to go over to Posts / Categories to edit any given category's description so it shows up over on a Page....no?
July 13, 2015 at 6:09 pm #159329dishdesigner
Member....Ah, even worse, that plugin Rich Text Tags only adds rich text editor capability to the Category Description field, not the Archive Intro Text field in the Category Archive Settings!
So, you're left with a raw text box for entering Archive Intro text...(and entering text there isn't even displaying correctly on my category archive pages at the moment.....sigh.)
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.