How do you create a re-useable HTML fragment in wordpress

Question

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?

0
, , , , Yoga 9 years 2013-08-07T12:01:52-05:00 0 Answers 104 views 0

Leave an answer

Browse
Browse