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

Adding feed links


WordPress automatically generates even the feed links that you see in the preceding screenshot, so you don't have to type them in or remember what they are for. If you're using an existing theme, there's a good chance it's already got the feed links in it, in which case you can skip the following section. If it doesn't, or if you want to learn more about adding feed links to your own templates, continue on here!

You can use handy built-in WordPress functions to add feeds to your theme. Actually, this is something we have partially done in the previous chapter. Just to remind you what I'm talking about, we used the following code to enable feed links in the <head> section of our custom theme. The following code was placed in the functions.php file of our theme:

functionckitchen_setup() {
  //Adds RSS feed links to <head> for posts and comments.
  add_theme_support('automatic-feed-links');
  
  /* other code */
}
add_action('after_setup_theme', 'ckitchen_setup'...