Skip to main content

Home/ Wordpress/ Group items tagged wp-custom-post-types

Rss Feed Group items tagged

Vernon Fowler

Post Types « WordPress Codex - 1 views

  • it is better if you prefix your identifier with a short namespace that identifies your plugin, theme or website that implements the custom post type. For example: acme_product or aw_product for products post type used by a hypothetical ACMEWidgets.com website
  • Namespacing your custom post type identifier will not guarantee against conflicts but will certainly minimize their likelihood.
  • Do pay close attention to not having your custom post type identifier exceed 20 characters though, as the post_type column in the database is currently a VARCHAR field of that length.
  • ...6 more annotations...
  • register_post_type( 'acme_product', array( 'labels' => array( 'name' => __( 'Products' ), 'singular_name' => __( 'Product' ) ), 'public' => true, 'has_archive' => true, ) );
  • When you namespace a custom post type identifier and still want to use a clean URL structure, you need to set the rewrite argument of the register_post_type() function. For example, assuming the ACME Widgets example from above:
  • 'rewrite' => array('slug' => 'products'),
  • Note: In some cases, the permalink structure must be updated in order for the new template files to be accessed when viewing posts of a custom post type.
  • single posts of a custom post type will use single-{post_type}.php and their archives will use archive-{post_type}.php where {post_type} is the $post_type argument of the register_post_type() function.
  • In any template file of the WordPress theme system, you can also create new queries to display posts from a specific post type. This is done via the post_type argument of the WP_Query object.
Luciano Ferrer

12 Most Useful Tricks for Custom Post Types in WordPress - 0 views

  •  
    "12 Most Useful WordPress Custom Post Types Tutorials WordPress allows you to create your own custom content types. These content types are called custom post types. You can use them to add custom content like products, reviews, recipes, etc. In this article, we will share the 12 most useful WordPress custom post types tutorials. "
Vernon Fowler

Types Plugin - WordPress Custom Post Types and Custom Fields - 4 views

  • Types Plugin – Custom Post Types, Taxonomies and Custom Fields Types is the integrated solution for customizing WordPress. You’ll be able to create custom post types, taxonomy and custom fields – all from within the WordPress GUI.
John Pratt

How to Create Custom Post Types in WordPress - 6 views

  •  
    all about custom posts types and how to create post types, custom taxonomies, and display them by hacking your WordPress theme
Philipp Stracker

How To Create Custom Post Meta Boxes In WordPress - 0 views

  • Since you only want your post meta box to appear on the post editor screen in the admin, you’ll use the load-post.php and load-post-new.php hooks to initialize your meta box code
  •  
    Simple steps to add a custom meta-box to default WordPress post-types
Anna Johansson

Extend WordPress With Custom Fields - Smashing Magazine - 8 views

  •  
    By Alex Denning at Smashing Magazine on April 29, 2010. How did Wordpress evolve so quickly? Custom fields, that's how.
william x

Pods CMS - 2 views

  •  
    Wordpress evolved. Pods lets you create, manage, and display custom content types using WordPress. Like Dupal CCK, these content types can relate to one another, allowing for sites packed with interconnectedness.
  •  
    Pods is a CMS framework for WordPress. It's a plugin that sits on top of WordPress, allowing you to add and display your own content types. These content types, or "pods", are totally separate from Posts, Pages, or Custom Fields. The Pods plugin uses its own database structure for maximum efficiency, and for relationships among items.
  •  
    create and customize tables with templates and roles for wordpress
Luciano Ferrer

WordPress › WP Author Box Lite « WordPress Plugins - 0 views

  •  
    "Awesome Author box that you'll fall inlove with! Give identity to your blog posts, pages and custom post types! Author Box Lite creates responsive profile and latest posts box to increase reader engagement. This also automatically add google+ profile authorship."
anonymous

WP Slick Slider - 0 views

  •  
    Utilising the power of custom post types and Custom meta boxes, adds a powerful and customisable slider to your wordpress site.
anonymous

WP Coda Slider - 0 views

  •  
    Add a jQuery Coda Slider in no conflict mode to any WordPress page, post or custom post type using shortcodes or template tags.
Vernon Fowler

A Guide to WordPress Custom Post Types: Creation, Display and Meta Boxes | Wptuts+ - 0 views

  • 'menu_icon' => plugins_url( 'images/image.png', __FILE__ ) displays the admin menu icon.
  • Save a 16×16 pixel icon image in your current plugin folder.
1 - 19 of 19
Showing 20 items per page