daroost
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Forms not appearing on admin panelAs mentioned on the WPML Forums https://wpml.org/forums/topic/contact-form-7-not-showing-non-default-language/
you can go to
WPML->Support->Click on the troubleshooting link at the bottom of the page,
on the troubleshooting page, click on “set language information button”or to access this page directly got to https://[your_web_site]/wp-admin/admin.php?page=sitepress-multilingual-cms/menu/troubleshooting.php
This fixed the problem by creating the proper entries in the wp_icl_translations table
Hope this helps
What it does is fix the naming of the field in the database so that it remains consistant with the way ACF named it, like field_539673e11f53e. The way the code saved it it was with the description name of the field like field_producer, and it wasn’t taken into account when the get_field was called.
ACF 4.3.8 used
Forum: Plugins
In reply to: [Post Navigator] Possible Fix for WPMLbetter yet, just do this in the class __construct :
add_filter( 'get_previoous_post_join', array( __CLASS__, 'get_adjacent_post_join' ) ); add_filter( 'get_next_post_join', array( __CLASS__, 'get_adjacent_post_join' ) );
the define de function elsewhere in the class
public static function get_adjacent_post_join( $join ) { $join = str_replace("post_post", "post_".$post->post_type, $join); $join = str_replace("'post'", "'".$post->post_type."'", $join); return $join; }
or for the theme functions.php
add_filter( 'get_previoous_post_join', 'get_adjacent_post_join' ); add_filter( 'get_next_post_join', 'get_adjacent_post_join' ); function get_adjacent_post_join( $join ) { $join = str_replace("post_post", "post_".$post->post_type, $join); $join = str_replace("'post'", "'".$post->post_type."'", $join); return $join; }
Actually the error is in WPML itself in the get_adjacent_post_join function definition. There is a problem getting the current post_type with this:
$post_type = get_query_var( 'post_type' );
of the get_adjacent_post_join function in sitepress.class.php wich always returns “post” even on a “page” post_type !Forum: Plugins
In reply to: [Shortcodes by Angie Makes] Missing isotope in version 1.27Thanks for the info,
I’ll be looking at your WC Isotope plugin then !