157 reputation
112
bio website twitter.com/nine_L
location Dhaka, Bangladesh
age 36
visits member for 1 year, 5 months
seen Jan 26 at 3:10

I am a Zend Certified Engineer on PHP5 and a tech enthusiast.

Author at Packt Publishing UK.


Oct
20
comment qTranslate get content by language
@ShivanRaptor to get the current language identifier you can use many ways but most recommended is: qtrans_getLanguage().
Jul
11
comment Difference between bloginfo('home') and home_url() and site_url()
Thats an smart solution. But instead of adding it to qtranslate_core.php it should be in functions.php under the template, for plugin's upgradeability.
Jan
27
comment Difference between bloginfo('home') and home_url() and site_url()
Found, add_filter('bloginfo', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLangu‌​age',0); at qtranslate_hooks.php file.
Jan
27
comment Difference between bloginfo('home') and home_url() and site_url()
@brasofilo I have included link to another post. My question has something new which other posts dont have.
Jan
27
comment Difference between bloginfo('home') and home_url() and site_url()
@Milo you should answer it. Because you answered it most correctly.
Jan
19
comment qTranslate get content by language
If you still need help you can contact me personally or ask here. I'd be glad to help out. @Jack
Jan
19
comment One of the messages in .po file doesn't show up
without first adding it to the wordpress.pot --- is wrong. Just you need a .po file and then have it compiled to .mo. Though its a very old question but I am leaving the comment so that viewers can be helped who dont have a POT file but have a PO of another language can still move on. And also, you'd need a language switcher to trigger showing this new language (qTranslate plugin can be used for this too).
Jan
19
comment How do you install a .MO (language file) to use as part of a theme?
Also, you wont have to init this load_theme_textdomain in the init action. Just call this function on your functions.php thats all.
Jan
19
comment How do you install a .MO (language file) to use as part of a theme?
The .po file must be created with proper path options. Look at step 3 here
Dec
11
comment Wordpress: robots.txt gives 500 Internal Server Error
Are you sure it would be created on request? I dont think so. Your robots.txt generator has problem.
Dec
11
comment Wordpress: robots.txt gives 500 Internal Server Error
Does your WP work without problem?
Dec
11
comment Wordpress: robots.txt gives 500 Internal Server Error
What is your robots.txt permission? Keept it 644
Dec
7
comment Adding Shortcode to Text Widget
Have you tried this plugin?
Dec
7
comment Adding Shortcode to Text Widget
I would try myself your problem and let you know the exact solution for this.
Dec
7
comment Adding Shortcode to Text Widget
Simply, adding the add_filter('widget_text', 'do_shortcode'); would enable your text widgets to parse the shortcodes.
Dec
7
comment Adding Shortcode to Text Widget
Try this: link
Dec
7
comment Adding Shortcode to Text Widget
Of course there is, if you please describe the way you have tried step by step then we can be assured you are at the right path. Paste in sample codes. It would be a nicer idea to host your code in github as openSource, which can just be sample code. So people can show you exactly what you are missing out.