Check if a new WordPress post is successfully published with jQuery

I have replace the answer I gave yesterday with this newly updated and tested version. I also added some code to test with that changes Publish to Update after 6 seconds. Please give it a shot. <input type=”submit” name=”save” id=”publish” class=”button button-primary button-large preventDefault” value=”Publish”> <script> var publishButton = document.getElementById(‘publish’); var checkPublishStatus = setInterval(function() { … Read more

Styles not showing up in WordPress site

I usually append a random number to the end of the stylesheet while in development mode, if I upload the file to the production server I manually change the version number like this: // Version – to prevent caching $version = mt_rand(1000, 100000); // $version = 1.0.0.0; // Enqueue CSS function wpb_enqueue_styles() { global $version; … Read more

Get Sub-Menu Dropdown to Show Over Page Content Avada

This is a relatively simple CSS issue. I just checked your output HTML and located the top most parent container for the navigation. Then I added, in dev tools the following CSS: .fusion-tb-header .fusion-fullwidth{ position: relative; z-index: 100; } That essentially moves the navigation’s parent container row to sit above (on the Z axis) the … Read more

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