Tagged: x
-
AuthorPosts
-
May 18, 2016 at 6:29 pm #998309
LorenAbility360ParticipantHello,
I want to add code / text to the category description so that it shows in the header of the category/archive page.
I followed the instructions here:
https://community.theme.co/forums/topic/display-category-description/It doesn’t seem to be working.
What I did so far:
– Uploaded child theme for x from member page
– Copied _landmark-header.php from x/framework/views/integrity/ to x-child/framework/views/integrity
– added this line of code in several spots
<p class="p-landmark-desc"> <?php echo category_description(); ?> </p>
– Added CSS code into child theme css file.p-landmark-desc { font-size: 14px; color: #CCCCCC; }May 18, 2016 at 11:28 pm #998767
DarshanaModeratorHi there,
Thanks for writing in! Did you activate child theme? and make sure it is working first. Please provide us with the URL to your site to check.
Thanks!
May 19, 2016 at 3:13 pm #1000192
LorenAbility360ParticipantI just activated it. It seems like it is working.
It doesn’t seem to like cornerstone shortcode though.
http://ability360.org/posts/livabilityAlso, my widgets are gone now.
Main Sidebar is empty and so are all my other sidebars.May 19, 2016 at 8:04 pm #1000586
Rue NelModeratorHello There,
Thanks for the updates! By default, shortcodes were not allowed in the category descriptions. You have to enable it. Since your child theme is set up, please add the following code in your child theme’s functions.php file
// Allow shortcodes in Category description // ============================================================================= add_filter( 'term_description', 'shortcode_unautop'); add_filter( 'term_description', 'do_shortcode' );Your sidebar isn’t showing anything because the main side is empty (http://prntscr.com/b65dv6). Please add some widgets or make sure that your custom sidebar is assigned to a particular category.
Hope this helps. Kindly let us know.
May 20, 2016 at 2:00 pm #1001985
LorenAbility360ParticipantI checked today and the conerstone codes are now working. I didn’t even have to add the code you suggested in functions.php. That code was already in there…
Before the child theme, I had a main sidebar filled with widgets. When i activated the child them, all my sidebar widgets were gone.
May 20, 2016 at 7:27 pm #1002279
JadeModeratorHi there,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 23, 2016 at 3:53 pm #1005982
LorenAbility360ParticipantThis reply has been marked as private.May 24, 2016 at 12:25 am #1006603
FriechModeratorMay 24, 2016 at 11:02 am #1007507
LorenAbility360Participantthx
May 24, 2016 at 11:42 am #1007576
JadeModeratorYou’re welcome Loren.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-998309 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>

