Book Image

WordPress and Flash 10x Cookbook

Book Image

WordPress and Flash 10x Cookbook

Overview of this book

WordPress is much more than just a blogging platform now. This flexible CMS is the power behind millions of URLs, including blue-chip companies, small business, and personal websites. Flash is a world-famous multimedia platform. This book will show you the best of the proven and popular strategies and techniques to deliver rich multimedia content, which will let you sail through the world of Flashy Wordpress with ease.This book will take you through clear well-formed and comprehensive recipes, through the most essential and useful Flash multimedia tools for Wordpress available today including plugins for images, audio and video, as well as projects you can do yourself in Flash. It helps you to create a Wordpress website full of Flash content. We show the big picture by providing context, best practices and strategies. Detailed instructions are provided for each section. This book provides you with the shortlist of the most essential Flash tools for creating a dynamic and media-rich website or blog, and shows you how to implement these on your site. The sections on Flash are intended to give you the option to create custom .swf files, giving you an alternative to plugins that already exist. The book will show you how to configure Flash content in your WordPress site/blog for maximum SEO, introduce Flash content to your Wordpress with and without plugins, import image feeds, use lightbox effects, and much more.
Table of Contents (17 chapters)
Wordpress and Flash 10x Cookbook
Credits
About the Authors
About the Reviewers
Preface
WordPress Resources
Flash Resources

Template tags


Finally, we arrive at the concept of template tags. These are bits of code, specific to WordPress, that insert information from your MySQL database.

Getting ready

Each tag has a default action. This action can be extended or modified with parameters. You don't need to know PHP to use template tags. In fact, template tags make it easy for people who are not PHP programmers to use the dynamic nature and functionality of PHP.

How to do it...

Let's break things down. Here's a common example: you want to display a list of your categories. Guess what? A template tag will dynamically spit out the list. Saving your time—since you do not need to type them out individually. You can also add categories or rename an existing category, and these changes will automatically be available throughout the live site. Pretty neat? Here is how it works:

<?php wp_list_categories(); ?>
  1. 1. Template tags need to be wrapped in PHP tags, so they must start with<?php and end with ?>. That's as...