Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #277497

    Hello – can you please assist?

    1/ How can i add an image to a side bar – i cannot find an image widget ?

    2/ With the tags widget – where can i set which and how many tags show in the sidebar as it just shows all ?

    Thank you.

    • This topic was modified 3 months, 3 weeks ago by  smadesign.
    #277529

    Hey smadesign!

    1- You can switch to Default Editor and click on Magic Wand to see full list of shortcodes http://i.imgur.com/n4KXkdm.jpg
    then you can create any of them and copy/paste shortcode into any other content element or into text widget.
    2- Please add following code to Functions.php file in Appearance > Editor

    add_filter('widget_tag_cloud_args', 'tag_widget_limit');
    function tag_widget_limit($args){
     if(isset($args['taxonomy']) && $args['taxonomy'] == 'post_tag'){
      $args['number'] = 3; 
     }
     return $args;
    }

    change 3 to needed number

    Regards,
    Yigit

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

You must be logged in to reply to this topic.