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

Viewing 5 posts - 1 through 5 (of 5 total)

Asteria Lite: Free WordPress Theme

Home Forums Asteria Lite: Free WordPress Theme

  • #328277

    Franck Beton

    subscriber

    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

    Franck Beton

    subscriber

    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

    Franck Beton

    subscriber

    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

    Franck Beton

    subscriber

    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

    Franck Beton

    subscriber

    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 ?

Viewing 5 posts - 1 through 5 (of 5 total)