
Tagged: Tags
-
AuthorPosts
-
April 4, 2018 at 7:05 pm #937350
Hi there,
I would like to know how can I add a tag list after the post’s content.
I would like to add some icon as well like in this site (check side bar part)
April 5, 2018 at 12:09 pm #937651Hey izubeldia,
Do you mean you want to have a tag cloud?
http://www.wpexplorer.com/tag-cloud-wordpress/Tag cloud is a widget, it can be added to a sidebar
The social share buttons can be added with this element
Best regards,
VictoriaApril 5, 2018 at 9:09 pm #937902Hi again Victoria.
Which I mean is making something like this:
-
This reply was modified 6 years, 11 months ago by
izubeldia.
April 6, 2018 at 7:47 am #938070Hi izubeldia,
Can you please upload the image to a service like Dropbox and post the link here? We cannot see the image.
Best regards,
VictoriaApril 6, 2018 at 12:28 pm #938235April 9, 2018 at 12:17 pm #939119Hi,
Please install the plugin that @Victoria suggested above then use it inside a specific widget area. Edit the page then insert the Widget Area element. Select the widget area where the tag cloud widget is located.
Best regards,
IsmaelApril 9, 2018 at 3:39 pm #939278Hi Ismael,
I did it, as you can see here: https://turismecv.izubeldia.com/2018/04/04/lorem-ipsum-5-2/
but my concern is:
– How can I show only the tags I used in that post. (not all of my website)
– How can I show the posts from the tag page (https://turismecv.izubeldia.com/tag/francia/) like this (https://turismecv.izubeldia.com/destinos/)thanks
-
This reply was modified 6 years, 11 months ago by
izubeldia.
April 10, 2018 at 8:36 am #939700Hi,
Thank you for the update. I didn’t know that the widget will display every tags available. Please create a custom shortcode instead.
function avs_posts_tag_cb() { global $post; $the_tags = get_the_tags( $post->ID ); $output = ''; foreach($the_tags as $tag) { $taglink = get_tag_link($tag->term_id); $output .= '<span class="post_tag"><a href='.$taglink.'>'.$tag->name.' </a></span>'; } return $output; } add_shortcode('avs_posts_tag', 'avs_posts_tag_cb');
In a code or text block, use this shortcode.
[avs_posts_tag]
Best regards,
IsmaelApril 11, 2018 at 8:52 pm #940640Hi ismael,
I have difficulties for create a shortcode. I was investigating on your knowledge data base, and in this forum.. but I couldn’t get the key.
Please could you help me with this task? thanks
April 13, 2018 at 3:34 am #941219Hi,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardApril 13, 2018 at 6:58 am #941290Thank you Rikard, here it goes
April 13, 2018 at 10:34 am #941390Hi,
We added the custom shortcode in the functions.php file. You can find an example in a test post. ( see private field )
Best regards,
IsmaelApril 13, 2018 at 8:05 pm #941656Great! Ismael, you can close this.
April 13, 2018 at 8:46 pm #941662Oh! Ismael one more thing, I need to hide the tags that I need for manage the mansory blog post size (Landscape and Portrait) How can I do that?
April 14, 2018 at 3:23 pm #941941Hi izubeldia,
We’ve adjusted the code to skip those tags.
If you need further assistance please let us know.
Best regards,
VictoriaApril 14, 2018 at 10:58 pm #942070Hi victoria,
It seems is not working because I see the “landscape” tag yet.
(check the page: https://turismecv.izubeldia.com/2018/04/04/lorem-ipsum-7-2/)
April 14, 2018 at 11:04 pm #942074Hi again,
I realized the error was the capital letter of Landscape. I already fix it basing on your code, adding all variable (landscape, Landscape, Portrait and portrait).
So you can close this thread, thanks
April 15, 2018 at 7:10 am #942138 -
This reply was modified 6 years, 11 months ago by
-
AuthorPosts
- The topic ‘Add post tags list under the post's content.’ is closed to new replies.