Skip to content

Adding universal FTC affiliate link disclaimer

JohnDarkhorse edited this page Jun 13, 2022 · 1 revision

Current bb.sh code:

945     create_includes() {
946    {
947        echo "<h1 class=\"nomargin\"><a class=\"ablack\" href=\"$global_url/$index_file\">$global_title</a></h1>" 
948        echo "<div id=\"description\">$global_description</div>"
949    } > ".title.html"

Adding your FTC or affiliate link disclaimer as shown in the example below will place it under your site's subtitle on all your blog pages (if the "rebuild" option is used).

945     create_includes() {
946    {
947        echo "<h1 class=\"nomargin\"><a class=\"ablack\" href=\"$global_url/$index_file\">$global_title</a></h1>" 
948        echo "<div id=\"description\">$global_description</div>"
# code added by author
echo "<br><div style=\"font-size: 12px;\" align=\"center\">Example.com is supported in part by its readers.  When you buy through
some links on our site, Example.com may earn a commission at no extra cost to you.  <a href=\"https:\/\/Example.com\/disclaimer.
html\">Learn more.</a>
</div><br>"
# end added code
949    } > ".title.html"