patado
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate X] Translate dynamic fieldsOne more detail: when the language was not set for listing – there was OK, but when i set the language – i have this <!–:ru–>Время работы<!–:–><!–:ua–>Час роботи<!–:–><!–:en–>Working time<!–:–> problem.
Forum: Plugins
In reply to: [qTranslate X] Translate dynamic fieldsIs there is the any way to fix it?
Forum: Plugins
In reply to: [qTranslate X] Translate dynamic fieldsI mean that that part of code is used in both pages for text string type field (working hours field).
And here is the code that used for all fields:<div class=”w2dc-fields-group”>
<?php if (!$content_fields_group->on_tab): ?>
<div class=”w2dc-fields-group-caption”><?php echo $content_fields_group->name; ?></div>
<?php endif; ?>
<?php if (!$content_fields_group->hide_anonymous || is_user_logged_in()): ?>
<?php foreach ($content_fields_group->content_fields_array AS $content_field): ?>
<?php $content_field->renderOutput($listing); ?>
<?php endforeach; ?>
<?php elseif ($content_fields_group->hide_anonymous && !is_user_logged_in()): ?>
<?php printf(__(‘You must be logged in to see this info’, ‘W2DC’), wp_login_url(get_permalink($listing->post->ID))); ?>
<?php endif; ?>
</div>Forum: Plugins
In reply to: [qTranslate X] Translate dynamic fields<?php if ($content_field->value): ?>
<div class=”w2dc-field w2dc-field-output-block w2dc-field-output-block-<?php echo $content_field->type; ?> w2dc-field-output-block-<?php echo $content_field->id; ?>”>
<?php if ($content_field->icon_image || !$content_field->is_hide_name): ?>
<span class=”w2dc-field-caption”>
<?php if ($content_field->icon_image): ?>
<span class=”w2dc-field-icon w2dc-fa w2dc-fa-lg <?php echo $content_field->icon_image; ?>”></span>
<?php endif; ?>
<?php if (!$content_field->is_hide_name): ?>
<span class=”w2dc-field-name”><?php echo $content_field->name?>:</span>
<?php endif; ?>
</span>
<?php endif; ?>
<span class=”w2dc-field-content”>
<?php echo $content_field->value; ?>
</span>
</div>
<?php endif; ?>This code is used by both pages.
https://youjin.ua/gde-kupit/
https://youjin.ua/gde-kupit/ashan-raduzhnyj/
Here is a two link of this pages.