Registreeri
+372 631 1900

Viveo Health Blogi

Nõuanded, artiklid ja spetsialistide arvamused

	          			SELECT SQL_CALC_FOUND_ROWS  vh_posts.ID FROM vh_posts  JOIN vh_icl_translations wpml_translations
							ON vh_posts.ID = wpml_translations.element_id
								AND wpml_translations.element_type = CONCAT('post_', vh_posts.post_type)  WHERE 1=1  AND vh_posts.post_type = 'post' AND (vh_posts.post_status = 'publish' OR vh_posts.post_status = 'acf-disabled') AND ( ( ( wpml_translations.language_code = 'et' OR (
					wpml_translations.language_code = 'et'
					AND vh_posts.post_type IN ( 'post','vacancy' )
					AND ( ( 
			( SELECT COUNT(element_id)
			  FROM vh_icl_translations
			  WHERE trid = wpml_translations.trid
			  AND language_code = 'et'
			) = 0
			 ) OR ( 
			( SELECT COUNT(element_id)
				FROM vh_icl_translations t2
				JOIN vh_posts p ON p.id = t2.element_id
				WHERE t2.trid = wpml_translations.trid
				AND t2.language_code = 'et'
				AND (
					p.post_status = 'publish' OR 
					p.post_type='attachment' AND p.post_status = 'inherit'
				)
			) = 0 ) ) 
				) ) AND vh_posts.post_type  IN ('post','page','attachment','wp_block','member','doctor','review','vacancy' )  ) OR vh_posts.post_type  NOT  IN ('post','page','attachment','wp_block','member','doctor','review','vacancy' )  )  ORDER BY vh_posts.post_date DESC LIMIT 0, 10	          		
Loading...

Populaarsed postitused