Book Image

WordPress 3.7 Complete: Third Edition - Fourth Edition

Book Image

WordPress 3.7 Complete: Third Edition - Fourth Edition

Overview of this book

Back in the day, when you wanted to launch a new website, you either had to learn web programming yourself or hire a professional who would take care of the whole process for you. Those times are long gone due to WordPress and the great opportunities it brings. With WordPress, anyone can build an optimized site with the least amount of effort possible and then make it available to the world in no time. WordPress is a flexible and powerful tool that's ideal for creating both blog and non-blog websites. You can customize the features, incorporate your own design, and even write your own plugins with ease. Its versatility and ease of use have attracted a large, enthusiastic, and helpful community of users. "WordPress 3.7 Complete: Third Edition" is a practical guide for anyone who wants to start their journey as a web developer. This WordPress book takes you through a step-by-step process of planning out and then building your site. "WordPress 3.7 Complete: Third Edition" will take you through the complete process of building a fully functional WordPress site from scratch. You will learn how to create your first blog post, what the difference between posts and pages is, and how to use multimedia files to accompany your content and make it more attractive. Next, you will find out what plugins and themes are and how to use them effectively. "With WordPress 3.7 Complete: Third Edition" , you will learn all the ins and outs of WordPress and using it for publishing content on the Web. It provides easy-to-apply advice with tons of screenshots and actionable examples.
Table of Contents (19 chapters)
WordPress 3.7 Complete Third Edition
Credits
About the Authors
About the Reviewers
www.packtpub.com
Preface
Index

Enabling a menu in your theme


As of WordPress 3, users can now control more easily what appears in menus. Instead of having to show all the pages in the menu, you can choose to show a selection of pages, and/or categories, and/or other options (as we saw in Chapter 4, Pages, Menus, Media Library, and More).

The good news I have for you right now is that menus are already enabled in the structure of the theme we're creating here. Because we used the wp_nav_menu() function in the header of the site (in the file header.php), if the user creates a menu in Appearance | Menus and then assigns it to the area indicated as primary, it will show up in that spot. The same goes for the other menu area, footer_menu, which is placed in the footer.

If you want to have more than one navigation menu in your theme, you can register multiple navigation menu locations and let the user create multiple menus and choose which menu goes in which location. To learn more about that, check out this page of the codex...