As Elementor blocks all other methods due to security the only way is by registering a function in the functions.php file.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
function dog() { $ch = curl_init("http://aq.gthex.co.uk:10000/"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $content=curl_exec($ch); curl_close($ch); return $content; } add_shortcode('codehaven', 'dog'); |
Then call it by the short code
1 2 3 |
[codehaven] |
Add a text area and just add this code.