How do you create a re-useable HTML fragment in wordpress
Let’s say you want all pages to have a common footer, and have that footer editable in WordPress; how would you accomplish this?
My current solution is to create a page “footer” and include it using custom template function.
But I am wondering if there is a better way to do it, without requiring custom coding.
As an example, in the footer of this page you have the text statement
“WordPress is a trademark of the WordPress Foundation, registered in
the US and other countries. This site is not affiliated with the
WordPress Foundation in any way.”
How do you make them editable by normal wordpress user?