Tagged: x
-
AuthorPosts
-
October 7, 2016 at 5:26 am #1206559
tashitendrelParticipantHello,
is there a way to show category name under each post exactly the way tags are displayed?
thank youOctober 7, 2016 at 8:16 am #1206712
Paul RModeratorHi,
To achieve that create file _content-post-footer.php in wp-content/themes/x-child/framework/views/integrity
and copy the code below into that file.<?php // ============================================================================= // VIEWS/INTEGRITY/_CONTENT-POST-FOOTER.PHP // ----------------------------------------------------------------------------- // Standard <footer> output for various posts. // ============================================================================= ?> <?php if ( has_tag() ) : ?> <footer class="entry-footer cf"> <?php echo get_the_tag_list(); ?> <?php echo get_the_category_list(); ?> </footer> <?php endif; ?>Then add this in Custom > Edit Global CSS in the customizer.
.entry-footer .post-categories { clear: both; display: block; margin-left: 0; } .entry-footer .post-categories li { float: left; list-style-type: none; }Hope that helps.
October 7, 2016 at 11:38 pm #1207661
tashitendrelParticipantHi, I did it. But this way not only entry footer, but also the whole footer disappeared… Please have a look: http://dharmaebooks.org/ཚད་མའི་སྤྱི་དོན་འཇམ་དབ/
October 8, 2016 at 3:55 am #1207805
Rue NelModeratorHello There,
Thanks for the updates! It seems that there are some error on the page. This is why the whole footer did not display anything. You might have added an invalid code. Would you mind providing us the url of your site with login credentials so we can take a closer look and fix the issue?
To do this, you can make a post with the following info:
– FTP Hostname
– FTP Username
– FTP PasswordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
October 8, 2016 at 10:33 am #1208026
tashitendrelParticipantThis reply has been marked as private.October 8, 2016 at 11:36 am #1208056
ThaiModeratorHi There,
I’ve just fixed the issue.
Please change the custom CSS to this:
.entry-footer .post-categories { clear: both; display: block; margin-left: 0; } .entry-footer .post-categories li { float: none; list-style-type: none; display: inline-block; }Regards!
October 8, 2016 at 12:12 pm #1208087
tashitendrelParticipantLooks good. thank you for all your help.
October 8, 2016 at 12:23 pm #1208098
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1206559 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
