Yesterday, StudioPress released version 2.0 of its Minimum theme – a Genesis child theme, of course. As the version number implies, Minimum 2.0 has a predecessor: Minimum 1.0. StudioPress is currently updating a great deal of its child themes.
The main goal of this operation is adding mobile responsive design to its themes. In some cases the design of the child theme also gets a makeover to give it a more contemporary look and feel. Recent examples of such revamped themes are Going Green, Outreach, and – the yesterday released – Minimum.
Personally, I definitely like the clean and minimal design of the Minimum child theme. In addition, all pages now display a call-to-action to subscribe. Because of these two qualities, I am considering Minimum for one of my projects.
What the theme does not offer out-of-the box is a graphical way to add a subscribe link. In order to supply the different page types with our own subscribe link, we have to manually edit the theme’s page-title.php file with a plain text editor.
Examples of such an editor are Windows Notepad or the free alternative Notepad++. On Linux you might use gedit (GNOME) or Kate (KDE).
Basically, the page-title.php file includes six variations of the following line of code:
echo '<div id="page-title"><div class="wrap"><p>'
. esc_html( get_bloginfo( 'description' ) )
. '<a href="#">' . __( 'Subscribe Now', 'minimum' )
. '</a></p></div></div>';
Are you wondering why there are six versions of this code? Since five page types get a slightly different text next to the [Subscribe Now] button. These five are:
- home – WordPress tagline
- 404 – Ooops!
- portfolio archives and single post – From the portfolio
- pages – WordPress tagline
- blog – From the blog
The blog page type includes authors, archives, categories, search, tags, and single blog posts. The sixth version is for any remaining page types, which will display the WordPress tagline too.
Here at wilwebs.com we use Google’s Feedburner for our subscriber list. What we need to do, is replace this part in the code above
href="#"
with our own Feedburner subscription link:
href="http://feedburner.google.com/fb/a/mailverify?uri=wilwebs"
This approach has a downside, though. When a visitor hits the [Subscribe Now] button, he is directed to a subscription form on the Feedburner site. Hence, he leaves our site. Will he come back after the completion of the subscription process?

(click to enlarge)
A better solution would be offering the subscription form in a pop-up window, so that he does not have to leave or site to subscribe to our list. We can achieve this by adding a little JavaScript. When this scares you, it is really easy and can be completed in two simple steps.
Step #1 Adding JavaScript to the Page Headers
What we have to do first is copy some JavaScript and paste it in the wp_head() text block of the Genesis Theme Settings. This is the first text area of the Header and Footer Scripts box – usually at the bottom of the theme panel. Here is the code:
<script language="javascript" type="text/javascript">
<!--
function feedpopup(url) {
newwindow=window.open(url,'name','height=475,width=600');
if (window.focus) {newwindow.focus()}
return false;
}
// -->>
</script>
That is phase #1. This code will facilitate the JavaScript code that we are going to add to the page -title.php in the step number two. It will open a 450×600 popup window when the function feedpopup is called.
Step#2 Updating the File page-title.php
In this phase we are going to replace the six occurrences of
href="#"
in the page-title.php with
href="http://feedburner.google.com/fb/a/mailverify?uri=wilwebs"
target="_blank" onclick="return
feedpopup(\'http://feedburner.google.com/fb/a/mailverify?
uri=wilwebs\');"
Please note that there should not be a space between the ? and uri.
This new code contains three parts. What we are doing here is:
1. replacing the # with our own Feedburner subscribe link
2. adding target=”_blank” for users who have disabled JavaScript
3. opening a popup when JavaScript is enabled
We are offering here two scenarios when a visitor hits the [Subscribe Now] button. When JavaScript is enabled, the subscribe form is presented in a pop-up on top of our webpage. After having subscribed, our new subscriber will close the pop-up and return to our webpage.
In case JavaScript is disabled, the subscription form is opened in a new tab. After completing the subscription form, it is not such a big deal when the visitor closes that page, since he still has a change to return to our website.
Are you interested in a review of the StudioPress Minimum child theme? This morning, I have posted one over at Theming WP.

Hi Wil
Came over from Studiopress blog via your comment.
Love the tuitorial and might use it if I go with Minimum on one of my sites.
You were pretty quick to get this one out – well done.
Hi Keith, thanks. It is great to have you over here. Like you, I like to share my experiences – especially those with Genesis 😉
Do you know how to completely remove the subscribe button from the home page? I tried commenting out the button part of the code in the page title php, but I when I do that my home page only shows the header, menu, and image… nothing else.
I guess as you can tell, I don’t know a lot about html, php, or css. But I’m good at copy and paste. 🙂
Hi Brenda,
Just add this code at the bottom of the style.css:
.home .page-title-button {
display: none;
}
This will hide the button on the home page only. In order to hide the button on all page templates, just leave out the “.home”.
Thank you.