I added HTML banners to the top of certain pages on a client's site. He wants to make edits to the text phrases on these banners without having to edit any HTML. How do I open this up for him?
In the past, I have simply made a collection of pages that I insert into my HTML banners using the following code:
<div class="banner-top">
<h1><?php echo $about_us_phrase->post_title; ?></h1>
<p><?php echo apply_filters( 'the_content', $about_us_phrase->post_content ); ?></p>
</div>
But this feels hackish, especially because it forces the client to swim through a potentially large number of pages to find the one that corresponds to the text they'd like to edit.
What is the most Wordpress-y way to do this?