About

Amateur hobbyist

28 Snippets
10+ Favourites
10+ Downloads

Display both published and modified date

‹?php // Code from codewp.ai function codewp_display_dates( $content ) { if(get_post_type() != 'post') { return $content;…

Dynamic copyright year using HTML

Adjust the styling either inline or using css

Post Shortcodes

estimated read time, breadcrumbs, related posts

Back to Top Button (copy)

Add a simple button to scroll back to top on the frontend.

Dynamic year for inserting copyright using only html with inline js

Adjust the styling either inline or using css. Either automatically add this to your site-wide footer,…

Normalize

Settings to normalize across browsers

Hide admin nags

.notice .is-dismissable { display: none; } /* In Wordpress, set this to be inserted into the…

Normalize CSS (The New Normal)

https://github.com/sarahschopick/the-new-normal.css.git https://github.com/sarahschopick/normalize-wordpress.git

Add dynamic copyright year

This shortcode will automatically add "Copyright © 2024" (or the current year).

Dynamic Shortcode Execution

Dynamic shortcode execution with block editor support. Allows shortcodes to execute everywhere, even within paragraph blocks.

Add dynamic copyright year (center) to footer

This shortcode will automatically add "Copyright © 2024" (or the current year) to the bottom of…

Dynamic logo sizing

Fix the issue where changing the logo size in the block editor breaks it. Dynamically adjust…

1 2 3