Id like to have wordpress automatically wrap a div around any iframe or embed when […]
Tag: the-content
How do I add the featured image to the_content after the first paragraph?
My problem: I’m trying to create a filter that will add the featured image of […]
Proper use of the_content filtering
This is a bit difficult without posting scads of code, but my question is: What […]
How to check if this is the nth instance of a given shortcode in a post
Suppose I have a shortcode called [item], which I have used 20 times in a […]
Replacing with(out) regex link to attachment by links to files
I tried to do it myself but I have really hard time with Regex (regex […]
Insert Ad Code in the Middle of a Post
I want to insert an ad code in the middle of a post via functions.php. […]
Rendering Custom Post Types independently of the theme in use
By using a plugin called “Custom Content Type Manager”, I have implemented in my blog […]
Accessing Media/Files outside the_content
I’m building a site and each post has a PDF file attachment. Is there a […]
add data-attribute to all images inside the_content()
I wonder if it’s possible to add a filter to all images inside the_content() to […]
Using preg_replace to separate gallery from the_content?
In a WordPress theme, I need to separate a gallery from the rest of the_content. […]
No More Posts Available.
No more pages to load.