Crumpled Fabric

0

Displaying WIX Tags

Click URL to copy

Oct 24, 2021

1 min read

WIX Ideas Team

Tags: Repeater Dynamic Page Selection Tags

Hi fella👋🏽, ever wanted to display WIX tags on your website? The you are in the right place. This won't take long, you can go ahead to copy the code below. I will be giving a few pointers on how to use the code.


What you will know
  1. How to use text HTML feature

  2. How to display tags on regular page

  3. How to display tags on a dynamic page


The code below represents the code for a static page. Firstly, an array (tags) is created. This array contains the keywords.

tags = ["Food", "Bread", "Delicious", "Restaurant", "Yummy", "Foodie"];

These keywords are the tags we want to display. So you can go ahead to add as many as you want in the same format as the rest.


Next, we are going to use the Javascript Map() method to apply a HTML formatting on each of the words to make them appear as buttons. And then using .Join() method to combine them to form a group of buttons: This is what then becomes our tags group display.



We will further go ahead to add the next code to display the tags on a repeater. This method is pretty simple because we will be making use of onItemReady repeater function. This will enable us to retrieve the tags from our database using itemData option.



Finally, we will display the tags in a dynamic page. This process is pretty easy way to because we are also still retrieving data from our dataset but using the dataset getCurrentItem() method.



I hope you enjoyed this tutorial, check out my YouTube here


#displayingWIXTags


Code



LEAVE A COMMENT

WRITE A COMMENT

Thanks for leaving a comment🎉

Walter

Walter

8/8/22

More Details? Watch video

Hi, you can click here to watch the video https://www.youtube.com/watch?v=9bx7-nBeZ5c

Walter

Walter

7/11/22

For you

Walter Odibi

Walter Odibi

4/18/22

Awesome Feature

This tutorial shows you how to display views on your Wix repeater.

📺WATCH VIDEO HERE https://www.youtube.com/watch?v=Iz7SdaCSdXg

Walter Odibi

Walter Odibi

4/18/22

Amazing tutorial

This amazing tutorial will show you how to a comment section to your WIX dynamic page.

📺WATCH VIDEO HERE https://www.youtube.com/watch?v=f8-vJQFNZ_c

Walter Odibi

Walter Odibi

4/10/22

Great Feature🎉

This amazing tutorial will show you how to add a visitor view counter to your WIX dynamic page.

🚩MORE TUTORIALS https://www.wixgenius.com/wix-tutorials

LOAD MORE 🎉

RELATED TUTORIALS 🚀

Load More Pagination Interaction

Load More Pagination Interaction

Adding a Custom Contact Form in WIX + Email Notification

Adding a Custom Contact Form in WIX + Email Notification

Add your custom contact form to your website with email automation.

Sort by Most Popular

Sort by Most Popular

Sort your repeater by the highest number of people who viewed your dynamic item.