Remotely get WordPress theme version

Please check out this answer to a similar question about regex for getting info from the theme’s style.css. When it comes to the second part of your question – if you are concerned about page load times, you could always use AJAX to get the information about each theme separately. You would display the page … Read more

GET web api method from a WordPress PHP script

wp_remote_get was causing the issue and switch over to a curl solution. The code below replaced my old solution: $serverIP = ‘x.x.x.x’; $serviceAPI = ‘/Get_VacationRequest’; $jsonData = urlencode(json_encode($_REQUEST)); // Set up the server information where we will consume the API $url=”http://” . $serverIP . $serviceAPI . ‘?name=” . $jsonData; // Start the curl session $curl … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)