Extracting comment url from wordpress function -


I am developing some AJAX scripts and using WordPress and I have a question: is there any way to remove a URL Is there a way to have WordPress functions anyway? The function that I am using in the loop looks like this:

  & lt ;? Php comments_popup_link ('Discuss & amp; # 187;', '1 Comment & # 187;', '% Comments & amp; # 187;'); ? & Gt; & Lt ;? Php edit_post_link ('edit', '|', ''); ? & Gt;  

And its HTML output looks like this:

  & lt; A href = "http://www.somepage.com/staging/2010/6/15/sudfasfregw/# response" title = "comment on sadfasfregw" & gt; & Lt; Span class = "dsq-postid-17546" & gt; View comments & lt; / Span & gt; & Lt; / A & gt; & Lt; One class = "post-edit-link" href = "http://www.somepage.com/staging/wp-admin/post.php?action=edit&post=17546" title = "edit post" & gt; edit lt ; / A & gt;  

However, I'm only interested in src () from there to find a way to get it and then use it in the latter context? Is there any kind of function or something in WordPress? Thanks in advance for any responses!

  & lt; Php $ comments_url = get_permalink (). '#respond'; ? & Gt;  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -