开发者

Wordpress: get link title

开发者 https://www.devze.com 2023-02-03 07:15 出处:网络
I want to use the jGrowl plugin with my custom wordpress theme. my case: you click on a link and a growl-like message box opens. My message should be the link\'s title text.

I want to use the jGrowl plugin with my custom wordpress theme. my case: you click on a link and a growl-like message box opens. My message should be the link's title text.

But how can I echo/display this title? where can I get it from? I already did some resear开发者_运维知识库ch but couldn't find any solution.

(I really don't mean "the_title()" .. more like this one <a href="" title="">


just google it: "php get title from url". You'll find some php classes. You can use them to get Title of page from given url and use it in jGrowl. Cheers!

0

精彩评论

暂无评论...
验证码 换一张
取 消