Insert Year HTML Snippet, Remove line break
-
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.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Insert Year HTML Snippet, Remove line break’ is closed to new replies.