Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
First of All a great theme. Thank you so much.
Second I am using your theme in one of the projects, so much influenced by its clean layout, i would like to ask you to help me with the tags layout in node view & teaser that you have achieved. I mean what is the code and where is it located so i could use it for a custom theme i am using on another site. Please help me. thanks.
Best regards
Danish
Comments
Comment #1
macrodesign CreditAttribution: macrodesign commentedTitle fix
Comment #2
kong CreditAttribution: kong commentedHi,
Thanks for the feedback. I'm glad you like it :)
Everything is located in the
template.php
file (except the theme settings, of course). For taxonomy terms layout it's being processed inphptemplate_preprocess_node()
function around line 144~190.What I think you'd be interested most is the block around line 157~187 which takes care of splitting the taxonomy terms into two groups -- the "category" that is displayed along with submitted information (
$vars['category']
), and other "tags" that is displayed at the bottom of the node ($vars['terms']
).Comment #3
macrodesign CreditAttribution: macrodesign commentedThank you very much. Let me give it a try and get back to you.