Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
Advanced Custom Post Types
Next
Download to read offline and view in fullscreen.

1

Share

Download to read offline

Custom Post Types--Front End

Download to read offline

Learn how to use custom post types on the front end of your WordPress site.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Custom Post Types--Front End

  1. 1. Front End:Custom Post Types D o S o m e t h i n g U s e f u l
  2. 2. Staff Member PageCommonly RequestedNot easy for non-technical users to createPerfect situation forcustom post types
  3. 3. Option OneCreate a page templateBelow the loop run a query something like:
  4. 4. Build On ThisLet’s add a picture of the person:Let’s set how much of their bio we want on themain listing page:
  5. 5. Conditional Goodness Display a job title only if it exists.Looks to see if the custom field has a value. Ifit does, it displays that value.Can have multiple conditions and fallbacks.
  6. 6. Now We Can Tie In Our Fields
  7. 7. A Bit OF Style
  8. 8. Other CPTDisplay Options CPT archive is now available with 3.1 Works like category archive Call it archive-post-type-name.php Also single-post-type-name.php
  9. 9. About Bill Robbins@billrobbins on Twitterbillrobbinsdesign.comorganizedthemes.combill@billrobbinsdesign.com
  • felipepavao

    May. 10, 2012

Learn how to use custom post types on the front end of your WordPress site.

Views

Total views

4,554

On Slideshare

0

From embeds

0

Number of embeds

1,062

Actions

Downloads

20

Shares

0

Comments

0

Likes

1

×