Would you like to know how to use Masonry in WordPress? This article will show you the basics of getting it set up in your development project. The best thing about using Masonry in WordPress is that it is actually built into the core of WordPress. So we don’t actually have to do very much work to get it working. Good thinking WordPress!
We have finally come to the conclusion of the Let’s Build A WordPress Theme From Scratch tutorial series. The final file I want to mention is literally the most important file. “Why?”, you ask. Well it’s because in WordPress you only need two files to start a theme, and those two files are a template file (index.php, home.php, or front-page.php) and style.css.
WordCamp San Antonio 2015 is officially debuting to our great WordPress community. A group of passionate WordPress lovers/users got together and convinced the people at WordCamp to allow us to have this world-wide event here in our great city. I happen to be one of those lovers/users and was able to be on the organizing committee and lend my design and development skills to benefit the team. This means I was able to create the first-ever WordCamp San Antonio logo and I am super honored and proud!
Functions.php is finally here on Let’s Build A WordPress Theme from scratch! Your functions template file in WordPress is really the engine behind your theme. It controls a lot of specific functions that you website will require to run, and for you to be able to better take control of it. The functions file is really limitless. You can go out and look for WordPress code snippets and 90% of those snippets will tell you to put them in the functions.php file. Because of this fact, I will only be covering generic functions that you can use to run your WordPress website.
WebTegrity’s WordPress Theme Development courses are taking off like a rocket! Spots are filling up left and right and we are getting ready to get everything up and running. This video explains our full 16 week course a little bit more in-depth. If you think you would benefit from learning WordPress or you have always wanted to become a coder and learn WordPress theme development, check out the Web360 program.
I also have a big announcement coming soon about WordPress and the San Antonio Community. We have been busy planning and setting up for a ‘first’ to hit SATX and we can’t wait to share it!
Moving right along in our eighth installment of the Let’s Build A WordPress Theme From Scratch tutorial series, we are going to be learning about the footer.php template file. This is a very important file, much like it’s counterpart header.php, because it repeats on every page. Plus it is the end of your document and the final thing viewers will see when they scroll to reach the bottom of the page. This is the last impression of your website to your audience so it is crucial that you put some good cross marketing, social media links, or additional calls to action so that people don’t just leave your website at that point. For example in my footer I have a subscription area because I would like people to subscribe if they have enjoyed the content (hint hint). Then I have some additional information and links to contact me. Other than what you see on the surface, the footer.php file will hold some really important functionality that we need to discuss. Let’s get to it!
If you have ever been interested in designing, developing, and optimizing websites for a living, you need to come learn WordPress in San Antonio. I have partnered with WebTegrity to be one of their lead instructors teaching a brand new WP course called Web360.
Today we are going to learn about Category.php and Tag.php as we continue this Let’s Build A WordPress Theme From Scratch tutorial series. This will be a fairly short and simply tutorial because these two template files are very straight forward. As I am sure you know by now, WordPress allows you to add categories and tags onto posts. I have already shown you how to display those on the home.php template and the single.php template. If you are actually building along with this WordPress theme tutorial you probably noticed that categories and tags are links. When you click on a specific tag or category they display all the posts that are within that specific category or tag. I’m sure you can see what is coming next.
Sidebar.php is the next template file we will learn in our Let’s Build A WordPress Theme From Scratch tutorial series. As I am sure you have guessed from the name of the file, it handles the code that displays the content of your sidebar. Sidebars have been a common structural element in websites for years. Really anything can go in a sidebar but I prefer to “widgetize” my sidebars so that the user/client can dynamically include/change what displays. Widgets come standard with any WordPress install and give you the ability to drag and drop mini-plugins into your website and have certain things happen: like maybe a contact form or a dynamic list of categories. These can also be extended by searching the plugins section of WordPress to find more. When you build a WordPress theme you should always think about what type of functions you might want or need and go out and research plugins that might accomplish your needs. Once you have all of the widgets you want…you need to have a “widgetized” area ready to drag those widgets into so they display on your website. We are going to talk about how sidebars work in WordPress and how we can create these widget areas so they can be used throughout your build.
In today’s Let’s Build A WordPress Theme From Scratch tutorial we are going to go back and look at the blog and work with single.php. We talked about home.php in my second article in this series and how it controls/displays your most recent posts. When you come to wpdevsolutions.com, the landing page of my website displays the most recent articles I have written. This means that I am using home.php to display those posts. You have now clicked into this article and can now read the full tutorial. You are currently on single.php! It contains a lot of the same information we have seen in other php files but I will show you how we have to change up the code just a little in order to show the full content and a few helpful items you should include on a single.php file. Let’s look at the code from my theme from scratch example.