ced64k
Forum Replies Created
-
Forum: Plugins
In reply to: [Image Hotspot by DevVN] Data lost on database migrationThank you @levantoan !
Forum: Plugins
In reply to: [Polylang] String translation not workingThanks. It seems related to my WordPress install. I setup a fresh WordPress and pll_e() is working fine.
Forum: Plugins
In reply to: [CampTix Event Ticketing] Different textdomain for a Camptix addonI can load my camptix-print textdomain if I put next to the camptix textdomain in __construct function in camptix.php
function __construct() { ... // Load a text domain load_plugin_textdomain( 'camptix-print', false, 'camptix-print/' ); load_plugin_textdomain( 'camptix', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); }
How can I move it to my addon ?
Forum: Plugins
In reply to: [CampTix Event Ticketing] Different textdomain for a Camptix addonAnyone ?
Forum: Plugins
In reply to: [WP-Spreadplugin] Empty title and price equal to zeroNo problem Thimo. Thanks and have a merry Christmas !
Ok thanks. I’ll see if I can start from an existing addon to make that.
Ok I found. It’s a language problem. I installed WordPress in french. I tested to set language to english and now it works.
Or maybe it’s a date problem ? Just after change the language I got this error :
The following date time “October 15, 2015 20 h 17 min” ( F j, Y G \h i \m\i\n ) can not be properly parsed by PHP due to its format and may cause incompatibility issues with Event Espresso. You will need to choose a more standard date time format in order for everything to operate correctly.
Please note that your date and time formats have been reset to “F j, Y” and “g:i a” respectively.Edit: I confirm it’s a date/locale problem. I re-switched to french and it’s still working. I presume because of the date and time formats reset.
Is it a bug in Event Espresso ? Or locale on my hosting ?
It was 5.5 and I tried 5.6.
Re-tested : install WordPress, install Event Espresso : not working.
I move to the next event plugin ??I have also checked, there is no error in the console. It’s strange. I’ll try to delete everything and re-intall.
Hi Jonathan, it’s already Twenty Fifteen.
Forum: Plugins
In reply to: [Polylang] Language link redirect to homepage on category and author pagesI tried with this code but the result is the same, strange.
$build_author_query = array ( 'post_type' => '###custom_post_name###', 'author' => $curauth->ID, 'paged' => $paged, ); $build_author_query = array_merge($GLOBALS['wp_query']->query_vars, $build_author_query); query_posts($build_author_query);
Forum: Plugins
In reply to: [Polylang] Language link redirect to homepage on category and author pagesMhh no, theses posts are translated. I forgot to mention, it’s a custom post type. On the post itself, the language link is correct (link to the translated post).
Maybe it’s my query in author.php ?$curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); query_posts( array( 'post_type' => array( '###custom_post_name###' ), 'author' => $curauth->ID, 'paged' => $paged ) );
Forum: Plugins
In reply to: [Polylang] Strange page title on index pageTemporaly fixed with this code
function theme_name_wp_title( $title, $sep ) { if (strpos($title, 'Languages') !== FALSE) $title = ''; return $title; } add_filter( 'wp_title', 'theme_name_wp_title', 10, 2 );
Forum: Plugins
In reply to: [Plugin: Polylang] Polylang language splash pageHi,
Here’s the solution I found:
For example, I have a website in french and nederlands. I added english language and set it to default. Then I created a splash page in english. The english is only used for the splash page.