Tubia
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Sent confirmation not displayHi buzztone,
thank you for your reply. The page you linked, returns to me 500 – Internal server error. Regarding my issue, having disabled all the plugins and still experiencing the problem, I think, at this point, that is related to something of the theme.
Still what I would like to know if there are other methods for debugging in place of the classic “trial and error”.Forum: Plugins
In reply to: [Polylang] Custom template for different languagesHi Chrystl,
thank you for the reply. I’m trying to understand but it’s not so clear to me. Could you provide a simple example?
Thank you in advance.Forum: Plugins
In reply to: [Polylang] Custom template for different languagesHi Chrystl,
well actually this is my expected behaviour: to have a default language in the home, let’s say EN, that corresponds to example.com and then have different languages, for example french, that are example.com/fr and so on.
What I’m trying to understand is if with using that simple function inside my static templates I can display different content (also HTML code) based on language.Thank You
Forum: Plugins
In reply to: [Polylang] Custom template for different languagesHi Chrystl,
thank you for the reply.
I’ll read the docs but with this method it will be possible to haveexample.com/de/
URL orexample.com/fr
and so on?
Switch content basing on the current language doesn’t seem to maintain this distinction.Forum: Plugins
In reply to: [Wiki Embed] Navigation menu errorIt’s not a plugin pertinent issue: I have the same problem without using this plugin.
Hope to find a solution.Greetings,
Tubia
Forum: Plugins
In reply to: [Dynamic Widgets] Problem with Query Wrangler Category OverrideThank you Qurl for the fast answer ??
I have to test deeper but setting with OLD method (in “advanced” tab, Dynamic Widgets overview) works.
I’ll report soon!Forum: Plugins
In reply to: [Query Wrangler] Category FieldStill not find a solution to this.
Hi,
I understand that time passed since the last reply, but I think my experience with tables could add something to the discussion.
When we add labels to fields and then select the “table” style, it appears the table with the correct thead and th, but labels are displayed also in each field…
I dig into the structure of the style and that’s it:<table class="query-table query-<?php print $slug; ?>" cellpadding="0" cellspacing="0" border="0"> <thead class="query-table-head"> <?php foreach($rows[0]['fields'] as $field): ?> <th><?php print $field['label']; ?></th> <?php endforeach; ?> </thead> <tbody class="query-table-body"> <?php foreach($rows as $row): ?> <tr class="<?php print $row['row_classes']; ?>"> <?php foreach($row['fields'] as $field): ?> <?php if(isset($field['output'])): ?> <td class="<?php print $field['classes']; ?>"> <?php print $field['output']; ?> </td> <?php endif; ?> <?php endforeach; ?> </tr> <?php endforeach; ?> </tbody> </table>
So it seems that $field is an array that has ‘label’, ‘classes’, and ‘output’, and the last one contains the field’s output and the label if is set. Maybe if it would be possible to output only the content of the field without the label… but I think we have to edit the $field array.
What do you think? Suggestions?
Thank you in advance! ??