Latest Custom Post Type Updates
Fantastic Plugin: But how do you do it? (5 posts)

  1. adammontague
    Posted 3 years ago #

    Firstly, let me say this plugin is amazing and for ease of use I'll be using it a lot in the future for my clients.

    However, before finding your plugin I was struggling to output lists of custom posts. So, how do you do it without the plugin?

    For example, what would be the required code to output these options from your plugin? http://dl.dropbox.com/u/8082398/CropperCapture%5B1%5D.jpg

    Hope I've been clear, thanks!


  2. David Wood
    Plugin Author

    Posted 3 years ago #

    Glad to hear that you like the plugin! There are several different ways to get the terms from custom taxonomies and they all have there uses. I used get_terms() (http://codex.wordpress.org/Function_Reference/get_terms) and probably need to refine the way I have it setup. You could also use wp_list_categories() or get_categories(). I may be missing some but those are all ways to get a list of the custom taxonomy terms. They all take an array of arguments in which you can specify your taxonomy.

    As for how I have mine displaying, I ended up writing some custom code for that. Although it may be mostly possible using built-in functionality, but I will probably be revisiting that in my plugin in the near future.

    If you have any other questions let me know! The codex articles on these functions are fairly self explanatory as long as you know some PHP.

  3. chuckingit
    Posted 3 years ago #

    not sure this is 100% on topic but i'd like to add / inquire -> How can your plugin do it via WP Multisite Network ..??.. that is -> how can you get terms / custom post types from sub-sites on the network to show on other network sites ..??.. e.g., if sub-site-B has custom post type xyz, how can primary site show said xyz post type from sub-site-B on the primary network site ..??.. or for that matter, how can sub-site-C show custom post type xyz from sub-site-B ..??..

    regardless, kudos to you and others like you with WP sensibilities et al. :>) cs

  4. David Wood
    Plugin Author

    Posted 3 years ago #

    I am not 100% sure how you would get the posts/custom posts from another blog on multisite just yet, but the next thing on my list to add into this plugin is multisite capabilities.

  5. chuckingit
    Posted 3 years ago #

    Hi David - thanks for loop back and here is hoping your todo lists hits 110% in said depts :>) ... seriously, i'm not sure how to loop into WP DB at sub site on network level either but share some data points i think i read along the way as fyi in hopes they might help ...

    a) using sub-site RSS into primary site = bad given extra load on server ... not sure about iframes but recall reading something about using switch_to_blog() as best method to get sub-site info from one site to other on network ..??..

    b) reading this Smashing Mag article ->

    which has link to slideshare by Otto and Nacin ->

    and i believe in slide 23 -> 27 there are clues to multisite success ..??..

    accordingly, best of ongoing success and to be continued ... cordially, chuck scott

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Latest Custom Post Type Updates
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic