WPML After Post After Post and Sidebar shortcode
-
Hi,
I love your plugin, but i have three issues. π
First
I have a Multilingual Site and i use WPML plugin for it, and i want put a different box for each languange in “After Post”. Its possible?Second
I have an “After post” box and a sidebar with different box, but the colors (Box and Button) and the image size of “After post” box change and get the setings of the sidebar box.Third
I chose a Font family in the plugin, but in the web page he uses another Font family.That’s all! Keep up the good work! π
http://www.purposeandpath.com/
Thank you!
Regards,
Miguel
-
1. Yes, you can use any language test in the box.
2. The free version supports just one box on a page, either in sidebar or under posts. I may however add the feature of adding multiple boxes on a page in future releases.
3. Fonts are loaded from Google Fonts and so if you don’t see proper fonts in your boxes it might be because the fonts were not fetches properly from Google’s server. Or maybe some other plugin is interfering with your CSS file.
Ram
Hi Ram,
Thank for your fast response.
In the first question i want to use two different boxes in the “After Post”. But the plugin has to chose the right language box e has to show in the post.
In the Portuguese page i want to show a Portuguese box after post and in the English page i want to show a English box.ItΒ΄s possible?
Miguel
Yes, but not out of the box. You’ll have to do some custom coding for it. First, create two conversion boxes with different languages.
Then use code similar to the following code to get it work (exactly copying the following won’t work, this is just an example of how you should implement it):
function display_my_custom_box($content) { if($language = 'Portuguese'){ // Check if current language is Portuguese. Please change this to how your site know which is the current language. $box = do_shortcode( '[wpcb id="#"]' ); // Change # to box with Portuguese content. } else if($language = 'English'){{ $box = do_shortcode( '[wpcb id="#"]' ); // Change # to box with English content. } return $content.$box; } add_filter( 'the_content', 'display_my_custom_box' );Ok Ramshengale,
Thank you for your help. π
Regards,
Miguel
The topic ‘WPML After Post After Post and Sidebar shortcode’ is closed to new replies.