AThomas92
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Open link in new tab from contact form 7Turns out this isn’t just a Contact form 7 thing, it’s site-wide. WordPress is removing all my target=”_blank” attributes. I’ve tried using the visual editor instead of text editor and checking the ‘Open link in new window’ box, but that doesn’t work either. Does anyone how to fix this?
Forum: Plugins
In reply to: Having trouble querying posts in the loopIt seems the problem was with my compare query:
'meta_query' => array( array( 'orderby' => 'broadcast-date', 'key' => 'broadcast-date', 'value' => $todaysDate, 'compare' => '>=' ), ),Apparently greater than or equal to doesn’t work as one string, so I’ve ended up going with this:
'meta_query' => array( 'relation' => 'OR', array( 'key' => 'broadcast-date', 'value' => $todaysDate, 'compare' => '>' ), array( 'key' => 'broadcast-date', 'value' => $todaysDate, 'compare' => '=' ), ),Forum: Plugins
In reply to: [Firelight Lightbox] Links to open lightbox are directing to a pageI’ve realised I’ve been a bit a plonker and I’d forgotten to deactivate a script that was causing this behaviour, so problem solved!
Thanks anyway
Forum: Plugins
In reply to: [Firelight Lightbox] Links to open lightbox are directing to a pageHi RavanH,
Thanks for getting back to me and sorry I’ve been so long replying.
No messages are appearing in the console (in Safari or Chrome), although in Chrome the lightbox does open briefly, until the page redirects. It’s on a dev site which I’ve got locked down so I don’t really have a live version I can show you unless you’re happy to PM me (can you do that through wordpress.org?) your IP so I can allow you access?
I use a free client called FileZilla, which you can then use to connect to your server (you’ll have to get the details from your hosting company – i.e. IP Address, password etc) and then you’ll be able to see all the files as if you’d opened a folder normally. Then you should be able to right click on your wp-config.php file and change the permissions so the the owner can write to the file.
Hope that makes sense and sorry for the delayed reply 🙂
Hi everyone, thanks for the replies. @b.V.Ramanarao – I’m going to give BruteProtect a go on your recommendation so I’ll let you know how I get on. Thanks 🙂
You can usually change file permissions with your FTP client, have you tried that?