0
votes
2answers
25 views

Retrive images from the_content()

I would like to get the images from the_content(), I know I could use a regex to get the images but I wanted to know if there is any other more 'wordpress way' for doing this? I have this within a ...
0
votes
2answers
139 views

add_filter the_content in functions.php not working

I want to add_filter for the_content in functions.php of my theme. I have added code which just display echo but it seams that my filter is not applied. function add_mod_hatom_data($content) { // ...
0
votes
0answers
44 views

the_content not including blog image URLs

I am using the jQuery Image Lazy Loading Plugin on my WP 3.3.1 blog, however I have found that the_content does not include the image URLs, so the preg_replace that this function does cannot find any ...
1
vote
1answer
49 views

Plugin Using get_the_content Causing Issues With <!--more--> Tag

I'm testing out the Woothemes "Our Team" plugin to see how it works for future project purposes. The plugin uses at CPT for Team Members as well as a shortcode to allow users to display members on a ...
0
votes
1answer
42 views

how to change automatic placing of social plugins below content?

I'm wondering if it possible to change the automatic place below the_content() function; this is becuase I`m displaying custom information fields, but activating the social plugins which have not it´s ...
1
vote
2answers
49 views

Adding a form at the end of the content

I'm trying to add a little form after each post for a plugin I have to code, but I'm not very familiar with Wordpress. By using add_action with the_content as hook, I was able to add some text to the ...
0
votes
1answer
29 views

This Wordpress plugin isn't creating links correctly

To get my PHP and Wordpress skills, I've been trying to code a small plugin a day. Today's project was to create a plugin that searched over every word in my posts, checked if ...
2
votes
1answer
121 views

Modify the_content after the more tag

I have created a custom plugin that pulls video and images out of a post and puts them into a nicely formatted set of galleries. The only problem is that the plugin doesn't allow me to put a video or ...
0
votes
2answers
154 views

how to place a link on the first post only using a plugin

i want to add a link to the first post of every WP blog that i have. For example this simple function adds the link to every post. function add_link($link){ $link .= '<a ...
0
votes
1answer
261 views

Filters on the_content with plugins, pages and shortcode

I am using a plugin to add tweet, likes... This plugin add filters to the_content() to display this social buttons on a blog page (list of posts). I coded a shortcode which does a custom SQL query ...
0
votes
1answer
690 views

Add custom PHP and HTML to the_content()

I am developing a wordpress website on the thematic framework. In my child theme i have made a full width page template called resources.php In this page template i have written custom php code which ...
3
votes
1answer
419 views

WordPress adding <br> tags into plugin content

We've written a plugin that shows reviews upon usage of a shortcode. On some sites, Wordpress is adding <br> tags throughout the shortcode content, and others it does not. The shortcode works ...