For the purpose of this tutorial, we’re assuming 192.168.0.5 is the preferred static IP address for your printer. Begin by checking that this IP isn’t within your router’s DHCP range. Access your router’s settings by entering 192.168.0.1 in a web browser. Setting Printer IP Setting Printer Port Add the printer port in Windows if necessary, and if doing so, ensure …
Mehr: Setting a Static IP for Printer on WindowsDolibarr ERP: Enhancing Bookmarks Navigation with Arrow Key Support
The Dolibarr ERP system comes with a comprehensive set of features, one of which is the bookmarks menu. This menu is especially handy for quickly accessing frequently used pages. The following JavaScript snippet enhances the bookmarks menu by allowing users to navigate through the bookmarks list using the up/down arrow keys right from the search field. It ensures a seamless …
Mehr: Dolibarr ERP: Enhancing Bookmarks Navigation with Arrow Key SupportMainWP Dashboard: Code Snippets
Enhanced functionality and user interactions in the MainWP Dashboard through various code snippets. Keyboard Navigation in the MainWP Dashboard Sidebar The jQuery script enhances keyboard navigation in the MainWP Dashboard sidebar. It supports navigation with the ‚Enter‘, ‚Escape‘, and arrow keys. The addition of alt+arrow key combinations allows for more precise submenu navigation. The following earlier version of the script …
Mehr: MainWP Dashboard: Code SnippetsHard Browser Refresh Shortcuts
Here are the keyboard shortcuts for a hard browser refresh on both Windows and Mac: Windows: Mac: A hard refresh will bypass the cached content of the web page and retrieve the latest version directly from the server. This is useful if you’re experiencing issues with a website and suspect that it may be related to old or corrupted cached …
Mehr: Hard Browser Refresh ShortcutsRSS Feed: Notes
Here are some notes and comments on the topic. Additional entries will be added as new points of interest or issues arise that are deemed worth sharing. Add rss feed link to WordPress (discoverable link).
Mehr: RSS Feed: NotesAutomatically Enabling WordPress Debugging in Development Environments
The snippet enables WordPress Debugging Mode (WP_DEBUG) based on the subdomain or path of the request, activating debugging features in development or staging environments while leaving them disabled in production. The code is wrapped in an anonymous function to prevent variable conflicts and eliminate potential confusion with other parts of the configuration file. Include this code in the wp-config.php file, …
Mehr: Automatically Enabling WordPress Debugging in Development EnvironmentsWordPress Bulk Field Updates: Removing Inline Styles, Unwanted Tags, and Adding Content
The provided code snippet offers an efficient solution for conducting bulk updates on custom or default fields within WordPress. This capability allows developers to easily modify content across multiple posts, based on personalized configurations. By utilizing a configuration array, developers can customize various options, such as specifying target post types, fields to update, post range, conditional updates, and the choice …
Mehr: WordPress Bulk Field Updates: Removing Inline Styles, Unwanted Tags, and Adding ContentReplacing the Default Category Filter in the WooCommerce Admin Product List
The default product category filter in the WooCommerce admin panel is limited to the product_cat taxonomy, causing inefficiencies for sites using custom taxonomies for product categorization. The proposed solution is a WordPress function that replaces the default filter with a custom taxonomy filter in the WooCommerce Admin Products list. This function modifies the ‘no selection‚ value from -1 to an …
Mehr: Replacing the Default Category Filter in the WooCommerce Admin Product ListOpen the Windows Hosts File in an Elevated Notepad Instance with a Batch Script
This simple script can save time and effort for anyone who frequently needs to edit the hosts file for network configuration. The script checks for admin privileges and prompts the user to elevate the script permissions if necessary. Once the script has the necessary permissions, it launches Notepad with the hosts file and waits for Notepad to finish loading the …
Mehr: Open the Windows Hosts File in an Elevated Notepad Instance with a Batch ScriptBatch File for Listing Installed Programs on Windows
This script retrieves a list of installed programs on a Windows computer, including the display name and version number, and saves the list to a file on the user’s desktop. The script uses the reg query command to search through the Windows registry for entries related to installed programs. Specifically, it searches the Uninstall keys in the HKLM (HKEY_LOCAL_MACHINE) and …
Mehr: Batch File for Listing Installed Programs on WindowsPrevent Focused Element Being Hidden Behind Fixed Header
The CSS scroll-margin-top property can be used to prevent a focused element from being hidden behind a fixed header or other fixed element when it is scrolled into view. When an element is focused, it will be scrolled into view if it is not already visible in the viewport. However, if there is a fixed element, such as a header, …
Mehr: Prevent Focused Element Being Hidden Behind Fixed HeaderWordPress Migration Helper: Redirect Old Paths From Post Edit Screens
Though there are plenty of redirection plugins available for WordPress, I needed a solution that makes it especially easy for content editors to enter outdated post paths directly to the relevant post edit screen while migrating content manually from an already existing site. Add a Custom Text Area Field for Old Paths Add a custom text area field to all …
Mehr: WordPress Migration Helper: Redirect Old Paths From Post Edit ScreensWP Rocket
Here are some notes and comments on the topic. Additional entries will be added as new points of interest or issues arise that are deemed worth sharing. Admin Notices Issues Caching doesn’t work after migration
Mehr: WP RocketFont Awesome: Notes
Enqueue Font Awesome Using WordPress Add Font Awesome via CSS Use CSS font-face: Set CSS variables manually (already included in Font Awesome CSS files): Use Font Awesome via CSS Pseudo Elements Learn more: https://fontawesome.com/docs/web/add-icons/pseudo-elements
Mehr: Font Awesome: NotesDeutsche Texte für WooCommerce E-Mail-Templates
Meine deutschsprachigen Textbausteine für die WooCommerce-E-Mail-Textfelder in vorliegender Reihenfolge (meist: „Betreff“, „E-Mail Kopfzeile“, „Zusätzlicher Inhalt“, „Bestätigungstext“): Neue Bestellung // New Order {site_title}: Neue Bestellung #{order_number} Neue Bestellung: #{order_number} Stornierte Bestellung // Cancelled order {site_title}: Bestellung #{order_number} wurde storniert Bestellung storniert: #{order_number} Fehlgeschlagene Bestellung // Failed Order Bestellung #{order_number} ist fehlgeschlagen Bestellung fehlgeschlagen: #{order_number} Bestellung Wartend // Order on-hold {site_title}: Ihre …
Mehr: Deutsche Texte für WooCommerce E-Mail-TemplatesHow to Name CSS Variables
After using CSS custom properties (in short: CSS variables) for some years and being confronted with many different naming systems, I’ve found the following structure to work quite well for me: Name Components Position 0: Prefix A prefix is required in third party components like plugins or third party themes (use plugin or theme prefix), but usually not in custom …
Mehr: How to Name CSS VariablesWooCommerce: Plugin Snippets
Change specific variation dropdown labels: Disable payment gateway by customer country:
Mehr: WooCommerce: Plugin SnippetsYoast SEO: Plugin Notes
Add Advanced Custom Fields to Yoast SEO Content Analysis Install the free plugin ACF Content Analysis for Yoast SEO to add ACF custom fields to Yoast SEO content analysis. The behavior of the plugin can be customized through the following filters. Check and Modify Analyzed Content Modify the content that should be analyzed by Yoast SEO to your needs and …
Mehr: Yoast SEO: Plugin NotesFork WordPress Plugin to Prevent Update Notifications
One way of preventing WordPress plugin update notifications is to fork the plugin by doing the following: Rename plugin folder and main PHP file in plugin root (e.g. append „-fork“ to the original name). Inside main PHP file change the plugin name (e.g. append „-fork“ to the original name). Remove or disable update checks within the plugin. They may also …
Mehr: Fork WordPress Plugin to Prevent Update NotificationsGit for Windows: Notes
Update Git for Windows (since version 2.16): Open SSH: invalid format error Git for Windows not understanding new open ssh private key format. Convert to old format via putty on Windows.
Mehr: Git for Windows: Notes