4 options
Wordpress 2.8 themes cookbook : over 100 simple but incredibly effective recipes for creating powerful, custom wordpress themes / Lee Jordan, Nick Ohrn.
- Format:
- Book
- Author/Creator:
- Jordan, Lee.
- Language:
- English
- Subjects (All):
- WordPress (Electronic resource).
- Blogs.
- Web site development.
- Physical Description:
- 1 online resource (313 pages)
- Edition:
- 1st ed.
- Place of Publication:
- Birmingham, U.K. : Packt Open Source, 2010.
- Language Note:
- English
- Summary:
- Over 100 simple but incredibly effective recipes for creating powerful, custom WordPress themes
- Contents:
- 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
- Creating an archives page template
- Notes:
- Includes index.
- ISBN:
- 9786612663581
- 9781282663589
- 1282663585
- 9781847198457
- 1847198457
- OCLC:
- 796383652
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.