Pippins Plugins
  • Email
  • Facebook
  • Feedburner
  • Github
  • Google
  • Twitter
  • Vimeo
  • Youtube
  • Rss
  • About
  • News
  • Join the Site
    • Member Benefits
    • Member Plugins
    • Email Notifications
  • Plugin Store
    • Affiliate Area
    • Checkout
  • Plugins
    • Plugin Portfolio
      • Plugin Portfolio – List View
    • Free
    • Premium
    • Member Plugins
    • Coding Standards
    • Get Plugin Support
  • Tutorials
    • Series
      • Plugin Development 101
      • Creating a User Follow System Plugin
      • Customizing Restrict Content Pro
      • Displaying Content with Easy Content Types
      • Writing Your First WordPress Plugins, Basic to Advanced
      • Working with Widgets
      • User Submitted Image Galleries
      • Plugin Thoughts
      • Integrating Stripe.com with WordPress
      • WordPress Rewrite API
    • Member Exclusive
      • Free Members
      • Subscriber Only
    • Difficulty
      • Beginner
      • Intermediate
      • Advanced
    • Action and Filter Hooks
    • Ajax
    • Custom Post Types
    • External APIs
    • Short Codes
    • Taxonomies
    • Video Tutorials
    • Widget Tutorials
    • WordPress Admin / Dashboard
    • Working with jQuery
    • WordPress Database
    • Writing Plugins
    • Tag Index
  • Reviews
  • Support Forum
  • Contact
    • Support the Site
    • Request Code Review
    • Plugin Support

Easy Content Types

ecpt-slide-image
Tweet
Love It - 26

Easy Content Types provides an extremely easy to use and intuitive interface for creating custom post types, taxonomies, and meta boxes.

This is the best custom post type plugin and will completely remove the difficult task of manually creating custom post types, taxonomies, and meta boxes.

Custom Post Types in Seconds

With Easy Content Types simple-to-use interface, you can create many different custom post types in just seconds. Simply choose the options you want enabled for your post type, enter a name and click “Add Post Type”. It’s that easy.

Custom post types make it exceptionally easy to create advanced organization schemes for your website. Have a movie or book review site? Place all of your reviews into a “Reviews” section, instead of a non-intuitive “reviews” category under Posts.

Custom Taxonomies to Organize and Sort Your Custom Post Types

Much like the built-in Categories and Tags, custom taxonomies allow you to define an organization within your custom post types. In just seconds you can add a “Genres” category to your movies or books review website and “categorize” all reviews into their correct Genres. It works just like the regular categories, but is so much better because you get to define the exact name your taxonomy uses.

Taxonomies can be used to organize the display of your content on the front-end of your website as well, they are not just for administration. This means that your website becomes much easier to navigate for your users!

Meta Boxes and Custom Post Meta Fields

Meta Boxes allow you to add additional information sections to your post editor. Going back to the reviews example, this means that you could easily have a section with fields for “author name”, “publication date”, “rating”, publisher”, etc. These fields can be created in just seconds and there are many types to choose from, including text inputs, drop down menus, radio buttons, check boxes, and more.

The custom meta fields can be used to display additional information, or used (if you’re a developer) to control aspects of your layout in your theme files. They are extremely powerful, and so simple to use.

For Developers and non Developers Alike

Easy Content Types has been built with developers and regular users both in mind, and has been optimized to be as easy to use as possible. It does everything for you, from registering the post types, setting up the menu icons, creating meta box fields, saving data, and even automatically creating theme template files (based off of existing theme files).

If you are not a developer, then you will love how much power and control this plugin gives you; if you are a developer, then you will absolutely fall in love with how Easy Content Types does all the heavy lifting for you. Forget about writing lines and lines of code to setup your post types, taxonomies, and meta boxes: Easy Content Types does it all for you.

Integrates perfectly with the WordPress Interface

Easy Content Types has been designed to fit perfectly into the core WordPress design. All aspects of the admin utilize stylesheets and other assets provide by WordPress core. This means that when WordPress’s UI is updated, so is Easy Content Types.

Because of how perfectly Easy Content Types fits into WordPress, you can include it in your client projects or in for-sale themes and your clients/users won’t even know it’s not part of WordPress core.

Testimonials

From PixelInPrint:

I want to add my voice as a testimony to Pippin. This is such a great Plugin which keeps getting better. What makes it truly awesome however is the support. If every dev were like Pippin life would be would be wonderful. So many ways to get in touch and unbelievably considerate and fast response to emails. You can buy this and other plugins from this guy with complete confidence! Thanks.

From kalelvz:

I wanted to leave a testimonial for this plugin. Not only is the plugin intuitive, Pippin has taken care to really consider users and make sure documentation is written out quite well. That’s a rarity with most devs I know, but Pippin is quite adept at it, with support in the form of a discussion board, tutorials and – gasp – actual emails that are responded to within an hour or so. I can’t speak enough of the support, it’s truly phenomenal, and well worth the nominal price of the plugin.

From coldfirepromotions:

This is not only a 5-star plugin with an incredible amount of utility and functionality, but the support deserves AT LEAST 5 -stars, too. It hasn’t been more than ~12 hours since I purchased this plugin and the author has already helped me solve an issue I was having. Big shout out to mordauk! If you’re thinking about purchasing this plugin, I can assure you it will be well worth the money spent!

Checkout Loading — Item successfully added to your cart.

Features

Custom Post Types

  • Easy to use interface
  • Register custom post types
  • Edit post types after creation
  • Control all post type attributes and support options
  • Automatically create theme template files for post types (based off of existing theme files)
  • Set the slug of custom post types
  • Support for advanced permalink structures
  • Query Posts Short Code included to list your custom post type entries anywhere
  • Export code for custom post types for use on sites without the plugin
  • Thorough documentation and explanation of post types

Custom Taxonomies

  • Easy to use interface
  • Register custom taxonomies
  • Edit taxonomies after creation
  • Control all taxonomy attributes and support options
  • Automatically create theme template files for taxonomies (based off of existing theme files)
  • Set the slug of custom taxonomies
  • Support for advanced permalink structures
  • Query Posts by custom taxonomy short code included to show posts from a taxonomy anywhere you want
  • Export code for custom taxonomies for use on sites without the plugin
  • Thorough documentation and explanation of taxonomies

Custom Meta Boxes

  • Easy to use interface
  • Register custom meta boxes
  • Edit meta boxes after creation
  • Complete meta box placement control
  • Choose the post type(s) that receives the meta box
  • Add unlimited fields to meta box
  • Drag and drop field ordering
  • 10 field types
    1. Text
    2. Textarea – with rich editor option
    3. Select
    4. Radio
    5. Checkbox
    6. Datepicker
    7. jQuery UI Slider
    8. File Upload
    9. Repeatable text input
    10. Repeatable upload field
  • Edit fields after creation
  • Add descriptions to fields
  • Automatic shortcodes for every field
  • Automatically display all meta fields
  • Export all meta boxes and fields

User Access Control

  • Control which user levels have access to the custom content type menu
  • Control which users can create custom post types
  • Control which users can create custom taxonomies
  • Control which users can create custom meta bxoes

Nothing is Hidden – Screenshots

01-screenshot
02-screenshot
03-screenshot
04-screenshot
05-screenshot
06-screenshot
07-screenshot
08-screenshot
09-screenshot
10-screenshot
11-screenshot
12-screenshot
13-screenshot
14-screenshot
15-screenshot
ecpt-slide-image

Video Demonstration

Requires WordPress 3.2+

Due to some of the advanced features of this plugin, version 3.2 or later of WordPress is required. If you are running an older version, then you should seriously consider upgrading so that you can take advantage of the new great features in WordPress 3.3, and Easy Content Types!

Tutorials on Advanced Usage of the Plugin

For additional help in using this plugin, please refer to the Displaying Content with Easy Content Types tutorial series.

Create Your Own Custom Meta Field Types

Easy Content Types includes an easy-to-use API for registering custom field types. If you are a premium subscriber to this site, then you have immediate access to two in-depth tutorials I have produced on the subject:

Registering Custom Meta Field Types for Easy Content Types – learn about how to register your own custom meta field types.

Making a Simple Rating Field Type in Easy Content Types – follow an realistic example of a custom field type you might create.

Support

If you’re looking for technical support for this plugin, please use my dedicated support forum

Checkout Loading — Item successfully added to your cart.

Extensions for this Plugin

filter-preview
ECPT: Filter by Taxonomy Add-on
bonus-preview
ECPT: Bonus Meta Field Types Add-On

Related Items
  • Making a Simple Rating Field Type in Easy Content Types
  • Repeatable Upload Fields for Easy Content Types
  • Creating a Simple Events System with Easy Content Types
  • Registering Custom Meta Field Types for Easy Content Types
  • Controlling Page Layouts with Custom Meta Fields
  • ECPT: Filter by Taxonomy Add-on
  • ECPT: Bonus Meta Field Types Add-On
  • Using the Automatic Template Creation System in Easy Content Types
  • Automatically Displaying Meta Field Values in Easy Content Types
Tweet Follow @pippinsplugins
cpt, custom post type, easy content types, featured, meta box, metaboxes, post types, taxonomies, taxonomy

651 comments on “Easy Content Types”

Comment navigation

← Older Comments
  1. Matt says:
    May 15, 2013 at 4:23 pm

    Hi,

    I’ve used Easy Custom Content Types on multiple sites. It works great! But on one site I’m trying to setup WooCommerce. If I go to a product category page when Easy Custom Content Types is also active, it doesn’t list any products. If I disable Easy Custom Content Types it displays products.

    I really need to keep both plugins active. Do you know a way around this without having to export my settings from ECCT, pasting it in my theme’s functions.php file, uploading it, then deactivating ECCT? This makes future changes more difficult. Thanks.

    Reply
    • Pippin says:
      May 15, 2013 at 8:54 pm

      Go to Content Types > Settings and check the box for “Disable Taxonomy Archive Fix”.

  2. John Garner says:
    May 16, 2013 at 9:47 pm

    Hi there,

    Can you tell me if I can create a post type like a magazine page with several images that (given they are the right size) once uploaded can be placed in the template so for example, featured_image1 would be the header image and featured_image2 would appear to the left of the second paragraph etc. by using custom post types?

    Thanks

    Reply
    • Pippin says:
      May 17, 2013 at 1:03 pm

      Yes you can, though the actual layout you described is not created by the plugin. The plugin gives you the ability to create and store the data; it does not give you concise control over how it is displayed. That has to be done through your theme’s template files.

    • John Garner says:
      May 17, 2013 at 1:18 pm

      Thanks for the response, yes I realise that I would need to create a custom template and I got the impression that your plug-in would help build the code (custom type) that would be required to populate data for the custom template, is that correct?
      Hope these aren’t silly questions as this is a bit out of my depth. Also if you have a template that takes a set of featured_images ex 1 to 5 and uses them for a slideshow header would you be able to have them displayed 1 to 5 on the right hand side instead of the common single featured_image thumbnail?

      Sorry to pollute this with a different topic but do I understand correctly that you have a premium members area with training and tutorials? I’m really interested about only loading certain scripts and CSS styles on certain pages and types of pages. Is info on speeding things up like that included in the available content?

      Thanks

    • Luka says:
      May 17, 2013 at 1:27 pm

      Have you tried:
      http://wordpress.org/extend/plugins/css-javascript-toolbox/

    • Pippin says:
      May 17, 2013 at 2:17 pm

      My plugin manages the data storage. It includes examples of how to retrieve data in the documentation.

      You can do that with the images, but it has little to nothing to do with the plugin, simply because that’s not something controlled by ECPT.

      I do have several tutorials related to conditional script loading.

  3. John Garner says:
    May 17, 2013 at 5:29 pm

    Thanks Luka and Pippin,

    I’ll be signing up then for the courses then (and getting your plugin of course). I use the Genesis framework so Luka if the plugin does what it says without any CSS/Javascript conflicts then that sounds great!

    John

    Reply
  4. Bookmarks for May 18th from 21:47 to 22:06 | dekay.org says:
    May 18, 2013 at 5:00 pm

    [...] Easy Content Types, Custom Post Types, and Taxonomies for WordPress – [...]

    Reply
  5. Robert says:
    May 18, 2013 at 5:35 pm

    Pippin,
    I just went to codecanyon and realised your plugin has been taken off the site. What will happen to support for customers who have purchased through there?

    Reply
    • Pippin says:
      May 19, 2013 at 9:23 pm

      If you read up to some of the previous comments, you’ll see that all customers who purchased during 2012 or later can continue to get access to the plugin here on this site. When did you purchase it?

    • Robert says:
      May 20, 2013 at 5:20 am

      Hi Pippin,
      In answer to your question – purchased it last year 2012. So how does it work now with updates?

  6. Robert Khoo says:
    May 20, 2013 at 5:31 am

    My purchase code is 1249980e-3f2f-4a66-8242-5b2bc24ddec9
    As I mentioned, I purchased last year.
    Can it be added to my account?
    Thanks Pippin

    Reply
    • Pippin says:
      May 20, 2013 at 10:16 am

      Great, thank you. I’ve added the plugin to your account. You will have automatic updates in your WordPress dashboard. You can also download updates manually from your account page.

    • Robert Khoo says:
      May 20, 2013 at 5:46 pm

      Thanks Pippin. Are the updates for life or for a year starting now?

    • Pippin says:
      May 21, 2013 at 2:23 pm

      From now.

  7. Dave Navarro says:
    May 22, 2013 at 9:58 am

    I was able to create a Jobs List custom post type and widget on one of our web sites very quickly, thank you very much for a great plugin.

    It would be great if there was some kind of “Post Type Explorer” that allowed me to look at other custom post types. That would help me to create additional functionality for them. Not necessarily modifying a custom post type not managed by ECPT, just explore their structure and relationships.

    Also, I know that I can go into Export and copy the code into my own plugin, but it would be nice if it would just create a plugin with the necessary header data and such. Just let me fill out a form with the plugin name, contact info, etc.. and let me select which custom post type, which taxonomies, and which meta boxes I want in the plugin. Then I can copy and paste from a single source and not try to find what I want from 3 separate sources.

    I’d love a short code that generated a table of all the specified custom post types and info:
    [code][ ecpt_table pt="books" columns="title,author,price" links="title:post,price:ecpt_affiliatelink" header="Book Title,Author,Price" ][/code]

    Reply
    • Pippin says:
      May 26, 2013 at 8:41 pm

      Thanks for the suggestions, I will keep them in mind!

  8. Brad Dalton says:
    May 24, 2013 at 8:04 pm

    How do i get a copy of this plugin after buying it from Code Canyon. I cannot download it as it has been removed.

    I emailed you about this several weeks ago and haven’t heard back.

    Reply
    • Pippin says:
      May 26, 2013 at 8:39 pm

      Oh, sorry if I missed your email!

      I need your license certificate so that I can verify your purchase and also when you purchased it. All purchases in 2012/2013 are being added here, but not ones from 2011.

    • Brad Dalton says:
      June 3, 2013 at 12:09 am

      Licensor’s Author Username: mordauk
      Licensee: WP Sites

      For the item:
      Easy Custom Content Types for WordPress

      http://codecanyon.net/item/easy-custom-content-types-for-wordpress/234182
      Item ID: 234182

      Item Purchase Code: c1b1592e-a483-4326-ab0d-7c619e94642f

      Purchase Date: 2012-10-30 15:48:34 UTC

    • Pippin says:
      June 4, 2013 at 8:34 pm

      What is your username on this site?

  9. Shovan says:
    May 28, 2013 at 3:51 am

    Hi,

    why did you remove the plugin from codecanyon? Its making my life harder :/

    Can you register me to your site! I dont remember If I have register before
    Licensor’s Author Username: mordauk
    Item Purchase Code: f2294698-77f9-482d-a9a7-1bbbd8b62ca3
    Purchase Date: 2012-09-11 10:26:08 UTC

    Reply
    • Pippin says:
      May 28, 2013 at 8:36 am

      It’s just been moved to this site. You can register a username at http://pippinsplugins.com/join-the-site

  10. Marco van Wynbergen says:
    May 30, 2013 at 8:25 am

    Hi,

    Love the plugin. Works like a charm!

    Only this is not working for me. When I upload a picture the page shows me a link to the picture and not the actual picture. Take a look here

    Cheers

    Marco

    Reply
    • Pippin says:
      May 30, 2013 at 9:54 am

      How are you displaying the field? The short code?

    • Marco van Wynbergen says:
      May 30, 2013 at 10:10 am

      No not thru shortcode like you show in the tutorial on this page

    • Pippin says:
      May 30, 2013 at 3:43 pm

      With get_post_meta()?

    • Marco van Wynbergen says:
      May 31, 2013 at 8:17 am

      I don’t know! I worked out a post type for books with taxonomie “genre”. Just like your tutorial. Underneath this Genre I place different fields for fillin. One of them is Bookcover. There it goes wrong. Upload works just fine but it shows me “http://81.26.223.133/~hagen/boeken/jubelientje-en-sinterklaas/”. It is not showing the photo.

  11. Mostafa says:
    May 31, 2013 at 10:32 am

    Is there a way to make relationships between custom post types
    Like, Brands post type have many Cars
    On the basis that the brands and cars are custom post types

    Reply
    • Pippin says:
      May 31, 2013 at 5:07 pm

      Not by default, but the Post 2 Post plugin provides an excellent way to do this, and it works perfectly with Easy Content Types.

  12. MaxZiebell says:
    June 1, 2013 at 4:19 am

    Hello Pippin,

    I just wanted to redownload ECTP to finally use it on Codecanyon and it disappeard there.
    Is there some way/policy you have for us people that supported you on codecanyon?

    These are my broken purchases:

    ECPT: Filter by Taxonomy
    http://codecanyon.net/item/ecpt-filter-by-taxonomy/841355
    Item ID: 841355
    Item Purchase Code: 8d27e72d-5451-4017-abd9-17e95b5c7bdf

    –

    ECPT: Bonus Meta Field Types Add-On
    http://codecanyon.net/item/ecpt-bonus-meta-field-types-addon-/712383
    Item ID: 712383
    Item Purchase Code: 5f55db4c-2853-42f0-be24-de1538ca5b3d

    –

    Easy Custom Content Types for WordPress
    http://codecanyon.net/item/easy-custom-content-types-for-wordpress/234182
    Item ID: 234182
    Item Purchase Code: ca3f31bd-63ef-4e68-ac60-b450164e9d5d

    Best regards

    Max

    Reply
    • Pippin says:
      June 2, 2013 at 11:18 pm

      I can grant access to any purchase made during 2012 or 2013. When did you purchase them?

    • MaxZiebell says:
      June 3, 2013 at 2:09 am

      I purchased the Addons at Purchase Date: 2012-05-21 09:35:29 UTC
      and ECT at Purchase Date: 2012-05-20 15:02:11 UTC

    • Pippin says:
      June 4, 2013 at 6:58 pm

      Perfect. What is your username here?

    • MaxZiebell says:
      June 8, 2013 at 6:16 am

      It’s MaxZiebell.
      Hope this works now°

    • MaxZiebell says:
      June 8, 2013 at 6:17 am

      or do you mean on Codecanyon? there it’s flashrocket.

    • Pippin says:
      June 8, 2013 at 9:59 pm

      Got it! The plugin has been added to your account.

  13. Dorothy Lopez says:
    June 3, 2013 at 1:35 pm

    I am having trouble connecting with you but I need you to add my easy content types plugin to may account but none of my contact attempts have been answered can you please contact me?

    Reply
    • Pippin says:
      June 3, 2013 at 2:35 pm

      How have you been trying to contact me? I monitor the support forums every day.

  14. Dorothy Lopez says:
    June 3, 2013 at 1:52 pm

    For the item:
    Easy Custom Content Types for WordPress

    http://codecanyon.net/item/easy-custom-content-types-for-wordpress/234182
    Item ID: 234182

    Item Purchase Code: 6fdb400a-28af-4662-b738-0c8892dd1802

    Purchase Date: 2012-05-01 17:44:25 UTC

    Licensor’s Author Username: mordauk
    Licensee: Dorothy Lopez

    For the item:
    ECPT: Filter by Taxonomy

    http://codecanyon.net/item/ecpt-filter-by-taxonomy/841355
    Item ID: 841355

    Item Purchase Code: 2a64dc9e-e412-4d63-afed-8431e47e5277

    Purchase Date: 2012-05-01 17:47:51 UTC

    Can you please add these to my account.

    I am also interested in purchasing a unlimited license for the same plugins however I am unclear about the restrictions for this license type. With this license can i use the plugin in a theme that I am developing for sale?

    Reply
    • Pippin says:
      June 3, 2013 at 2:35 pm

      Yep, I can add the plugin to your account, I just need your username here on this site.

      The restrictions simply limit the number of sites that you can get updates for.

  15. Erica Eide says:
    June 4, 2013 at 1:49 pm

    Purchased this and some of your other plugins on Code Canyon – I need to redownload the most updated version. How do I do it now? Thanks!

    Reply
    • Pippin says:
      June 4, 2013 at 6:51 pm

      Paste your license certificate for me, just as I have asked all of the other customers.

    • Erica Eide says:
      June 5, 2013 at 1:02 pm

      Sorry Pippin, I commented from my phone and didn’t see the other comments/responses on pasting them here… here are all my plugin license codes from CC. I registered here yesterday too.

      Licensor’s Author Username: mordauk
      Licensee: erica eide
      For the item:
      Easy Custom Content Types for WordPress
      http://codecanyon.net/item/easy-custom-content-types-for-wordpress/234182
      Item ID: 234182
      Item Purchase Code: 27b42646-23a6-42e5-8e62-8374492111ae
      Purchase Date: 2012-07-13 21:52:49 UTC

      Licensor’s Author Username: mordauk
      Licensee: erica eide
      For the item:
      ECPT: Bonus Meta Field Types Add-On
      http://codecanyon.net/item/ecpt-bonus-meta-field-types-addon-/712383
      Item ID: 712383
      Item Purchase Code: 8ae2d2fd-c557-431e-9546-4a3511bf9ba3
      Purchase Date: 2012-07-13 21:53:31 UTC

      Still on CC but just in case you remove these too:

      Licensor’s Author Username: mordauk
      Licensee: erica eide
      For the item:
      Simple Mail Chimp Signup Forms
      http://codecanyon.net/item/simple-mail-chimp-signup-forms/2395156
      Item ID: 2395156
      Item Purchase Code: ab218590-583b-4163-a87b-1142722c0f84
      Purchase Date: 2012-11-04 06:42:16 UTC

      Licensor’s Author Username: mordauk
      Licensee: erica eide
      For the item:
      Post Type Column Editor
      http://codecanyon.net/item/post-type-column-editor/758157
      Item ID: 758157
      Item Purchase Code: 462dcdc5-6d8e-4241-9847-002bf01701f9
      Purchase Date: 2012-08-29 21:28:32 UTC

      Licensor’s Author Username: mordauk
      Licensee: erica eide
      For the item:
      Better Recent Posts Widget Pro
      http://codecanyon.net/item/better-recent-posts-widget-pro/318193
      Item ID: 318193
      Item Purchase Code: bd4f377d-aff5-4edb-a33d-2bbe4a944089
      Purchase Date: 2012-07-31 19:20:18 UTC

      Thank you!

    • Pippin says:
      June 6, 2013 at 3:28 pm

      I’ve just added the plugins to your account.

  16. Dave Navarro says:
    June 4, 2013 at 9:07 pm

    How do I unsubscribe from updates to this thread?

    Reply
    • Pippin says:
      June 5, 2013 at 5:04 pm

      From your wordpress.com subscriptions page.

  17. Morgan Sully says:
    June 8, 2013 at 2:03 pm

    Hi Pippin,
    Thanks for writing such a useful plugin.

    I’m developing a custom archives page for my ‘Courses’ post type and would like to display

    “You are now viewing X of Y courses”

    I’ve looked through the documentation and through the wordpress forums but have been unable to find anything. None of the plugins I have found seem to work with custom post types – or maybe i am missing something completely?

    Thanks for ay guidance you can give.

    Reply
    • Pippin says:
      June 8, 2013 at 9:13 pm

      Do you mean something like this: “You are now viewing part 5 of 10″?

    • Morgan Sully says:
      June 10, 2013 at 9:29 am

      Hi Pippin, not exactly – I would like to display something like: “You are now viewing 5 of 10 courses” I’d basically like to paginate custom content type archives – but I am not sure where to go to control the number of courses showing on an archive – let alone display the above.

    • Pippin says:
      June 10, 2013 at 12:11 pm

      Ah, so just on the default archive view?

  18. Morgan Sully says:
    June 12, 2013 at 8:15 am

    Yes, the default archive view. My theme (Avada, by ThemeFusion) does not have the built in by default.

    Reply
    • Morgan Sully says:
      June 14, 2013 at 10:29 am

      I figured it out. Feel really silly – there were a few problems actually:

      1) I simply needed to set the number of posts that show up on archives (under Settings>Reading)
      2) I ended up using the WP-Page Navi plugin to display archive navigation
      3) I also wrote a custom function to display the total post number:

      function my_post_count() {
      global $wpdb;
      echo $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'course' AND post_date_gmt < '" . gmdate("Y-m-d H:i:s",time()) . "'");
      }

Comment navigation

← Older Comments

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Latest Tweets

  • Could not fetch Twitter RSS feed.

Topics

wp_enqueue_script contextual help shortcodes meta box Tom McFarlin register_setting featured attachments get_user_meta Sugar Event Calendar add_options_page hook campaign monitor attachment image forms short codes plugin Related posts login do_action authors mail chimp apply_filters comments recent posts post types short code bbpress taxonomies custom post type gallery Ajax images Stripe taxonomy jquery widgets users add_filter easy content types add_action widget restrict content pro easy digital downloads

Weekly Newsletter

Useful Links

  • Join the Site
  • Plugin Store
  • Affiliate Area
  • Tag Index
  • Support the Site
  • Suggest a Tutorial
  • Random Post
  • Contact

Monthly Archives

(c) 2013 Pippin's Plugins