Tagged: 

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #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)

    tag list exampled

    #937651

    Hey 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
    Image 2018-04-05 at 18.09.15.png

    The social share buttons can be added with this element
    Image 2018-04-05 at 18.07.42.png

    Best regards,
    Victoria

    #937902

    Hi again Victoria.

    Which I mean is making something like this:
    what I want

    • This reply was modified 1 year ago by  izubeldia.
    #938070

    Hi izubeldia,

    Can you please upload the image to a service like Dropbox and post the link here? We cannot see the image.

    Best regards,
    Victoria

    #938235
    #939119

    Hi,

    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,
    Ismael

    #939278

    Hi 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 1 year ago by  izubeldia.
    #939700

    Hi,

    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,
    Ismael

    #940640

    Hi 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

    #941219

    Hi,

    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,
    Rikard

    #941290

    Thank you Rikard, here it goes

    #941390

    Hi,

    We added the custom shortcode in the functions.php file. You can find an example in a test post. ( see private field )

    Best regards,
    Ismael

    #941656

    Great! Ismael, you can close this.

    #941662

    Oh! 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?

    look:
    https://snag.gy/tzuY4h.jpg

    #941941

    Hi izubeldia,

    We’ve adjusted the code to skip those tags.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #942070

    Hi victoria,

    It seems is not working because I see the “landscape” tag yet.

    https://snag.gy/CmSeia.jpg

    (check the page: https://turismecv.izubeldia.com/2018/04/04/lorem-ipsum-7-2/)

    #942074

    Hi 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

    #942138

    Hi,

    Great, glad you got it working and thanks for the feedback. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 18 posts - 1 through 18 (of 18 total)

The topic ‘Add post tags list under the post's content.’ is closed to new replies.