Skip to content
Home
Services
Portfolio
Website Projects
Graphic Design Projects
Testimonial
Blog
Menu
Home
Services
Portfolio
Website Projects
Graphic Design Projects
Testimonial
Blog
HIRE NOW
Display Current Year in WordPress
By
Nahid Mahamud
January 9, 2020
8:13 pm
Code Snippet
,
WordPress
Share Now
function currentYear( $atts ){ return date('Y'); } add_shortcode( 'year', 'currentYear' );
Nahid Mahamud
Web Developer | Graphic Designer | WordPress & Woo-commerce Expert
Important Read
How to add title on Featured Image for GeneratePress Theme
Create username from email address provided – JS
Set default date in datepicker on ACF
How to Add Post Featured Image on Admin Column
Remove Product from WooCommerce Minicart Using AJAX
How to create Minicart in WooCommerce
Related Posts
How to add title on Featured Image for GeneratePress Theme
Read More »
October 19, 2022
No Comments
Create username from email address provided – JS
Read More »
September 22, 2022
No Comments
Set default date in datepicker on ACF
Read More »
September 22, 2022
No Comments