My solution was to register the custom post types on the site where I’m calling it from, then in WPML’s settings set them to translate. This is in WPML -> Translation Management -> Multilingual Content Setup, down at the bottom. I assume it works by tricking WP into using that site’s rewrite/translate rules when it doesn’t have the proper info from switch_to_blog()
.
Related Posts:
- Custom Post Type, WP_Query and ‘orderby’
- Querying Posts by Taxonomy From Alternate Network Site
- Unable to display multiple post types in same query (WPML WP_Query)
- How do I Use Nested Loops of Custom Post Types for MultiSite Blogs using WP_Query()
- How to migrate Custom Field Template to a WordPress Multisite
- Main site single-property.php design, as homepage of a multisite
- Fatal Error WordPress Custom Post Type UI + WPML
- Display all posts in a custom post type, grouped by a custom taxonomy
- Query by post title
- Get post with multiple meta keys and value
- Get posts for custom post type with WP_Query
- How to use a custom post type as front page?
- How to order custom post type by multiple custom fields?
- Sort Order for a Custom Query in a Post Type Archive Not Working
- Display several random posts, but make sure a condition is met
- How can I generate a RSS feed based on a custom WP_Query?
- Custom query – alternate posts by category
- Search Custom Post Type with all meta attached?
- Custom post type loop split/ordered by taxonomy
- Display two post types ordered by two custom fields
- Sort by two dates. Default entry date and custom field if present
- Querying CPT with Two Taxonomies
- Custom post_type search’s $wp_query->query_vars do not correspond
- wp_query custom post type by taxonomy & standard post by taxonomy
- Query Custom Post Types & category_name?
- Conditional to modify query results
- Redirect Single Post CPT (Custom Post Type) to a specific URL
- WP_Query is printing out only one post when posts_per_page is set to multiple
- WP Query to displaying date and posts for that date?
- Use WP_Query() to Output the 4th to 6th Most Recent Posts of a Custom Post Type
- Get all Posts If has same custom field values in Posts
- Custom Post Types not showing, custom WP_Query
- WP_Query | ‘post_type’ doesn’t work
- Sorting multiple custom post types without a meta key/value pair by sort order
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- Can I create a loop with multiple post types and specify different $args for each post type?
- Display custom post type from dynamic custom field
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- wp_query check if integer exists in custom field’s array
- Previous/Next Link by Meta Value in CPT
- Custom-Posttype & Custom Taxonomy WP_Query
- orderby rand is not working for a custom post types
- Stuck in Order by more then one
- Display featured image from one CPT within another CPT query
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- How do you paginate a query grouped by month?
- Query Custom Post Type Taxonomy term with multiple parameters
- Multiple pages for posts?
- How can you use one database with multisite
- pagination not working for category.php (custom post types in categories)
- Redirect to another page using contact form 7? [closed]
- Add ‘last’ class to second post in featured post loop
- Why is my WP Query not returning first result’s post meta?
- WP_Query Custom Post Type if Category ID Equals
- Custom post types and ‘new WP_Query’
- Trouble with pagination
- Select2 AJAX and WP Query Returns ALL and does not filter
- WP_Query orderby not work with meta_key
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- Returning a custom content types with meta values
- Custom Category Walker with Image, Fallback to Most Recent Post in Category Image
- List categories, subcategories and posts from custom taxonomy and custom post type
- How to query Posts from a custom post type which contains a custom taxonomy?
- Searching post types
- How to retrive Custom Post Type Meta Fields in Custom WP_Query
- wp_query not returning my custom post
- filter the_content, custom post type, and wp_query
- Loop for custom-post-type comparing taxonomy terms for “related” posts?
- Get_the_term_list inexplicably adds values in foreach
- Single parent post lists child posts with pagination
- wp_query can’t get max_num_pages in custom post type
- Custom Form / Search with Custom Post Type Data
- Get next and prev item from custom WP_Query and Custom Post Type
- Query to show post current day
- Using ACF values in nested WP queries for CPT with date values in the past
- WP_Query: how to search tags in addition to a custom post type?
- Pagination Not Working When Used With WP_Query() `offset` Property
- how to display posts content on the custom css popup by clicking on each title on the sidebar?
- Help understand and create a loop with WP_query
- How do I insert a custom post type query after a certain number of recent posts and then resume recent posts?
- WP_Query for custom taxonomies showing posts from non-specified terms?
- how to display new private message to users?
- Make pagination work as a carousel (custom query)
- WP_Query with all posts in one custom post type and only posts in another custom post type with a specific category
- Search result based on URL
- subtracting the current post form then whole loop, which is generating all CPT titles
- Custom Post Type slug and WPML gets 404 error
- Displaying WordPress posts from post and custom post type in custom taxonomy
- Loop carousel slider in wordpress
- Manually build WP_Query
- Loop with Custom Post Type and Taxonomies
- New WP_Query not isolating custom post types on front-page template
- 404 on Pages for Custom Post Type & Query_Posts
- Pagination not working on homepage
- How to query custom post then display sections by meta value
- Using tax_query to get single post per category
- Show Posts in Vertical Tabs with Scrollbar
- How to manage wordpress knowledge base/wiki/posts collections
- WP Query + custom fields: How to query event posts from the current date backwards 6 months and organize it month by month?
- How do I get parameters from the URL?