Insert Year HTML Snippet, Remove line break

[ad_1]

Hey Snippets

Your awesome plugin comes with a sample HTML snippet that insert present year with a shortcode.

Snippet

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

Shortcode

[code_snippet id=4 network php format]

It works well but also adds linebreak before and after, or clear both etc. Can I somehow show this inline for my copyright line thx.

Just to clear up confusion. First 2023 is entered manual. Second is this snippet, that hopefully flips after new year, and then showing an always updated copyright line.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer