weeix
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Nothing found when visitor returns to siteHi! I’m using Win7 x64
Chrome 24.0.1312.52 m
- Open web
- Change language to EN
- Close & Reopen browser
- Visit the web: opened safely with DE content
Firefox 18.0
(same result)Forum: Plugins
In reply to: [Polylang] en_US.png depicts a British flagI’m curious about this too.
Forum: Themes and Templates
In reply to: How to remove parent's image size from child theme?Thanks
Forum: Themes and Templates
In reply to: How to remove parent's image size from child theme?No it doesn’t.
What should I do?
Forum: Themes and Templates
In reply to: How to remove parent's image size from child theme?The parent theme is Proyecto. I’ve put the download link below:
Proyecto by AJ Clarke from WPExplorer.com
[ Redacted, please do not post links to themes like that use the author’s link instead http://www.wpexplorer.com/proyecto-free-business-portfolio-wordpress-theme ]Forum: Themes and Templates
In reply to: How to remove parent's image size from child theme?Didn’t help, in my case.
The codes are placed outside a function.
Forum: Themes and Templates
In reply to: How to remove parent's image size from child theme?line 33-37 of the parent’s
function.phpoutside a function, no hooksif ( function_exists( 'add_image_size' ) ) { add_image_size( 'full-size', 9999, 9999, false ); add_image_size( 'nivo-slider', 980, 400, true ); add_image_size( 'post-image', 660, 220, true ); add_image_size( 'portfolio-thumb', 290, 190, true ); add_image_size( 'portfolio-single', 500, 9999, false );Forum: Themes and Templates
In reply to: How to remove parent's image size from child theme?In the
functions.phpIn my case, I leave a blank for the “Please enter a title for the related content box” section, disable the auto-embed function and manually put these codes to my ‘single.php’
<?php if (function_exists('nrelate_related')) { _e('<h4 style="margin-bottom: 0"><!--:th-->บทความที่เกี่ยวข้อง<!--:--><!--:en-->Related Articles<!--:--></h4>'); nrelate_related(); } ?>@katrina — I know what saynw actually means – I also encounter this problem. When we input this text in the plugin’s settings page:
<!--:es-->También te puede interesar<!--:--><!--:en-->You may also like<!--:-->The output would be:
También te puede interesarYou may also like
What we expect is:
You may also like
when the language in the frontend is set to English and
También te puede interesar
when the language in the frontend is set to Spanish
the author of qTranslate says that to add compatibility with any plugin, just simply enclose the recently inputted text with wordpress’s localized function
__(), but I can’t find where to place it.Thanks for your support, Wee.
mtekk, may I ask you a few more questions?
- Can I prepare your code in my theme before the next release?
- Would it be nice if I ask Mr.Qian to include this hook in his plugin when your filter is ready?
Thank you, both of you.