Å·±¦ÓéÀÖ

Jump to ratings and reviews
Rate this book

Smashing WordPress: Beyond the Blog

Rate this book
GO BEYOND THE BLOG Smashing WordPress shows you how to utilize the power of the WordPress platform, and provides a creative spark to help you build WordPress-powered sites that go beyond the obvious. You will learn the core concepts used to build just about anything in WordPress, resulting in fast deployments and greater design flexibility. Inside, WordPress expert Thord Daniel Hedengren takes you beyond the blog and shows you how WordPress can serve as a CMS, a photo gallery, an e-commerce site, and more. YOU WILL

322 pages, Paperback

First published January 1, 2010

23 people are currently reading
245 people want to read

About the author

Thord D. Hedengren

16Ìýbooks6Ìýfollowers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
67 (27%)
4 stars
86 (34%)
3 stars
67 (27%)
2 stars
22 (8%)
1 star
5 (2%)
Displaying 1 - 22 of 23 reviews
Profile Image for C.
1,211 reviews1,024 followers
September 16, 2013
This book is mostly a how-to guide for creating WordPress themes and plugins, and generally bending WordPress to your will.

The book is laid out well, with colored blocks of code interspersed with the text describing it. It could have used more screenshots and diagrams to demonstrate what the code snippets were doing.

I read the first edition in 2010, then read the second (2011) edition in 2013. By that time the second edition was somewhat dated, but still contained some good info. Below are my notes.

Localization
Wrap code in __() within PHP code, and in _e() pretty much anywhere. __() is a return statement, and _e() is an echo statement. To use these, pass the text/code first, then the textdomain. For example, where notesblog is the textdomain, use

<?php _e('This text can be localized, mate!', 'notesblog'); ?>

Anatomy of a WordPress Plugin
� You can remove actions and filters with remove_action() and remove_filter(). These can be used for third-party hooks ore core hooks.
� You can use to overwrite core functionality, but do so with caution.
� Store small amounts of plugin data and theme options data in wp_options. Don't store too much data there; put larger amounts in its own table.
� Plugins should include an uninstall.php that uses delete_option() to clean up the database.

Plugins or functions.php?
For minor changes, use template files. For functionality unique to the theme, use functions.php. For all else, use plugins.

WordPress security
� Remove add_action('wp_head', 'wp_generator'); from header.php.
� Use an editor account to post.
� Force SSL encryption on the WordPress admin login page.

Plugins
Content


Media
�
�

Administrative
�
�
�
� or
�
�
�
�
�

Comment management
�
� or

Social networking
� or
�

Subscription


Code and output
�
�
�
Profile Image for Dhuaine.
208 reviews29 followers
June 4, 2012
Excellent book on Wordpress. Very technical, with tons of code and more advanced examples than what seems to be the standard technical book fare. Theming tutorials I've read in the past didn't go into such detail; I also learned about a few more obscure ways to use Wordpress. Great resource for someone who's into Wordpress coding, but may be too dry for others.
42 reviews
April 24, 2024
Engaging book, packed with interesting content. It was quite easy to get through. I utilized it while designing the website
Profile Image for C.
1,211 reviews1,024 followers
July 2, 2016
This book is for the experienced designer, not the beginner. Although it does touch on some WordPress essentials, it's mostly a how-to guide for creating WordPress themes and plugins, and generally bending WordPress to your will.

The book is laid out well, with colored blocks of code interspersed with the text describing it. There are very few screenshots and diagrams; more of these would have definitely helped me better understand what the code snippets were actually doing.

Notes
WordPress security
Add Secret Keys to wp-config.php
Remove add_action('wp_head', 'wp_generator'); from header.php
Create a new user with admin privileges and delete the default admin
Use an editor account to post
Force SSL encryption on the WordPress admin login page

Design and development
Put functions in functions.php rather than modifying template files to make your changes theme-independent.
Use plugins for everything that extends WordPress functionality. Use plugins instead of custom code whenever possible.
Use functions.php for functionality unique to the theme
Use Pages to work outside WordPress, for external services, feeds, etc.

Use categories for broad sorting, like Music or Books, and use tags like search keywords (author, genre, title)
Use to let users submit posts without logging into the admin panel
External code can slow your site; only include it when necessary
Put social bookmarking links between content and comments
Use Facebook Connect or for unified logins

Feeds
Promote feeds with links and RSS graphics
Provide full posts in feeds, not just excerpts
Offer alternative subscription methods, such as email
Use

SEO
Use tags
Generate a sitemap with
Link to related posts (use a plugin to generate)
Use breadcrumbs; see the plugin

Portfolio
1. Your work show graphically (not just links)
2. Sell yourself; services offered, who you are, what you're like to work with
3. Easy way to contact you
Add a blog to bring traffic to your portfolio

Plugins
Content



Administrative




or



Comment management

or

Social networking
or


Subscription


SEO



Profile Image for Angela Risner.
334 reviews19 followers
July 26, 2014
I switched from Blogger to WordPress in 2006/2007. I wish that this book would have been around then, as I would have loved to have been able to tweak my blog on my own. As it was, I ended up hiring someone to create a theme for me, which wasn't cheap, and it was a disaster as I couldn't then make any updates on my own. This book would have helped me to close those gaps and allowed me to create the look I wanted to achieve.

This book makes me want to go back to WordPress and try my hand at creating a great space again, though right now I'm delving into Squarespace and learning about that.

Highly recommend.

© Angela Risner 2014. Unauthorized use and/or duplication of this material without express and written permission from Å·±¦ÓéÀÖ or Angela Risner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Angela Risner with appropriate and specific direction to the original content.
Profile Image for C.
1,211 reviews1,024 followers
September 10, 2021
This is a useful guide for intermediate to advanced WordPress developers. It covers theme development, plugin development, and customizing sites for various uses. It has clear examples, code snippets, and color screenshots.

Notes
Drop-in plugins overwrite core functionality. Example: advanced-cache.php.

Use plugins rather than functions.php in most cases. Only use functions.php for functionality that’s unique to theme (such as layout settings or theme options). Don’t use functions.php for anything that controls output of content.

The comes with a role editor, ability to hide parts of admin UI, and can help build a membership site.

The is a good for most lightbox purposes.

The makes pages print-friendly.
Profile Image for Andy Gibb.
AuthorÌý1 book2 followers
March 8, 2012
Between the welter of Idiots, Dummies and Beginners guides, and the few reference books (or Bibles) it's hard to find something for those who want to know more than the basics. This could have been it for WordPress but, having struggled past Part II, I reluctantly have to say it's a mess. Ideas and concepts are strung throughout the text and I've spent more time referring back than actually reading forward. It doesn't help that raw wodges of code are repeated and you have to extract the point of them from their detail. It also didn't help that what looked like text markup language escaped into the printed version.

But I'm an programmer (and you'd need to be to get through this) and I've persisted to the end. The 25 quid did point me in the right direction to fix one bug on my blog, so... worth it for that alone.
Profile Image for Katya Kean.
97 reviews59 followers
September 9, 2014
It feels as if English isn't the author's first language. The grammar and spelling is technically correct and obviously intelligent and informed, but the feel of it seems "off" somehow, and it makes this subtly less readable. English isn't just about rules of grammar, it's about a customary way of using it.
I find that if I read the words in a Swedish accent in my head, it actually helps my comprehension.
Profile Image for Kelly.
12 reviews
September 12, 2011
I am setting up a custom theme for Wordpress and this book, along with his one on themes, really helped me understand it better than many of the online resources I have been using. I am heavily weighted towards the design side of things in terms of website development and this book helped by giving me a more visual way of learning the ins and outs of Wordpress themes and Wordpress structure.
Profile Image for darío hereñú.
112 reviews13 followers
February 25, 2012
For the geek inside of me... the book, the method, the explanations, the raison d´etre, it was ok. Technically, correct.
With lots of data, examples, and some hacks or tricks (choose the word that you like it) to rule this CMS.
Smashing Magazine does it again... in my humble opinion.
A healthy habit...
Profile Image for Beau Daignault.
47 reviews
August 5, 2013
There seems to be some typos or mistakes in the code examples of this Kindle edition.
This didn't really become evident to me until I began working with the actual code exercises in chapters 4 & 5.
While I like Mr. Hedengren's writing style, I feel as if I'd wasted a bit of time with the book.

I would like to see more rigorous technical editing in the forthcoming 4th edition.
Profile Image for Christine Leiser.
45 reviews4 followers
September 13, 2010
Terrific book that really breaks down WordPress and just how useful a content management system it is. Covers basics to advanced, plugins, theme creation. Very well written, easy conversational style. Beautifully done. A must for any WordPress enthusiast.
Profile Image for Jason Jacobs.
9 reviews1 follower
February 13, 2014
Useful as a reference. I found some good information/tips and helpful explanations. If the WordPress codex explanations start making my head tired, I'll consult this for a simplified explanation. Have encountered some outdated info.
6 reviews1 follower
August 20, 2013
Must-read to learn the nuts and bolts of the wordpress framework plus provides the basics of how to extend and use wordpress not just for blogging but as the cms of choice for small to medium websites.
7 reviews8 followers
March 28, 2011
Most of this information is available with a Google search. That being said, there are a few snippets which were useful. This is a great start for anyone wanting to learn WordPress templating.
Profile Image for Dwayne.
9 reviews
February 19, 2013
Pretty good, covered much of what I was looking for, which were some fundamentals but also more intermediate questions.
The more I read the more I learn.
Profile Image for Jim.
20 reviews2 followers
November 5, 2017
Good, as far as it goes. Well organized and easy to follow. This is for the first baby steps of coding WP, beyond just downloading and installing it.
Profile Image for Matt Neputin.
AuthorÌý2 books11 followers
April 24, 2011
I've read through a LOT of books about wordpress, and this one is by far the best.
Profile Image for Jc Harrington.
9 reviews3 followers
March 30, 2013
Great introduction to "the loop" for any WordPress developers out there.
Displaying 1 - 22 of 23 reviews

Can't find what you're looking for?

Get help and learn more about the design.