Websitegärtner's tool shed.
A completely disorganised collection of short technical documentation, instructions and templates for self-service. Many of the snippets helped us with web development at the time, but consider the creation date of the contributions as the best-before date, because some of them are no longer "up to date".
Snippet" section.
View all articlesShortcode E-Mail Obfuscator
To the article...The following shortcode snippet is useful for disguising emails to protect them from SPAM. Please note that this method only works if Javascript is activated...
Shortcode for a copyright sign with current year date
To the article...This shortcode writes the copyright sign with the current year and other info. Useful for the footer of a website.
Left "Skip to Main" (Skip to Main)
To the article...A WordPress shortcode to display the "Jump to main content" link in a frontend area.
Show Custom Post Type in the Admin menu of another Custom Post Type.
To the article...Insert this snippet into the CPT configuration and change it accordingly to display a CPT in another CPT. Useful for cross-references or relations between CPTs....
Hide menu item "Posts" in WordPress Admin menu
To the article...With the help of this gist (in functions.php) you can hide the menu item "Contributions" in the admin menu.
Give WordPress Editor Customizer rights
To the article...This snippet gives a user with the editor role the rights to change the Customizer (Design -> Customizer) settings.
Jquery snippet for WordPress admin menus: Confirmation before leaving the website
To the article...