<?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=Use_Case%3A_Show_your_trees_on_your_website%2Fen</id>
	<title>Use Case: Show your trees on your website/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=Use_Case%3A_Show_your_trees_on_your_website%2Fen"/>
	<link rel="alternate" type="text/html" href="https://help.opentreeid.org/index.php?title=Use_Case:_Show_your_trees_on_your_website/en&amp;action=history"/>
	<updated>2026-12-01T15:37:23Z</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=Use_Case:_Show_your_trees_on_your_website/en&amp;diff=1012&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=Use_Case:_Show_your_trees_on_your_website/en&amp;diff=1012&amp;oldid=prev"/>
		<updated>2026-11-13T10:52:28Z</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;
{{Figure|file=OTID-Widgets-03-tree-selector-widget.jpg|width=600|caption=The tree selector on a website: visitors pick a free tree}}&lt;br /&gt;
&lt;br /&gt;
This guide puts a project&amp;#039;s trees on your organisation&amp;#039;s website: a map of the project, and a tree selector where visitors choose a tree, for example to sponsor or adopt it.&lt;br /&gt;
&lt;br /&gt;
It uses [[Widgets]] (X-Trees Widgets). The widgets read the data from OpenTreeID, so new trees and changes show on the website without touching it again.&lt;br /&gt;
&lt;br /&gt;
== Current Scope ==&lt;br /&gt;
* The tree counter, project map, site map, tree and tree selector widgets.&lt;br /&gt;
* Choosing which trees the tree selector offers.&lt;br /&gt;
* Sending visitors to your own page for a chosen tree.&lt;br /&gt;
* Payments and sign-up forms are on your own website, outside OpenTreeID.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* A website where you can add HTML or an iframe (in WordPress, a &amp;#039;&amp;#039;Custom HTML&amp;#039;&amp;#039; block).&lt;br /&gt;
* For the tree selector: a role that lets you edit the project&amp;#039;s trees, and trees with a position.&lt;br /&gt;
&lt;br /&gt;
== User Story ==&lt;br /&gt;
As the coordinator of a planting project, I want visitors of our website to see our trees and choose one to sponsor, so that support goes to a real tree they can find on the map.&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
Screenshots and lists of trees on a website go out of date, and people who want to support a tree cannot see which ones are still free.&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
The widget shows the live data from OpenTreeID. The tree selector offers only the trees marked free to choose, a few at a time, and sends the visitor to your own form with the tree&amp;#039;s number filled in.&lt;br /&gt;
&lt;br /&gt;
== Workflow ==&lt;br /&gt;
{| class=&amp;quot;wikitable ot-table&amp;quot;&lt;br /&gt;
! # !! Step !! Where&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Choose the free trees || [[Page: Trees]] → select → &amp;#039;&amp;#039;&amp;#039;Mark free to choose&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Set up the widget || [[Page: X-Trees Widgets]] → &amp;#039;&amp;#039;&amp;#039;Tree selector&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Link your own form || &amp;#039;&amp;#039;&amp;#039;“Choose this tree” button&amp;#039;&amp;#039;&amp;#039; → &amp;#039;&amp;#039;&amp;#039;Opens a page of your website&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| 4 || Put it on your website || &amp;#039;&amp;#039;&amp;#039;Embed code&amp;#039;&amp;#039;&amp;#039; → copy → paste&lt;br /&gt;
|-&lt;br /&gt;
| 5 || Keep it current || Mark chosen trees &amp;#039;&amp;#039;&amp;#039;not free&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 1. Choose the free trees ==&lt;br /&gt;
Open [[Page: Trees]] and filter it to the project. Tick the trees to offer and press &amp;#039;&amp;#039;&amp;#039;Mark free to choose&amp;#039;&amp;#039;&amp;#039;. For a single tree, use the &amp;#039;&amp;#039;&amp;#039;Tree selector&amp;#039;&amp;#039;&amp;#039; card on its page. See [[Container: Tree selector]].&lt;br /&gt;
{{Figure|file=OTID-Trees-13-tree-selector-list.png|width=600|caption=Selected trees, ready to be marked free to choose}}&lt;br /&gt;
&lt;br /&gt;
== 2. Set up the widget ==&lt;br /&gt;
Open [[Page: X-Trees Widgets]] and pick &amp;#039;&amp;#039;&amp;#039;Tree selector&amp;#039;&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;&amp;#039;Project&amp;#039;&amp;#039;&amp;#039;. The line under it says how many trees are free. Choose how many &amp;#039;&amp;#039;&amp;#039;Trees at a time&amp;#039;&amp;#039;&amp;#039; visitors see, the &amp;#039;&amp;#039;&amp;#039;Look&amp;#039;&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;&amp;#039;Language&amp;#039;&amp;#039;&amp;#039;, and check the &amp;#039;&amp;#039;&amp;#039;Preview&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== 3. Link your own form ==&lt;br /&gt;
Under &amp;#039;&amp;#039;&amp;#039;“Choose this tree” button&amp;#039;&amp;#039;&amp;#039; pick &amp;#039;&amp;#039;&amp;#039;Opens a page of your website&amp;#039;&amp;#039;&amp;#039; and enter the address of your form, with &amp;#039;&amp;#039;{code}&amp;#039;&amp;#039; where the tree&amp;#039;s number should go, for example &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;https://example.org/sponsor/?tree={code}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;. In the preview, open a tree and try the button.&lt;br /&gt;
&lt;br /&gt;
== 4. Put it on your website ==&lt;br /&gt;
Press the copy button next to &amp;#039;&amp;#039;&amp;#039;Embed code&amp;#039;&amp;#039;&amp;#039; and paste the code into your website, in WordPress into a &amp;#039;&amp;#039;Custom HTML&amp;#039;&amp;#039; block. Adjust &amp;#039;&amp;#039;&amp;#039;Height (pixels)&amp;#039;&amp;#039;&amp;#039; if the widget needs more room.&lt;br /&gt;
&lt;br /&gt;
== 5. Keep it current ==&lt;br /&gt;
When a tree has been chosen, mark it &amp;#039;&amp;#039;&amp;#039;not free&amp;#039;&amp;#039;&amp;#039; so the selector stops offering it.&lt;br /&gt;
&lt;br /&gt;
== Role-based Access ==&lt;br /&gt;
{| class=&amp;quot;wikitable ot-table&amp;quot;&lt;br /&gt;
! Action !! Who&lt;br /&gt;
|-&lt;br /&gt;
| Mark trees free or not free || People who can edit the trees&lt;br /&gt;
|-&lt;br /&gt;
| Make widget codes || Everyone signed in, for the projects, sites and trees they can see&lt;br /&gt;
|-&lt;br /&gt;
| See a widget || Every visitor of the website, without signing in&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
{| class=&amp;quot;wikitable ot-table&amp;quot;&lt;br /&gt;
! Setting !! Default&lt;br /&gt;
|-&lt;br /&gt;
| Look || Visitor&amp;#039;s setting&lt;br /&gt;
|-&lt;br /&gt;
| Language || Visitor&amp;#039;s language&lt;br /&gt;
|-&lt;br /&gt;
| Button || Opens the tree in OpenTreeID&lt;br /&gt;
|-&lt;br /&gt;
| Trees at a time || 8&lt;br /&gt;
|-&lt;br /&gt;
| Height || 180 px (counter), 480 px (maps and tree), 600 px (tree selector)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Benefits ==&lt;br /&gt;
{{Columns2&lt;br /&gt;
|left={{Eyebrow|FOR YOUR VISITORS}}&lt;br /&gt;
Real trees on a real map, the project&amp;#039;s drone photo underneath, and a simple way to choose one.&lt;br /&gt;
|right={{Eyebrow|FOR YOUR TEAM}}&lt;br /&gt;
No website work after the first paste: the widget follows the data in OpenTreeID.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
{{Faq|q=The tree selector says no trees are free.|a=Mark trees &amp;#039;&amp;#039;&amp;#039;free to choose&amp;#039;&amp;#039;&amp;#039; in [[Page: Trees]] or on a tree&amp;#039;s page. Only trees with a position are shown on the map.}}&lt;br /&gt;
{{Faq|q=Can I show the counter in a presentation?|a=Yes. Pick &amp;#039;&amp;#039;&amp;#039;Tree counter&amp;#039;&amp;#039;&amp;#039; and use the link under &amp;#039;&amp;#039;&amp;#039;Image for documents and presentations&amp;#039;&amp;#039;&amp;#039; with &amp;#039;&amp;#039;Insert → Image → By URL&amp;#039;&amp;#039;.}}&lt;br /&gt;
{{Faq|q=Who can see a widget?|a=Everyone who visits the website. A widget needs no sign-in.}}&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[Page: X-Trees Widgets]] · [[Container: Tree selector]] · [[Page: Trees]] · [[Page: Tree]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Use Cases]]&lt;br /&gt;
[[Category:Widgets]]&lt;br /&gt;
{{DEFAULTSORT:Show your trees on your website}}&lt;/div&gt;</summary>
		<author><name>FuzzyBot</name></author>
	</entry>
</feed>