Archive page with WPML returns : errors
-
Hi guys,
The archive.php page with the default them returns a database error :
SELECT SQL_CALC_FOUND_ROWS DISTINCT wp_posts.*, IF (wp_posts.post_type = 'tribe_events', .meta_value, wp_posts.post_date) AS post_date FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) LEFT JOIN wp_postmeta as on wp_posts.ID = .post_id AND .meta_key = '_EventStartDate' WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (21) ) AND wp_posts.post_type = 'tribe_events' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') ORDER BY post_date DESC LIMIT 0, 4How could I avoid this ? I don’t want to display post type trive_events from the archive page ?
Thanks in advance,
Jk_
The topic ‘Archive page with WPML returns : errors’ is closed to new replies.