Add Website Year - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Add Website Year

Laurent

Laurent

SP Page Builder 5 months 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.

0
6 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 5 months ago #193717

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.

0
Laurent
Laurent
Accepted Answer
5 months ago #193720

ok understood thanks

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 5 months ago #193709

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.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 5 months ago #193710

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

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

0
Laurent
Laurent
Accepted Answer
5 months ago #193713

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?

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 5 months ago #193711

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.

0