Bloginfo get WordPress site using the name and homepage link
Use a:
BLOG_TITLE $ = get_bloginfo ( 'name' ) ; // get the name of the site linkzmki $ = get_bloginfo ( 'url' ) ; // Gets Home Links
$ BLOG_TITLE echo // Results: Drill Mans blog
$ linkzmki echo // result: https://www.zmki.cn
Usage of Two
< PHP? Bloginfo ( 'name' ) ; ? > // result: Diamond Mountain blog < ? PHP bloginfo ( 'url' ) ; ? > // result: https: //www.zmki.cn
Examples
Original link: Drill Mans blog
Acknowledgments: