Community Forums › Forums › Design Tips and Tricks › Magazine Theme category descriptions
Tagged: category description
This topic contains 2 replies, has 2 voices, and was last updated by tophboogie 3 months, 3 weeks ago.
-
AuthorPosts
-
January 25, 2013 at 12:49 pm #14674
Hello all! Thanks in advance for any help you give me.
I would like category descriptions to show up on my category archive pages for a blog I’m creating. (neonpicketfence.com/wordpress)
When Genesis is the displayed theme the category descriptions show up — but when I use the Magazine child theme they disappear. I browsed through the Magazine functions.php to try to find out how this has been disabled but I didn’t see anything. Google has told me to add category_description(); to my category.php or archive.php files but alas genesis has not these things!
I figured out that if I put my description in the ‘archive intro text’ box instead – the description shows up at the top of category archive pages with the Magazine theme (right where I want it) — however I need to add html styling to this description. I have figured out how to remove the filters from the category ‘description’ box, but not the ‘archive intro text’ box. An alternative solution to my problem is to allow more html tags in the ‘archive intro text’ box.
Did that make sense? :/
Any pointing in the right direction is greatly appreciated.
Thanks!
January 27, 2013 at 10:35 am #15318Makes perfect sense.
What’s the code you used to filter for the category description? Something like this? http://docs.appthemes.com/tutorials/allow-html-in-taxonomy-descriptions/
If you look at Genesis source files in archive.php, you can see where the archive intro text is getting pulled in:
$term->meta['intro_text']
Wondering if you can sub in intro_text for the category description? Haven’t tested it. Just a thought.
Cheers,
Carrie
Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question.
I tweet @cdils.
January 28, 2013 at 1:00 pm #15607Thanks for the reply! Though the genesis framework does display the description correctly. It is only once I apply the child theme that the description goes away — thus the code I am looking to modify *should* be in the magazine theme folder (yes?).
Anyway, I think I figured out a way to get the styling I want from the category intro-text box – so it isn’t an issue anymore
Thanks!
-
AuthorPosts
You must be logged in to reply to this topic.