TiagoPires
Forum Replies Created
-
Forum: Plugins
In reply to: [CPT-onomies: Using Custom Post Types as Taxonomies] Multi-Site Compatible?I’m using cptonomies on a multisite install and it has been working nice. It’s working on multisite as I’m defining the Custom Post Types, and registering CPTonomies in the theme funcitons.php of a parent theme and using child themes for all sites so they inherit the CPTs and CPtonomies. In reality I still have a lot of code ahead of me so I’ll let you know if I find any problems with multisite usage.
On Curiosity: Does CPtonomies require any custom tables in the database to work? If so, how would it chain down to each site install? just create tables for each of them?
Thanks!
Hi Rachael, Thanks for showing the way to get the CPTerm data. It works great!
The “song” edit screen has a list of albums on the side as “cptonomies” so a “song” get’s linked to one or more albums.
In the single-song.php Id like to show the “album” title and thumbnail on the side.
I hope I make any sense ??
Hey, I can see now (snippet overlooked), my post types definitions had ‘hierarchical’ set to false, and cptonomy, smart enough, follows the post type definitions ?? all running smooth!
Nice, I’d like all network to use the same post types. It’s a network of country specific that relates courses to cities in a country. Both courses and cities are CPTs, and the sites will look very similar apart for minor css changes done in the child themes.
I’m running a multisite install locally for development and registered the post types in the parent theme. I’m using the register_cpt_onomy() in the parent theme as well and the metabox for the city cptonomy show in all sites as you would expect. The current challenge for me is to make the city cptonomies show as a checkist (hierarchical) instead of a tags. I can’t find that argument in the register_cpt_onomy() funciton.
I may be stretching things but I really appreciate your work on this. beautifull ??
What if I’m creating a parent theme where the plugin was used to create the post types. I would need to output the post types as code into the functions.php of the parent theme so child themes see the post types. I’m I right?
Thanks!