Theme Support Forum
Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums
Forum Replies Created
Home › Forums › Asteria Lite: Free WordPress Theme
-
#328277
On October 18, 2014 at 9:36 pm
Thanks man.
It’s working fine.
I’ve done the same trick for the accordion link.
I’m gonna keep your theme for a little longer for sure.
thanks again.
#316946
On October 15, 2014 at 10:11 pm
Hi Towfiq,
as you writed it: my edit is working.
The shortcode to use is this one : [wpml_language lang=’fr’]
But unfortunately, this hack is not working with the “front page posts title and description”…
I didn’t try with the accordion slider yet, because it’s becoming a little too dangerous for me (I’m not really a coder). I’ve just given up.
I was very pleased with Asteria Pro : very clean and easy to use. It will still be my choice if I didn’t need to have an multilingual e.commerce website.
I’m wandering if I’ll not move to another theme.
Unless you have a quick solution for translating the accordion correctly…
Thanks for the quick support anyway.
franck.
#306443
On October 10, 2014 at 7:43 pm
Me again.
I don’t really like to play with theme .php files (moreover because I didn’t make a child theme on this site), but i tried something.
In the content-blocks.php, I noticed that some fields were’nt called with the “do_shortcode()” function.
So, for instance, I replace
<h3><?php echo $asteria['block1_text_id']; ?></h3>
By
<h3><?php echo do_shortcode($asteria['block1_text_id']); ?></h3>
But unfortunately, nothing changes.
#306417
On October 10, 2014 at 7:28 pm
To be more precise :
The classic shortcode from WPML [wpml_translate lang=’en’] is working without the hack in the functions.php file, on these fields only :
– the content block field
– the welcome text
But it’s not working in all the other field of the theme’s options : block titles, block links, Location maps, frontpage posts… and the accordion slider fields.
Did the hack work for somebody ?
I really need to have this frontpage in english for monday morning.
thanks.
#306308
On October 10, 2014 at 6:34 pm
Hello,
I’m using the astria pro theme with WPML.
I paste the code you mentioned (the one with all the brackets) in my functions.php file.
But the shortcode is not working in the Block title field. It shows up in the front side of the site.
My site : http://www.lyon-beton.fr
I’ll try many different combinaisons of the short code as I find severals version of it in your forum, but none of them is working.
[wpml_language lang=”fr”]
[wpml_language lang=’fr’]
[wpml_translate lang=”en”]
[wpml_translate lang=’fr’]
[wpml_language language=”fr”]
[wpml_language language=’fr’]
Any idea ?
Hello! this is Towfiq, a passionate web developer from Bangladesh, building website templates for almost 4 years and sharing them with the world. Most of my designing/ programming skills are self taught. Providing free Wordpress themes to wordpress enthusiasts is another one of my passions.
When I am not building templates, I listen to music, read books, paint and travel.
x