Posts

WPML translation of post content field is not available in WP All Export

Issue: WPML translation of post content field is not available in WP All Export Reason: WPML saves translation as new post. Solution: Get the element_id of translation using wpml_get_element_translations, then use get_post. PHP function for WP All Export //Usage: [getTranslations({ID},"post_title","th")] function getTranslations($post_id,$field,$selected_lang="th"){ $type = apply_filters( 'wpml_element_type', get_post_type( $post_id ) ); $trid = apply_filters( 'wpml_element_trid', false, $post_id, $type ); $translations = apply_filters( 'wpml_get_element_translations', array(), $trid, $type ); foreach ( $translations as $lang => $translation ) { $translation_array = (array)$translation; if($selected_lang == $translation_array["language_code"]){ $post = get_post($translation->element_id); $post_array = (array)$post; if(isset($post_array[$field])){ return $post_array[$field]; } }

Indeed is displaying limited jobs from job XML feed

Issue: Indeed is displaying limited jobs from job XML feed Reason: This issue was caused by salary format. Solution: Use below salary format: For a salary range:        $CURRENCY $MIN - $CURRENCY $MAX / $PERIOD      Example: €10000 - €12000 / jahr For a single value salary:      $CURRENCY $SALARY / $PERIOD      Example:  €12000 / jahr It is recommended to use one of the following to express a salary period:  jahr, monat, woche, tag and stunde Consult at  https://www.fiverr.com/pranjitsingh/create-xml-feed-or-rss-feed

Wrong columns found in CSV feed while importing products to Tik Tok

Issue: Wrong columns found in CSV feed while importing products to Tik Tok. Reason: User did not have CSV template required by Tik tok. Solution: Add one product manually, and export it to CSV. Now use this exported CSV as template to add products using import CSV option.  Consult at  https://www.fiverr.com/pranjitsingh/create-xml-feed-or-rss-feed