Trigger plugin activation function on new WordPress Network site.
When moving your WordPress website, the site’s URL can be saved in the database in many places. Find the easy way to change all of the URLs using a PHP script to search and replace the database for your development or staging URL and replacing it with your new URL.
Today we look at making a WordPress page appear to be the ancestor of a single custom post type by filtering the classes on wp_nav_menu.
Jon Brown has a very nice post up on his blog with some tips for better local development with WordPress. There are a lot of ways to go about this, but I like the way Jon organizes things. h/t Ben May.
It shouldn’t be this complicated… Nice end result though, by using “a potent combination of MDX and MJML.” Josh Comeau explains his workflow from Markdown to static site publishing and an email newsletter. It’s a complex arrangement, but doing it with WordPress is not easy or simple either. Josh writes: Being able to write newsletter…
This episode modifies the ICS calendar feeds so that we can accept an author parameter and send only the posts that match the author provided.