Determining the WordPress active theme when you can’t access the dashboard.

There are times that you cannot access a WordPress website at all. White Screen, Fatal Errors, you name it. You can access via FTP and disable plugins by renaming the plugins folder. The same with the themes. However, from outside of the WordPress Dashboard you cannot really tell what is the active theme. If you […]

Retrieving selections from a multiselect Select Field with select2.js

Recently I needed to add a multi-select field to a project. I used the Select2JS library to achieve just that. Just to always remember, you can retrieve the selection with PHP (form handler) by setting the field’s name attribute to an array, e.g.: Then on the PHP form handler file you can catch the fields […]

Remove post types from the WordPress search feature

Edited: February 4th, 2023. The base content type structure in WordPress are posts. Pages, Comments, Attachments, etc., are posts in WordPress. Some plugins add their own custom post types to take advantage of the base content structure. For example, WooCommerce adds the ‘product’ custom post type. LearnDash, adds the ‘sfwd-courses’ custom post type for courses. […]

I have nothing to hide

Years ago, I was part of the “next shiny thing” tribe. Something new popped up, that something I had to buy it. A new Twitter method, a new ebook, a new software tool, whatever, on how to make money online. That behavior was not healthy at all. But thanks to that, I stumbled upon an […]

Redirect visitors from the course page to the product or landing page in LearnDash

You have a course set to Closed access mode. That means users will purchase the course either through a third-party eCommerce like WooCommerce, or a membership plugin like Paid Memberships Pro. Sweet. When a visitor clicks the course from the course list, they are taken to the single course page by default. Then, they click […]