Google flagged a wp-admin redirect as phishing

Did you end up figuring out the cause of this? I’m getting the same problem. WordFence isn’t detecting any changed files. I’ve been trying to correct it for a couple days now. There wp-login.php is very simple. No scripts loading there that shouldn’t be there. I wonder if Google’s systems view the wp_attempt_focus() function on … Read more

Only display notification on single post

I think the solution is to check if it’s the main query. WordPress has a function for that, is_main_query() The query that you’re running in your related posts widget is a secondary query, so is_main_query() will return false. You can take advantage of that, by changing your code like this: if ( ! is_main_query() || … Read more

how to open my existing site on mamp

After weeks of trial and error I have the solution. Start Over! Delete Mamp. Re-download it and wordpress and follow this link enter link description here to the letter. It took me several tries but I got it working. I then made a packet with duplicator pro and pasted both the archive and installation.php file … Read more

Style Radio Buttons inside Edit Page (Custom Fields)

Add your styles to /your-theme/admin-edit-post.css .inside ul.acf-radio-list.radio.horizontal li label { /* styles… */ } Then enqueue the styles by adding this to your theme’s functions.php: function wpse250000_admin_styles( $hook ) { // Bail if we’re not on the post.php admin page if ( ‘post.php’ !== $hook ) { return; } // Ensure we’re looking at a … Read more

Permalink base only for posts

To get your desired structure: Go to Settings > Permalinks in Admin. Under Common Settings, click Custom Structure and enter /blog/%postname%/ Click Save Changes button. This sets the permalink structure for posts. Pages already appear at at the root of your install, so no modification is needed for that.