4briang
Forum Replies Created
-
Forum: Plugins
In reply to: [Portfolio Post Type] Doesn’t work with php 8.2This was added in error.
Forum: Plugins
In reply to: [Yoast SEO] /wp-admin/admin-ajax.PHP Blocked due to other 4xx issue@jodzeee PowerPack said they received my ticket. But haven’t commented further. My robots.txt did validate the error in search console this morning but now it’s given me a new error for /wp-admin/admin-ajax.php being blocked by robots.txt so adding Disallow: https://sitename.com/wp-admin/admin-ajax.php is not a fix.
- This reply was modified 1 year, 7 months ago by 4briang.
Forum: Plugins
In reply to: [Yoast SEO] /wp-admin/admin-ajax.PHP Blocked due to other 4xx issueI submitted this issue to the PowerPack team and they’re looking into it. In the meantime, I’ve set Disallow: /wp-admin/admin-ajax.php in my robots.txt and asked Google to validate the fix.
Forum: Fixing WordPress
In reply to: WordPress <= 6.1.1 – Unauth. Blind SSRF vulnerabilityAccording to the post from @sterndata , it uses the pingback functionality?of WordPress. So probably a good idea to uncheck pingbacks under /wp-admin/options-discussion.php. It seems like the security plugins should see that you’ve done this instead of just listing the vulnerability. I believe WPEngine is disabling the XMLRPC API although it might be on on older installed sites. Also the original post has a filter to add to functions.php of your child theme that can turn-off the pingback functionality globally. I believe this has been best practice since the vulnerability first came out.
Forum: Plugins
In reply to: [ACF: Better Search] Exclude posts from an author@mateuszgbiorczyk Thanks for the reply. I didn’t say anything was broken with your plugin. I’m sure there’s another reason the author filter wasn’t working. I actually want to hide specific posts if a user is not logged in. So that was simple enough with a quick change to the filter. You can close this thread for my purposes although I appreciate you making sure I’m set.
// remove posts from search if user is not logged in add_filter( 'pre_get_posts', 'exclude_pages_search' ); function exclude_pages_search($query) { if ( $query->is_search && !is_user_logged_in() ) $query->set( 'post__not_in', array( 11, 22, 33, 44, 55 ) ); return $query; }
Forum: Plugins
In reply to: [ACF: Better Search] Exclude posts from an authorWow, thanks for the quick answer. That isn’t working for me but this one is so I’m covered. Thanks again.
add_filter( 'pre_get_posts', 'exclude_pages_search_when_logged_in' ); function exclude_pages_search_when_logged_in($query) { if ( $query->is_search && is_user_logged_in() ) $query->set( 'post__not_in', array( 11, 22, 33, 44, 55 ) ); return $query; }
You can set your home page to a static page under settings > reading settings. First create a page that you want to select to be the home page though. Most themes are to set to display specific content on the home page, others are not.
Yes, I was concerned about the curse of the curly quotes on paste but it was fine. Still crashing one site but I have some other events customizations there that I think are conflicting. Tried it on another site’s functions.php and your code works beautifully. This will be my goto fix until the Yoast and TEC teams end their conflict. Thanks!
- This reply was modified 2 years, 7 months ago by 4briang.
Thanks for posting that. For some reason, the function gave me an error running in functions.php on WPEngine but i was able to find a fix for another search console error here in case it helps someone else: https://theeventscalendar.com/known-issues/#event-status
Forum: Themes and Templates
In reply to: [Astra] Mobile Breakpoint (new astra Builder)@bsfherman Cool. So glad this is solved.
Forum: Themes and Templates
In reply to: [Astra] Mobile Breakpoint (new astra Builder)Lack of a breakpoint adjustment makes the Header builder unusable for longer primary menus. Maybe just stop calling the theme “Fully Customizable”.
I had the same or a similar issue. Here’s the css from support that fixed it:
.leaflet-rrose-content:focus { outline: none; }
Forum: Plugins
In reply to: [Genesis Testimonial Slider] JS error on latest WPI’m seeing “(index):119 Uncaught SyntaxError: Unexpected token ,” in the console as well.
Genesis Sample or Gallery Pro
Genesis
WP 4.7.4
Genesis Testimonial Slider 1.2.2All other plugins deactivated.
Forum: Plugins
In reply to: [WP Encrypt] Compatible with WPENGINEWPEngine has started rolling out support through their own proprietary panel to support automated installation and renewal of Let’s Encrypt SSL certs. The functionality showed up for me last week.
I’m hoping to find a solution very similar to what @henryleo describes except I would like to base the attachments on selected checkboxes within the form entry allowing the user to select which attachments they want to receive.
I can do it with the built-in gravity forms conditional logic but with 5 choices there would be 31 permutations.
Thanks in advance for any thoughts.
-Brian
PS – your donate button on the plugin goes to example.com