grab specific content from a website into a wordpress page
-
Hi, try to grab specific content from a website (have permission). But instead of grabbing the whole page I want to grab the content surround within the div named ‘main’.
I have the following so far but this just displays the whole page.<?php $ch = curl_init("https://www......."); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); curl_close($ch); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘grab specific content from a website into a wordpress page’ is closed to new replies.