Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #2190908
Shortcode like [gem_textbox
Closed

Comments

  • starlinespa started the conversation

    I can't find a guide for your shortcode in your documentation.
    Shortcode like [gem_textbox or [gem_link ....

    It's possible to have the shortcode list.

    Another quesiton: 

    in The gem -> Theme Option -> footer   
    I tried using both javascript and php to get the current year, but both don't work.
    Or I need a [gem_script shortocode to work?  :-)


    Thank you very much

     and congratulations for the theme, really well done

  •  7,092
    Oliver replied

    Hi,

    Can you make screenshot what you need to achieve in the end?

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  7,092
    Oliver replied

    I tried using both javascript and php to get the current year, but both don't work.
    Or I need a [gem_script shortocode to work?  :-) 

    In this case it will be easier to change template:

    wp-content/themes/thegem/footer.php

    line:

    <div class="col-md-3 col-md-pull-9"><div class="footer-site-info"><?php echo wp_kses_post(do_shortcode(nl2br(stripslashes(thegem_get_option('footer_html'))))); ?></div></div>
    

    Before the editing copy this file to the main folder of the child theme for the safety feature updates.



    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • starlinespa replied

    Hi, 

    in The gem -> Theme Option -> footer  

    i wrote
    Copyright © 2019    

    I need to dynamic year in the footer

    <script type="text/javascript">
     document.write(new Date().getFullYear());
    </script>

    or 

    <?php echo date("Y"); ?>

    doesn't work.

    Is there a shortlink to do this?


  •  7,092
    Oliver replied

    Hi,

    pls. give me the FTP access, install and activate child theme

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • starlinespa replied

    I hadn't seen your second answer ...

    i changed the file.... now work's!


    thank you 

  •  7,092
    Oliver replied

    You're welcome!

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver