Site Categories is only a tool for categorizing blogs and together with Sitewide Tags allows for copying sub-blog posts to a top level blog of a certain category and list out posts from certain blog categories. However, no categorizing data is copied with the posts, or linked to the posts via metadata – except the blogid.
We ended up writing a snippet in content.php that looks up the blogid of the post, and then looks up the name of the theme the blog uses from the wp_options tables in the WP database.
That let us style by category, since the blog of a certain category inherited the child theme for its category.
Related Posts:
- How to add category to: ‘wp-admin/post-new.php’?
- WordPress Multisite – Create Default Post and New Category On New Site Install
- How do I show posts from another wordpress installation?
- if in category but only with post meta
- Display post number by category
- Get post category as a separate string and url
- Post meta not working
- Re-order Category Meta-data
- How to display related posts from same category?
- How to show related posts by category
- How to allow hidden custom fields to be added from wp-admin/post.php?
- Display all posts from specific categories on a page
- How to disable Uncategorized category URL?
- Add role that restricts user to post in specific category
- Count posts in category including child categories
- Show Custom Taxonomy Categories, Listing of Posts, and Single Post via AJAX
- Edit meta data does’t work with custom sql
- Archived Posts in Wrong Category
- Display all posts under child sub category in sidebar on post page?
- How do I get the slug of a custom taxonomy category of a post?
- Featured Posts for Category Pages
- Authors in menu, template list post by author
- PHP Notice error (when on 404 page)
- Count to how many categories a post belongs to
- How can I remove posts of a certain category from homepage after a specified time period?
- Modify WP_Post before processing
- I would like to give special promotion for the first 100 posts in my blog? Can anyone tell me how to do that?
- Edit custom post type admin menu link
- Converting a dynamic piece of code using WordPress Loop into a static one using Post ID
- How to display WordPress archive into three columns [closed]
- Get mixed category random posts
- Using wp_list_categories like the the_category (showing just current categories of a post)
- Should I use posts or pages in this scenario?
- How to allow users to post only in certain category and hide elements from edit page?
- Need help with category listing!
- Prepending %category% onto default posts fails
- List all categories with featured image from post?
- How can I hide tags on a child-category page, if that tag has not been used?
- How do I stop the loop from repeating in my category template?
- Is it possible to add/tick a category to a post when it is created?
- Hide posts belongs to few categories in homepage
- post category in wp_insert_post
- Customize rel=canonical tag for single blog post
- store posts_id of category into a varable?
- Display posts of specific category term
- Widget that shows categories with posts numbers
- Latest posts by category — how to exclude current post?
- Relative number of post in category
- Change post author without using wp_update_post()
- How to get post with associated categories and tags names instead of ids with rest api?
- Display a mixed list of posts and media
- wp_query with ajax
- Updating post meta for checkbox
- Automatic blog page with custom design [closed]
- Remove Featured Image from posts in specific category?
- Sidebar limiting to 10 posts?
- How to list post as buch of category, and all of them
- How can I add a page that shows posts from a single category?
- Post in bulk based on category template
- Remove subcategory slug from url
- Can I show category name in url for only one of my categories?
- Automatic duplicate/copy of post to a related page in WordPress
- Is there a way to categorize a list posts all at once?
- Yoast breadcrumb URL shows category instead of the page
- On the online version of my blog posts disappear
- Current post categories and subcatecories outside of the loop
- Query prints posts without specific categories
- Private post caught in endless redirect loop
- Foreach issue in get_posts function
- Display Updated Date Instead of Published Date
- How do you update post date (year only) in a separate custom field?
- Bulk Post update_post_meta
- More Than 50K Categories and WordPress Admin Panel Stop Showing Categories and Posts
- Populate a drop down list with post titles across a multisite network
- Custom post styling per category?
- post categories – how to show only categories with a specific parent id
- Creating a “category” of featured posts
- How do I make it so that new posts within a certain category go into a certain page?
- alt of attached image in post / pages
- List Authors For Current Category
- List posts of assigned categories in list of all categories on single.php
- Add custom class to existing menu items from custom meta
- Assign specific ads to specific categories/posts
- find posts with exactly 3/4 categories
- Users cannot post when editor or admin on more than 1 site on multisite
- Use radio buttons & checkboxes for post categories
- Displaying only posts from a certain category on my custom page template
- WP_Query: Fetch posts that are in (category1 and not in category2), OR posts that are not in cagegory1
- making a few sites in wordpress
- Add default content to post (for specific category)
- List posts that are in the same category as the current post title
- Multiple blog “feeds” in a single blog each with distinctly styled post pages
- How to get pagination working with “Pending” Posts
- Post’s arent displaying
- Show with echo if a post has two or more categories
- How can I get on the same row two post of different categories?
- How to get a list of all posts and their categories?
- Show posts assigned to multiple categories in current category page
- How to display related posts from the same category?
- Mismatch between posts count and actual list in admin posts page