Aleš Sýkora wrote

Current Year for Copyright in WordPress and Oxygen Builder

Would you like to insert the Copyright information in footer of your website with current year? Use the PHP function Date() with format Y for current year.

Normally it looks like:

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

In Oxygen Builder you can use the Dynamic data > PHP function return value, which generates this shortcode:

[oxygen data='phpfunction' function='date' arguments='Y']
Date function in Oxygen Dynamic Data

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More from category
Aleš Sýkora wrote
Oxygen Pro Menu Entire Parent Toggle Dropdown not working
22. 3. 2021 in ,
If you want to have your dropdowns shown in mobile menu with toggle, you are propably using Oxygen’s Pro menu option “Entire Parent Toggles Dropdown”. And it works fine, in most cases. But there is an issue with custom links. If your link uses # then this option doesn’t work. You need to use /# […]
Read More
Aleš Sýkora wrote
Oxygen Repeater Pagination not working on homepage
When you use repeater on static front-page of your WordPress site and you also wants to use pagination – it doesn’t work at all. It stops at /page/2 and never display /page/3. It still repeat the second page. However – it looks like Oxygen bug, but it is not. As you can see: To […]
Read More
Aleš Sýkora wrote
Disable Woocommerce image zoom on hover in oxygen
19. 11. 2020 in ,
Add this to custom snippets. Or put in custom funcionalities plugin. Dont worry, lightbox will be working. Then the magnyfing glass icon dissapears, the over effect is gone, but the lightbox works perfect :-).
Read More
magnifiercross linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram