This topic has 6 replies, 3 voices, and was last updated 9 years ago ago by Eva Kemp
Hello, I had a quick question in regards to the tags on my site. On the foooter of my website I have a section that says Eyewear Tags, its a widget in which the tags are being showcased, how is it that I can set it to show only a number of tags. Like 8 tags for example, because basically right now, it is showing all of the category tags of my store. website and details on private content.
Hello
Please create the Child theme. Royal Child theme folder comes within zipped package from themeforest. You may read about Child theme here. Then please add following code to the function.php in Child Theme:
function my_widget_tag_cloud_args( $args ) {
$args['number'] = 20;
return $args;
}
Where 20 is number of the tags to display.
With best regards
Brian Johnson
Hello,
that did not work. Please advice me.
Please provide us with ftp credentials as well.
With best regards
Brian Johnson
FTP details provided in private content. Thank you.
Hello,
I’ve edited the file category-template.php in the directory wp-includes on line 594 and changed the code 'number' => 45,
to 'number' => 8,
, so now you have 8 tags displayed in the footer.
Please check.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up