etvoilaletravail
Forum Replies Created
-
This is a reply to myself, as I seem to have been have able to solve the problem.
Should this happen to someone else, here’s what I did :
In the large number of events, there where a few ?orphan? entries, where the post_id would not correspond whith an actual post. The postmeta entries for those events had grown up to about 50 000 entries for each, and growing !
I deleted the orphaned events, and their postmeta entries and the website admin accessibility is now back to normal.However, it seems I can’t get rid of the admin message about the timezones update…
Forum: Plugins
In reply to: [List category posts] Templates are no longer usedAs the change in the template name was working and the site i used it on went live in between, i haven’t trie dto see if the default template in the themen is correctly called or not…
Forum: Plugins
In reply to: [List category posts] Templates are no longer usedI think the problem lies with just using the default template in your theme.
By copying that file (name it custom.php instead, for example), and adding template=custom when adding your shortcode, tye template if effectively called.That said, I’d strongly prefer the plugin to work as before, and being able to avoid naming templates when you just need one, let’s wait for the dev’s answer about how the templating system was modified.
Forum: Plugins
In reply to: [List category posts] Templates are no longer usedI got it to work, but i had to rename my default.php template to another name, and call the template for it to work, default template in theme is not used but instead the plugin’s default…
Forum: Themes and Templates
In reply to: [Radiate] French translationErratum :
In the second portion of code, the translation must be removed if it is for the .pot file (I copied it from my french .po)Forum: Themes and Templates
In reply to: [Radiate] French translationHere it is :
in the searchform.php, for exemple you call this translation :
esc_attr_x( 'Search …', 'placeholder', 'radiate' );
The second attribute (?placeholder?) is the context, therefore, your translation must specify this context for a match to be found.
Currently your .pot file has :
#: ../searchform.php:13 msgid "Search …" msgstr ""
You should make it :
#: ../searchform.php:13 msgctxt "placeholder" msgid "Search …" msgstr "Rechercher …"
In order for it to work, as is done in the fr_FR.po file i sent.
You will probably have to manually edit your .pot file, which can be done with any text editor (notepad++ is a nice one though), or regenerate it from the sources.
Anyway, you will have to use PoEdit in the end in order to generate the .mo files, which are the ones the theme really use.
Poedit is free, and (though it may not be as intuitive as one might like) works very well : https://www.poedit.net/Unfortunately, I will eventually not use this theme for that project, so I won’t be able to help you with future issues.
Forum: Themes and Templates
In reply to: [Radiate] French translationTranslations displayed via the _x function require a context to be specified (which was done correctly in the file), but the .po file was lacking that context information, so the translation, while present, was not correctly found and displayed.
I think it is necessary to manually edit the .po file to add the context line, as I know no way to add it in Poedit.Forum: Plugins
In reply to: [Mailchimp List Subscribe Form] Inline style added in v1.3Hi, thanks for your reply.
In fact, and while waiting for a more future proof update, i edited all inline css in the widget php file.
Chris
Forum: Plugins
In reply to: [WP FullCalendar] Little correction to french translationJust saw the guys in this thread corrected that and much more : https://www.ads-software.com/support/topic/how-to-translate-days-and-months-in-the-calendar?replies=13
(French translations for days and months was getting lost in the array mergin)