<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://help.opentreeid.org/index.php?action=history&amp;feed=atom&amp;title=Page%3A_X-Trees_Widgets%2Fen</id>
	<title>Page: X-Trees Widgets/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://help.opentreeid.org/index.php?action=history&amp;feed=atom&amp;title=Page%3A_X-Trees_Widgets%2Fen"/>
	<link rel="alternate" type="text/html" href="https://help.opentreeid.org/index.php?title=Page:_X-Trees_Widgets/en&amp;action=history"/>
	<updated>2026-12-01T16:45:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://help.opentreeid.org/index.php?title=Page:_X-Trees_Widgets/en&amp;diff=1104&amp;oldid=prev</id>
		<title>FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="https://help.opentreeid.org/index.php?title=Page:_X-Trees_Widgets/en&amp;diff=1104&amp;oldid=prev"/>
		<updated>2026-11-13T10:53:45Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
[[File:OTID-Widgets-01-counter.png|thumb|right|500px|The X-Trees Widgets page with the tree counter]]&lt;br /&gt;
This page makes the codes to show OpenTreeID on another website: a tree counter, the map of a project, a site or one tree, and the tree selector. You pick a widget, see it as visitors will, and copy the code to paste into your website. Open it with &amp;#039;&amp;#039;&amp;#039;X-Trees Widgets&amp;#039;&amp;#039;&amp;#039; under &amp;#039;&amp;#039;Plugins&amp;#039;&amp;#039; in the menu on the left.&lt;br /&gt;
&lt;br /&gt;
==Interactions between containers==&lt;br /&gt;
* The settings on the left change the &amp;#039;&amp;#039;&amp;#039;Preview&amp;#039;&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;&amp;#039;Embed code&amp;#039;&amp;#039;&amp;#039; on the right at once.&lt;br /&gt;
* For the tree selector, the line under &amp;#039;&amp;#039;&amp;#039;Project&amp;#039;&amp;#039;&amp;#039; says how many trees are free to choose, with a link to them in [[Page: Trees]]. Which trees are free is set in [[Container: Tree selector]].&lt;br /&gt;
&lt;br /&gt;
==Page==&lt;br /&gt;
{| class=&amp;quot;wikitable ot-table&amp;quot;&lt;br /&gt;
! Item !! Value&lt;br /&gt;
|-&lt;br /&gt;
| TabTitle || OpenTreeID&lt;br /&gt;
|-&lt;br /&gt;
| URL || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://opentreeid.app/plugins/widgets&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
The chosen widget, project, site and tree are part of the address, so a link to the page opens the same widget.&lt;br /&gt;
&lt;br /&gt;
==Widgets==&lt;br /&gt;
{| class=&amp;quot;wikitable ot-table&amp;quot;&lt;br /&gt;
! Widget !! Shows&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Tree counter&amp;#039;&amp;#039;&amp;#039; || How many trees are registered on OpenTreeID, all projects together. It links to opentreeid.org.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Project map&amp;#039;&amp;#039;&amp;#039; || A project&amp;#039;s sites and trees on a satellite map, with the project&amp;#039;s drone photo where it has one. Clicking a tree opens its card.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Site map&amp;#039;&amp;#039;&amp;#039; || One site with its outline and its trees.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Tree&amp;#039;&amp;#039;&amp;#039; || One tree on the map with its card: name, species, number, site, planting date and description.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Tree selector&amp;#039;&amp;#039;&amp;#039; || Lets visitors choose one of a project&amp;#039;s free trees, for example to sponsor it. See [[Use Case: Show your trees on your website]].&lt;br /&gt;
|}&lt;br /&gt;
{{Figure|file=OTID-Widgets-03-tree-selector-widget.jpg|width=600|caption=The tree selector, with the card of tree 2 opened}}&lt;br /&gt;
&lt;br /&gt;
==Settings==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Project&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Site&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Tree&amp;#039;&amp;#039;&amp;#039; – what the widget shows. A list with a single choice comes with it picked. For &amp;#039;&amp;#039;&amp;#039;Tree&amp;#039;&amp;#039;&amp;#039;, search by name, number or UUID and pick the tree; &amp;#039;&amp;#039;&amp;#039;Change&amp;#039;&amp;#039;&amp;#039; picks another.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Trees at a time&amp;#039;&amp;#039;&amp;#039; (tree selector) – how many free trees of a site it shows at once, 5 to 10. &amp;#039;&amp;#039;Show other trees&amp;#039;&amp;#039; moves on to the next ones.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Look&amp;#039;&amp;#039;&amp;#039; – &amp;#039;&amp;#039;&amp;#039;Visitor&amp;#039;s setting&amp;#039;&amp;#039;&amp;#039; (light or dark, as the visitor&amp;#039;s device), &amp;#039;&amp;#039;&amp;#039;Light&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;Dark&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Language&amp;#039;&amp;#039;&amp;#039; – &amp;#039;&amp;#039;&amp;#039;Visitor&amp;#039;s language&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;English&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;German&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Romanian&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;Greek&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;Visitor&amp;#039;s language&amp;#039;&amp;#039; uses German, Romanian or Greek for visitors whose browser is set to one of them, and English for everyone else.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Subscribe button&amp;#039;&amp;#039;&amp;#039; (maps and tree; on the tree selector: &amp;#039;&amp;#039;&amp;#039;“Choose this tree” button&amp;#039;&amp;#039;&amp;#039;) – what the button on a tree&amp;#039;s card does:&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Opens the tree in OpenTreeID&amp;#039;&amp;#039;&amp;#039; – the tree&amp;#039;s page in the app, in a new tab;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Opens a page of your website&amp;#039;&amp;#039;&amp;#039; – your own page, for example a sign-up or donation form. &amp;#039;&amp;#039;&amp;#039;Link&amp;#039;&amp;#039;&amp;#039; must start with &amp;#039;&amp;#039;https://&amp;#039;&amp;#039;. &amp;#039;&amp;#039;{code}&amp;#039;&amp;#039;, &amp;#039;&amp;#039;{name}&amp;#039;&amp;#039; and &amp;#039;&amp;#039;{id}&amp;#039;&amp;#039; in the link become the tree&amp;#039;s number, name and OpenTreeID id, for example &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;https://example.org/subscribe/?tree={code}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;, so your form knows which tree was chosen;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Hidden&amp;#039;&amp;#039;&amp;#039; – no button.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Height (pixels)&amp;#039;&amp;#039;&amp;#039; – the widget&amp;#039;s height on your page, 120 to 1200.&lt;br /&gt;
{{Figure|file=OTID-Widgets-02-tree-selector-settings.jpg|width=600|caption=The tree selector&amp;#039;s settings and preview}}&lt;br /&gt;
&lt;br /&gt;
==Main panel==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Preview&amp;#039;&amp;#039;&amp;#039; – the widget as visitors will see it. &amp;#039;&amp;#039;&amp;#039;Open in a new tab&amp;#039;&amp;#039;&amp;#039; opens the widget on its own.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Embed code&amp;#039;&amp;#039;&amp;#039; – the code to paste where the widget should appear; the copy button copies it. In WordPress, paste it into a &amp;#039;&amp;#039;Custom HTML&amp;#039;&amp;#039; block. It works on any website that allows iframes, and keeps itself up to date.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Image for documents and presentations&amp;#039;&amp;#039;&amp;#039; (tree counter only) – Google Docs and Slides cannot show web pages, so the counter is also offered as an image. In Docs or Slides choose &amp;#039;&amp;#039;Insert → Image → By URL&amp;#039;&amp;#039; and paste the link. The image shows the count of the day it is inserted; insert it again to update it. An image has one look and one language: with &amp;#039;&amp;#039;Visitor&amp;#039;s setting&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Visitor&amp;#039;s language&amp;#039;&amp;#039; it takes yours, as the preview does.&lt;br /&gt;
&lt;br /&gt;
{{Careful|title=Public|A widget is public: everyone who visits the website sees what it shows, without signing in. Embed only projects, sites and trees you want to show to the public.}}&lt;br /&gt;
&lt;br /&gt;
==Side panel==&lt;br /&gt;
This page has no side panel.&lt;br /&gt;
&lt;br /&gt;
[[Category:Widgets]]&lt;br /&gt;
{{DEFAULTSORT:X-Trees Widgets, Page}}&lt;/div&gt;</summary>
		<author><name>FuzzyBot</name></author>
	</entry>
</feed>