I want to start the verification process at the click of a button. How do I do that?
Wordpress
You can do this by customizing the ‘Verification Required’ page. If you look at the code via an browser code inspector on that page you will notice that there is an anchor element that points to href="#tot_get_verified". Token of Trust will connect to any anchor pointing to this href on this page.
<a href="#tot_get_verified">Get Verified</a> |
If you’re on this page you can also launch the verification process via a javascript call to:
window.tot("modalOpen", window.totModalType, window.totModalParams); |
Note: Both the anchor and javascript call require coordination/setup with the Token of Trust backend via an API call to our server. Therefore this call is not enabled on every page (but is enabled on the “Verification Required” page). If you’re on a different page consider using: the [tot-reputation-status] shortcode which is up next.