Q: I love the fact that I can add widgets js snippets to bolster the site experience, and am working on doing ...
that for members as an Add-on Vip of my own.
Is there a way to "label" the snippets as I drop the codes in the Advanced Quick Edit section? Currently I have like 3 widgets for one member's page and just wanted to know if there could be a way to ID the code for organizational / peace of mind labels.

Jeff_BrilliantDirectories
Jun 27, 2024A: When you add the snippets of code to a Widget and save, you can create a unique name for the Widget to easily distinguish that snippet of code from others. If you want to label some code directly in the code itself, you could add a comment to the code (the format for code comments will vary depending on whether it's inside PHP, JS, HTML, or CSS).
I hope that helps! If I totally missed the intent of your questions, please let me know and I would be happy to answer again, or please feel free to submit a ticket to our outstanding support team. :)
It def is outstanding! Thanks! :)
When I have a code to install, a line of code, a snippet, I see what you are saying to build them out then install them with [widget_name] to install them on a page. And that should work well too.
I was thinking if I wanted to drop some code into a Member's Profile, I see I have the "Quick Edit" function and when I go to advanced tab I can drop the java code snippet (eg. from Elfsight) into the Header. It would be great if there was a space to label the section (as a UI enhancement) so we can know what the code is. But if we can already label the code i am not sure how to do so without the UI having a way to label the codes. Right now i have 4 codes dropped into the area.
https://prnt.sc/19ulati
Also, is there a section to directly inject code snippets just before the footer or just under it? TY! :)
Can you do this in all Tiers or only for Tier 5?
Thanks in Advance
Regarding labelling the codes - I would recommend adding an HTML comment above each one as a note to yourself what each one is for.
For example, above each snippet, you can add a comment like this:
<!-- This is a note about what this code snippet is for -->
Since this text is within HTML comment tags, it would not be visible on the page, but when you look at the code here in the Quick Edit form, you'll know what its for.
Kor also asked: Also, is there a section to directly inject code snippets just before the footer or just under it? TY! :)
--- Yes there is! In the Admin, navigate to Settings >> Design Settings and click on the "Custom CSS / HEAD" tab. There is a field there called "Additional Footer Code". Any code entered here will be inserted right before the closing </body> tab on every page.
Sumo-ling asked: Can you do this in all Tiers or only for Tier 5?
--- All Tiers allow for creating a widget, adding code snippets to that widget, and then placing that widget on a page, in a sidebar, in a menu, or in a form. If you would like to place that code inside of one of the default widgets that contains the code of the frontend of the website, then the Tier 5 deal would be required to view and edit default widgets.