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".
Category "WordPress".
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...
TranslatePress renders individual language selector for default language incorrectly
To the article...Problem: When creating a custom language selector for TranslatePress: $arr = trp_custom_language_switcher(); $arr returns a multidimensional array with all the necessary parameters to create a custom language selector....
How to search only for specific content types with the Elementor search form?
To the article...Elementor Pro has a widget called "Search form". This is suitable for the attractive design of search forms. Unfortunately, this search form is limited in its functionality. Question:...
Elementor posts widget fill with ACF relationship field
To the article...With the posts widget in Elementor you can easily loop other posts, pages, products or custom post types (CPT) ( =...
Elementor popup / flyout menu no longer closes for mobile view
To the article...Elementor: Version 3.72 Behaviour: An Elementor popup opens, but no longer closes (when clicking on the icon or Esc or other triggers). If you look in the...
WP CLI Error: Error establishing a database connection.
To the article...Appearance: Submitting commands via WP CLI, but WordPress in the browser works. This error often occurs when the WP CL interpreter is not able to recognise the database connection in wp-config.php....
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.