cugok
Forum Replies Created
-
Forum: Plugins
In reply to: _e() in ajax script doesn't translate textI didn’t remember how I solve the problem. Probably I used qtranslate plugin I sent an additional data field called i.e. ‘lang’ and then using qtranslate I create a
$string = “<!–:en–>english text<!–:–><!–:de–>german text<!–:–>”;
and then use in ajax: qtrans_use($lang, $string);Forum: Plugins
In reply to: _e() in ajax script doesn't translate textI will provide more info:
In index.php
function getall() { $.ajax({ type: "post", url: "<?php bloginfo('template_url'); ?>/ajax/my-ajax-script.php", success: function(data){ console.log(data) } ...In my-ajax-script.php:
include_once('../../../../wp-blog-header.php'); <?php _e('Translated text', 'mytemplate'); ?>_e(‘Translated text’ is copied from other php file where it’s working.
Ajax is working but I’m getting not translated text.
Forum: Themes and Templates
In reply to: turn off hover on linksinside theme catalog (probably wp-content/themes/twentyeleven/style.css):
file: style.css
line: 475a:focus, a:active, a:hover { text-decoration: underline; }change
text-decoration: underline;
to
text-decoration: underline;Forum: Plugins
In reply to: [Plugin: Custom Field Template] Repeating custom fieldsHey Ignacio! Thanks for fix! It works fine now 😉
Forum: Plugins
In reply to: [Plugin: Custom Field Template] Repeating custom fieldsGreat fix!
But if I’m editing post and before I’ve added minimum 2 records, I see only delete button (no “Add new” button!?)
If I wan to add I’ve to delete all and then add all one more time.
My code:[founder]
type = fieldset_open
multiple = true
multipleButton = true[founder_txt]
hideKey = true
type = text
size = 50
label = Founder – Enter name and title
class founder_txt
blank = true[founder_img]
hideKey = true
type = file
label = Founder – Upload photo
class = founder_img
blank = true[class]
type = fieldset_closeScreenshot: http://imageshack.us/m/716/7684/cftvl.jpg