Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 07h 02m 56s
Claim 50% off
Solved SP Page Builder

Add website year

Asked by Laurent 1 year ago Last activity 1 year ago

Hi,

From HELIX this tag is added to display YEAR on footer => https://prnt.sc/AK50k-GiAwGF

How can I add the same from an sp page builder addons?

Thanks
L.

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
1 year ago · edited

Custom addon = coded by you or hired by you developer/freelancer.

Raw HTML addon as it names says is for HTML code only, not php - please read documenation ;p

For Joomla there are few modules where you can use custom php code inside, search on JED.

Laurent Asked this

ok understood thanks

3 more replies

Paul Frankowski Senior Staff

Hi L.

For that you need custom php code. And Custom php module, that you can later use inside Module addon.

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

date("Y") – will show current year, for example, 2025. As you see still quite easy.

Paul Frankowski Senior Staff
1 year ago · edited

Or you can create custom "year" Addon, that will show only that information.

<p>© <?php echo date("Y"); ?> CompanyName. All Rights Reserved.</p>

Laurent Asked this

when you say custom addon, you mean an addon coming from sp page builder ? which one ?

sp page builder html addon support this html / php tag?

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. To display the website year using SP Page Builder, You'll need to use a PHP function to retrieve the current year and display it on your page. In your site.php file, use the date('Y') PHP function to get the current year.

-Regards.

Log in to reply.