The simpler media website CMS
Forum search only. You might also want to search on the main site's user guide.
Forum RSS
Visit the troubleshooting guide.
Visit the paid support page.
Your support helps pay for this server, and helps development of zenphoto. Thank you!
Visit the donations page
Hi guys
I know my HTML and CSS but have no idea about PHP...sorry... I have created a tag page and need to display the tags in a cloud.
What do I need to put on the page ie function do I need to type in to make it appear.
Thanks in advance
Kriss
You need to put the function <?php printAllTagsAs('cloud', 'tags'); ?> for a simple tag cloud. Yu find such an example on the archive.php page of the include zenpage theme or the bare bones demo theme: https://github.com/zenphoto/demo-theme. Also review the parameters here: https://docs.zenphoto.org/1.5.x/function-printAllTagsAs.html
<?php printAllTagsAs('cloud', 'tags'); ?>
Note that the theme used might need CSS adjustments for this. If you like to do more theme modifications I recommend the tutorial: https://www.zenphoto.org/news/theming-tutorial/
Thank you! So used to WordPress with shortcodes...
Ok I have put it on there took a while to figure out which box to put it in on the page but have now
https://michaelmania.me.uk/pages/Tags/
I will know play with the theme to see about size colour etc.
And thank you for the quick reply especially on a Sunday
Comments
You need to put the function
<?php printAllTagsAs('cloud', 'tags'); ?>
for a simple tag cloud. Yu find such an example on the archive.php page of the include zenpage theme or the bare bones demo theme: https://github.com/zenphoto/demo-theme. Also review the parameters here: https://docs.zenphoto.org/1.5.x/function-printAllTagsAs.htmlNote that the theme used might need CSS adjustments for this. If you like to do more theme modifications I recommend the tutorial: https://www.zenphoto.org/news/theming-tutorial/
Thank you! So used to WordPress with shortcodes...
Ok I have put it on there took a while to figure out which box to put it in on the page but have now
https://michaelmania.me.uk/pages/Tags/
I will know play with the theme to see about size colour etc.
And thank you for the quick reply especially on a Sunday
Kriss