As most of my readers are aware, I co-authored Professional WordPress Plugin Development with Brad Williams and Ozh Richard. We decided against making a dedicated Web site for the book because it would eat into our time doing cool stuff with WordPress. Instead, we decided to market the book through our own sites and communities we’re involved in.
I wanted to do something special on this site for the book. Our decision provided a great opportunity for me to apply a couple of chapters from the book in a real-world scenario.
In this post, I’ll cover how I created a product page for Pro WP Plugin Development. This was my first real step into this area of Web design, so this is just as much as learning experience for me as it will be for you.
The rules
Before designing the page, I had a few restrictions I wanted to enforce. These rules were put in place to make creating and updating the product page as simple as possible. Basically, I didn’t want to set myself up for a ton of work in the future.
- The HTML for my regular WordPress theme header and footer must be used. Any custom HTML can only be located within the post content.
- I could not use a custom page template as this might require future updating if I changed themes.
- Book testimonials and reviews must be easy to update when I wanted to add new ones.
- The URL for the page must be short and easy to remember. You know, so folks can easily share it via Twitter.
Creating the design
I cracked open my copy of Photoshop and went to work. The tough part was fitting tons of information onto a single page in an easy-to-absorb manner. It’s easy to go overboard, but I had to limit myself to selling the product. I decided on a three-column design that worked out well for the information I wanted to have on the page.
I won’t walk you through the steps of laying out a page in Photoshop, but I will provide you with a few tips I learned along the way while designing the page.
- What are you selling? Make sure actually tell the reader what the product is. Yes, this seems like a no-brainer, but I saw several product pages while researching that didn’t tell me anything about the product.
- Call to action: The call to action should be noticeable. I created a big, orange “Buy Now” button. I’m hoping that grabs a few people’s attention.
- Screenshot: Provide a screenshot of the product. This is the first thing I placed on the page.
- Options: Give the buyer some options if you can. I listed several prominent online stores to purchase the book.
- Product feedback: Provide user feedback. I used a combination of testimonials and photos that people have shared.
- KISS: Keep the main information short and sweet. I wrote a couple of short paragraphs about the book near the top of the page. I added more detailed information later for readers that wanted to know more.
A marketing expert could probably provide 1,001 techniques that are better than this, but I wanted my page to represent my personal style and what I think a good product page would look like.
Creating the page in WordPress
Once I finished mocking up the initial design in Photoshop, I had to create the page on the site. Remember, I had a few rules I was forcing myself to follow, so I had to think outside the box a little.
The first step was to create the HTML and CSS for the page. The HTML was simply added to the WordPress post editor.

Since I wasn’t creating a custom template, I needed a way to disable my sidebar. Luckily, the Hybrid Core framework (used here and in all my themes) provides a feature called “Theme Layouts.” This feature allowed me to select a one-column layout for the page, disabling my sidebar. With a quick click of the mouse from the post editing screen, it was taken care of.
I needed my CSS to load only on the product page. Therefore, I needed to replace my normal theme’s style.css file with a custom one. Once again, the Hybrid Core framework came to the rescue with its “Post Stylesheets” feature, which allowed me to simply type the name of the custom stylesheet while on the post editing screen.
That’s all there was to creating the page. The custom HTML was handled entirely in the post editor, which required nothing more than a few <div> elements for the columns.
Making use of the product

I did mention that I used some techniques from the book, right? I used two features that had entire chapters dedicated to them.
- Chapter 6: Extending Posts: I created a custom post type called
testimonialto allow me to easily add new testimonials. I also added thepost_tagtaxonomy to it and made use of a custom metadata. I managed to use all three major sections of the chapter: post types, taxonomies, and metadata. - Chapter 10: The Shortcode API: I created a custom shortcode called
[testimonials-plugindevbook], which displays 10 random testimonials tagged with “Pro WP Plugin Development.”
My product page was done
I’m sure many of you were looking for a full-blown code tutorial, but I wanted to share my experience with you rather than a bunch of code. I wanted to provide a look at the other side of the development process that I go through every day: planning. The code is the easy part. The tough part is laying out the structure of the entire project.
I hope this article gives you a few ideas for your upcoming projects. Feel free to leave your experiences about product-page design in the comments.

The same technique can be used to add a splash page to a site.
Yes, it can definitely be used for that. I have a number of different page type ideas in my head that it would be useful for.
I have to create a product page for my current project, and this article just came in time. Really helpful article.
I’m glad I could be of help. Let us know how your product page turns out when you’re finished with it.
How do I set up Hybrid to allow the type of Layout and stylesheet selections you describe? I’ve tried adding
but clearly there’s something else required. Could you point me in the right direction?
I’m building a child theme from Hybrid 0.9
The Hybrid theme doesn’t support this feature by default. If you need help with it though, post any questions you have over on the support forums.
I use 1shoppingcart and I am struggling with the creation of a sales page. Unfortunately I am not a coder and cannot use Photoshop. I would love to see you go in-depth with this process. I believe that you are the first to even approach this.
Thanks.
I wish I had the time to write a complete, in-depth tutorial on the entire process. However, that would take a good eight hours or so.
Very interesting post, and I like how deliciously meta it is: how you used stuff from the book to make a page about the book
Good job!
I started to use Chapter 12 to add in some JavaScripty goodness, but I decided to leave well enough alone.
hey, my question is may be out of your article but i am finding answer of my question from along time.
I have a photoshop template and want to turn it in to wordpress template, any idea? Shortest way is what i want.
That’ll take a bit more of an explanation than I can provide here in the comments, probably a series of tutorials.
Great!
Finally I found this helpful article..
Now I know how to sell my product..lol
Thank You Justin..
Also it’s nice to see how you created a post on your site to subtly promote the page about the book and the book itself, by leaving some of the meaty stuff we’re looking for out of it, and pointing to the book’s content.
At least it’s working on me!
Nice work Justin, thanks for always sharing so much with us
Great post! I wanted to create a product page for my beskatning udlejning services but there were no specific step-by-step instructions on how to go about this. I will look for your book, seems to have a lot of information I could use for my future projects.
Thanks for this useful post.
Great post Justin… It is really informative… I really learned a lot… Thanks for sharing…
You’re right, I spend about twice as much time in mockup (sometimes use Pages instead of Photoshop) as actually coding or writing content (if it is hardcopy or pdf).
I hope your book doesn’t get lost in the review spam on Amazon etc – you wouldn’t believe the dodgy rubbish that can now get 50+ five star reviews and is so, so poor.
Justin, great post and keep it up =) Very helpful
I wish I could be a developer too .. but it seems that the job requires a lot of focus and time: (
Justin good article, I try to see, and if this is not burdensome at the time of page load?
same with @ Mack comment, I also had tried to use shoppingcart several times and the results are not satisfied because I have not fully advanced coding or PHP to create sales pages. So can you explain the steps more deeply?
Thank you.
I have a online shop and now still in still maintenance. Using plugin that have made in wp. But this is good, i have to try this..
This is a great article. Thanks for the advices.
WordPress is easy to handle but most of the time we need tips and trick thanks for the post now i can make pages for my blog
Thnx for this article justin,now i can make product page on wordpress.
by the way can you make article about how to make a page on wordpress through which users can send messages to mobile phones?
This has inspired a few great ideas for my next wordpress. I am a big fan of wordpress and always will be!
Great article. I’m still getting to grips with Wordpress and spend most of my evenings scouring the net for good advice on getting the most out of it.
It’s a grea bit of kit and I’d like to know how to build a product page thats is easy for the total novice to do.
Justin, thanks for the post! I’m just beginning to learn WP myself and am thrilled at how easy it is to create a beautiful website.
I was looking for this Posting it’s very use full for me and thanks for this posting..
tx for the post Justin but, more to the point …
** thank you very much, and to Brad and Ozh, for the book. **
It’s not often sat idly on the shelf yet, but rather is being heavily thumbed.
totally cracking m8