artysam
Forum Replies Created
-
Forum: Plugins
In reply to: [Enhanced Media Library] Assign Media taxonomies to other post typesYes, this is what I suspect also.
I’ll keep that in mind!
Cheers,
SamForum: Plugins
In reply to: [Enhanced Media Library] Assign Media taxonomies to other post typesHi Nadia,
Thanks so much for your reply! I just tried the above, but it seems to disagree with the site (page doesn’t load at all).
I managed to find a solution though:
add_action( 'admin_init' , 'add_cats_to_page' ); function add_cats_to_page() { register_taxonomy_for_object_type( 'media_category', 'page' ); add_post_type_support( 'page', 'media_category' );Thanks again for letting me know I was on the right track 🙂
Cheers,
SamForum: Plugins
In reply to: [Enhanced Media Library] Assign Media taxonomies to other post typesHi Nadia,
Thanks for your reply! I actually tried adding this line (with appropriate arguments) to my theme’s functions.php, is this the wrong place to put it? It didn’t seem to do anything.
Sorry if this is out of your support scope, I’ll look elsewhere if this is the case.
Cheers,
SamForum: Plugins
In reply to: [Document Gallery] terms with spaces in nicenamehehehe… worked it out myself:
encapsulate the term part in single quotes:
do_shortcode("[dg $current_tax='$current_term' descriptions=true images=true localpost=false order=ASC orderby=menu_order]")and it works 🙂
Horay!