WordPress from url get external source title
-
Hi I am building a news website. I am trying to automate it.
- News url (metabox)
- Title
- Content area
- Image (featured image option on wordpress)
When paste the site url I would like the other metabox to pull the data from the source https://www.bbc.co.uk/news/technology-34527439
I want title and description to pulled form bbc website
News url: https://www.bbc.co.uk/news/technology-34527439
Title: Should be fetched from<title>
Content area: should be from<meta name="description".>
Image: Should be first image on the contentI see you can use php cURL any more pointers to wordpress would be much appreciated https://www.php.net/manual/en/curl.examples-basic.php
Thanks
- The topic ‘WordPress from url get external source title’ is closed to new replies.