I’ve written a filter function to replace all image URLs in a post with URL […]
Tag: regex
WordPress modify GET method parameters
I’m working on a custom filtering to pass the parameters to the page url when […]
Changing code from regex
I have the following 2 sets of code (WordPress) using regex, but I was told […]
Custom rewrite_rules – only pass numbers and not alphabetic characters
I’m trying to add a rewrite rule to pass a var to a custom page […]
Javascript to pull attributes from shortcode string
I have a Javascript application which retrieves shortcode stings from a WordPress database. So I […]
Regular expression for add_rewrite_rules with at least one hyphen
I’m working with a regular expression for WordPress’ add_rewrite_rules. My goal is to match URLs […]
RedirectMatch example.com/post-slug to example.com/post/post-slug
I have built a custom WordPress theme that displays posts in a modal from the […]
Regular Expressions (Specifically preg_split() PHP)
I’m listing out some dates in my PHP application which results in something like the […]
What is the structure of the “Featured Image” field in the DB?
On a WP install with about 1400 images and the Media Tools 1.1 plugin, I […]
Allowing shortcodes inside attributes
I want to do a Wikipedia-like infobox for some articles on a WP site. I […]
No More Posts Available.
No more pages to load.