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 articles
  • Shortcode E-Mail Obfuscator

    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...

    To the article...
  • Shortcode for a copyright sign with current year date

    This shortcode writes the copyright sign with the current year and other info. Useful for the footer of a website.

    To the article...
  • Left "Skip to Main" (Skip to Main)

    A WordPress shortcode to display the "Jump to main content" link in a frontend area.

    To the article...
  • Show Custom Post Type in the Admin menu of another Custom Post Type.

    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....

    To the article...
  • Hide menu item "Posts" in WordPress Admin menu

    With the help of this gist (in functions.php) you can hide the menu item "Contributions" in the admin menu.

    To the article...
  • Give WordPress Editor Customizer rights

    This snippet gives a user with the editor role the rights to change the Customizer (Design -> Customizer) settings.

    To the article...
  • Jquery snippet for WordPress admin menus: Confirmation before leaving the website

    To the article...