ok thank you. could be very useful this implementation from you in a future update, because there are included all meta datas but tags. why not give that option too?
best regards,
m
it seems that this solution doesn’t work anymore… did you perhaps found an alternative for that?
I need the same thing, but the theme crush if I put your code inside the template
thanks!
m
thanks but it doesn’t work.
PHP tells me that get_the_tags is already declared in the core php of WP.
can you help me for this? I need it in order to finish the job. It is useful for me to display tags or maybe even custom fields.
thanks in advance
m
thank you for the answer! it works like a charm!
best regards,
m
thank’s but if I do so, every category will have the same color. My need is to modify the php template in order to automatically add the same name of the cat as class, and this for each category tag shown above the title of the post in the big grid flex module. because this isn’t an option available in backend, I need to modify the theme. I’ve tried this script:
<?php if ($category_position == ‘above’) { echo ‘<div class=”‘ . get_cat_name( $cat_id ) . ‘”>’ . $this->get_category() . ‘</div>’; }?>
but it doesn’t work. thank’s for the support.
m
ok sorry for my bad english, I try to explain better.
My need is to display on the homepage the tags of the posts shown in the Big grid flex template, but in the backend I can only choose between categories, author or date. Could you help me to write the proper script in php in order to customize the theme? I’ve used <?php the_tags(); ?> but with no success. below some screen:
thank’s so much!
m
thanks for the reply but this is not enough for me. I need different colors for each category. I’ve thought a different way to do that: to add the class nicename in the script that displays cats in flex blocks:
<?php if ($category_position == ‘above’) { echo ‘<div class=”‘ . get_cat_name( $cat_id ) . ‘”>’ . $this->get_category() . ‘</div>’; }?>
but I don’t understand why it doesn’t work.
Could you be so kind to give me a hint?
thank’s
m
It is possible to have some hint in order to modify the template and permit tags visualization in homepage? I’ve tried by custom coding it, but i don’t understand the logics behind your way to retrieve post data
thanks,
m
I have the same issue. you can customize them separately by add a class name to the flex module that display the article, where the class name is the same of the name of the category. In this case with some css styling we can change colors.
unfortunately I can’t find a way to do that…. can you help me to modify the template?
thank’s,
m