yjules
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Insert a default text if custom field is emptyHello there,
Thank you for your reply. I’ve tried it, and I still get the same “0” displayed by default if the field is empty.
I think it is because displaying this 0 is embeded in the functions of the theme, but it is in the same field as the formatting for the numbers.This is what I have in my functions-theme.php file:
/*-----------------------------------------------------------------------------------*/ /* Listing Price */ /*-----------------------------------------------------------------------------------*/ function listing_price() { global $post; $price_meta = get_post_meta(get_the_ID(), '_ct_price', true); $price_meta= preg_replace('/[\$,]/', '', $price_meta); echo number_format($price_meta, 0, ',', '.'); }Forum: Fixing WordPress
In reply to: Displaying a different field if "default" one is emptyThank you, I’ve used a different option (limiting the number of characters displayed, and it works fine).
Forum: Installing WordPress
In reply to: Impossible to log in to the PanelI managed to fix my problem but simply installing the English version of WordPress. For some reason, there was an issue with the language plugin.
Thanks for your help everyone.
Forum: Installing WordPress
In reply to: Impossible to log in to the PanelI don’t know what the problem can be with the plugin, as I am just starting setting up. Maybe the French package, it’s the only thing I can think of, I’ll check it.
for the second questions, to make it simple, I want 2 blogs, 2 differents languages, but only one database. Is that possible?Thanks for the help though.