Wordpress 2.8 themes cookbook : over 100 simple but incredibly effective recipes for creating powerful, custom wordpress themes /
"This easy-to-use step-by-step guide will help you create powerful themes for your WordPress web site, and solve your theme development problems in a quick and effective way. It enables you to take full control over your site's design and branding and make it look smarter. This book includ...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, U.K. :
Packt Open Source,
2010.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Authors; About the Reviewers; Table of Contents; Preface; Chapter 1: WordPress Theme Basics; Introduction; Finding documentation on WordPress.org; Downloading themes from the WordPress theme repository; Downloading themes from third-party websites; Installing and activating a theme; Displaying the blog name; Getting the absolute directory path of the active theme; Creating a theme from scratch; Creating a child theme; Creating a theme by using a theme framework; Adding expected WordPress hooks; Including PHP files from your theme
- Chapter 2: Creating NavigationIntroduction; Listing all of the pages that exist on a blog; Listing all of the categories defined for a blog; Listing all of the tags in use on a blog; Highlighting the current page in the navigation; Adding a search function to a theme; Getting the category page link from a category name; Displaying page links only if the destination page exists; Creating a category drop-down menu; Creating drop-downs using child pages; Chapter 3: The Loop; Introduction; Creating a basic Loop; Displaying ads after every third post; Removing posts in a particular category
- Removing posts with a particular tagHighlighting sticky posts; Creating multiple loops in a single template; Displaying only posts in a particular category; Styling every other post differently; Styling posts in a particular category differently; Showing every post in a category on a category archive page; Chapter 4: Template Tags; Introduction; Displaying the post title; Automatically limiting the number of words of content; Determining if the user is on a specific page; Determining if the user is viewing a post in a particular category; Displaying the post date for each post
- Highlighting search terms in post contentDisplaying login/logout links; Adding navigation through older/newer posts; Displaying an edit link for posts; Displaying custom field content; Displaying a post author's avatar; Chapter 5: Comments; Introduction; Displaying a comment form on a post; Displaying comments on a post; Displaying the latest comments on your blog; Highlighting the post author's comments; Alternating the style for comments; Displaying threaded comments properly; Chapter 6: Sidebars; Introduction; Using the Text widget for custom sidebar content
- Including a dynamic sidebar in your themeIncluding multiple dynamic sidebars in your theme; Setting the default widgets for a sidebar in your theme; Positioning multiple sidebars in your theme by using CSS; Styling the appearance of sidebars in your theme by using CSS; Displaying different widgets on different; pages by using the Widget Logic plugin and conditional tags; Showing asides in the sidebar by using the Miniposts plugin; Adding an interactive Facebook-style wall to a sidebar by using jQuery; Chapter 7: Custom Page Templates; Introduction; Creating a simple page template