Problem: When creating a custom language switcher for TranslatePress: $arr = trp_custom_language_switcher(); $arr returns a multidimensional array with all necessary parameters to render a custom language switcher within a loop. In the frontend, however, when the foreign language was activated [...]Read
🤓 The technology shed
The technical docs and snippets are guides, templates and tools for web programmers. If you find something useful for your project, you are welcome to copy and use it...
Elementor Pro has a widget called "Search Form". This is suitable for the pretty design of search forms. Unfortunately, this search form is limited in terms of programming. Question: How can I modify the Elementor search form so that I can restrict the search to certain content types [...].Read
With the posts widget in Elementor, you can easily display other posts, pages, products or custom post types (CPT) on a page in a loop. The only tricky part is when you want to combine the content [...]...Read
Appearance: Issue commands via WP CLI, but WordPress in the browser works. This error often occurs when the WP CL interpreter cannot correctly interpret the database connection in wp-config.php. Solution: In 99% of all cases, change the value of the constant DB_HOST from [...]Read
This shortcode writes the copyright sign with the current year and other info. Useful for the footer of a website.Read
A WordPress shortcode to display the "Jump to main content" link in a frontend area.Read