Puddinq.com sharing knowledge

Laravel Valet 4 custom local WordPress driver for custom WordPress file path

Laravel Valet 4 custom local WordPress driver for custom WordPress file path

Using valet has been a joy for years, but my custom local valet driver stopped working after updating to the latest valet (4.1) version due to a different driver folder and the use of namespace (fully php 8 mode). So I updated my local driver for WordPress projects where I hold the WordPress files in […]

Admin bar

Create custom tables in WordPress

It is advised to use the default database structure with custom posts and meta fields to store information, but sometimes when you have specific needs or want to scale the proportions of what is happening you want custom tables for your data. Here is a snippet that uses the global $wpdb end a default function […]

Working with SVN in the WordPress repository

Most developers are familiar working with git. But once you have submitted your plugin to the WordPress repository and your plugin has been approved you can not ignore the fact you will have to work with SVN. Content of this article Tools used in this article First time adding your files Editing your files Commands […]

Change breakpoint in Homestore and Storefront

(not advisable setup) You can run in a payed child theme (Homestore) for Storefront. Changing styling in the stylesheets can be a nightmare. In a situation where you only want to change the breakpoints this script can help you. For general supplements to the styling it is advised to create a plugin that adds an […]

Compiling scss in PhpStorm for your wordpress theme (windows)

In the beginning of working with sccs I used gulp in the commandline to manually run a gulp file, or used screen to have  a process running continuesly while using my console for aither things like wp cli. But I have switched, and now with pleasure I am using PhpStorm to do it for me. […]

ACF code field - SyntaxHighlighter Evolved

syntaxhighlighter evolved

In this new project I wanted to hav an ACF repeater field with the SyntaxHighlighter Evolved code block in it. The code would not render anyway I tried to output it in my template. I have had a look in the ‘SyntaxHighlighter Evolved code’ plugin and found there were three hooks (saving, calling and rendering) […]

WordPress - Can not activate theme

When you have installed your theme, and you can see it under appearance, but you can not activate it. There is a good chance your setup does not meet the requirements. The buttons will show like: Your theme will have requirements, specified in the style.css for your theme. If your setup (php, WordPress) does not […]

1 2 3 8