Getting post meta in the flex slider

It’s a bit tricky to provide the solution that would work for you without full HTML. I’ve checked the linked page, but there’s no pagination there (I’ve searched for flex-control-nav that you mentioned and didn’t find it). So my solution comes from the code that you provided and from the HTML that I’ve seen on … Read more

Ajax not posting form data to query in PHP function

I have probably found the problem (after our little discussion). For me it looks like the $postcode isn’t send. Check the “Headers” tab from you screenshot – there would be info about the POST variables that were or weren’t sent. If the $postcode isn’t send, you get from the query probably the codes that are … Read more

Is it possible to hide media details sidebar when wp.media popup is being opened?

Ok, It’s been so long since I posted this question I totally forgot about it. I finally used popup.on( ‘open’, function() {…}); to remove left modal sidebar. Here we go: popup.on( ‘open’, function() { jQuery( ‘.media-frame-menu’ ).remove(); jQuery( ‘.media-frame-router, .media-frame-title, .media-frame-content, .media-frame-toolbar’ ).css({‘left’: 0}); }); That’s it 🙂 EDIT I managed to hide right hand … Read more