Is it OK to ask questions about wordpress development here? Either way I have a plugin that displays some information from our site alternativeto.net to put some HTML in a post. The plugin is located here:
The problem is that when the post is displayed our content is added to the post by JavaScript, so we always get "fresh" data Therefore, WordPress does not send a pingback to the URL that the plugin will add to the post and the author does not get the link back through our pingback system.
I need to see in a way the content of the posted post, our shortcode gets, changes the URL to the URL, and adds that URL to the list of URLs in Ping.
How does anyone have any suggestions on this? I am not experiencing this with either PHP or Wordpress Please be gentle :)
If you All need to purse the content of a post for a brief tag and when the post is provided, replace it with another value, check the "the_content" filter hook:
The source for this Take a look at the code It looks at the content of a post and the post ID is divided into two square square brackets (like [[123]] Finds and changes with the contents of that post ... that looks like the same line as you are targeting (well or short)
Hope there is some help! < / P>
No comments:
Post a Comment