wjh
Forum Replies Created
-
Great, thank you very much!
We’re encountering the exact same problem. Our WP website is a multi-site install, if that helps.
Thank for your prompt attention to this matter.
Hi @mikes41720,
Thank you for your reply.
I can assure you that Google is refusing to index all pages they (rightly) consider ‘Profile Pages’ as long as the
mainEntityis missing.In the new topic I will create, I will provide screen shots from Google Search Console proving that these pages are indeed 100% excluded from search results.
See you on the other thread!
Hi @maybellyne, we’re having the same problem here.
My coding skills are poor, but I’m trying to put together a fix from various sources, including official Yoast tech doc.
Google Search Console is accurately identifying our Buddypress user profiles as Profile Pages, but the Yoast plugin is identifying them as Webpages, so I’ve tried adding this code to our theme’s functions.php file:
add_filter( 'wpseo_schema_webpage', 'yoast_buddypress_fix' ); /** * Changes @type of Webpage Schema data. * * @param array $data Schema.org Webpage data array. * * @return array Schema.org Webpage data array. */ function yoast_buddypress_fix( $data ) { if ( ! bp_is_user() ) { // if current page is not Buddypress user profile page return $data; } $data['@type'] = 'ProfilePage'; $data['mainEntity'] = 'Person'; return $data; }However, this is not overriding the Yoast schema output, which still indicates that the user profile is a simple Webpage, nor is it fixing the
mainEntityerror.Any help on getting this to work would be most appreciated!
- This reply was modified 2 years, 2 months ago by wjh.
Hi @jerparx,
We’ve just updated to 22.4 and this bug has still not been fixed.
We run a very popular directory for healthcare providers, and our members are increasingly angry about the fact that their profile pages are being blocked from Google search results due to this
Missing field βmainEntityβbug.Can you at least provide a workaround that we can add to our theme’s functions.php page, for example?
Thank you.
Hi, sorry for the late reply. Sure, here’s an example.
In the admin > Structured Data > Schema Types, we can add one for a Person and choose Main Entity of Page, but in the second dropdown list, there don’t seem to be any options for the user profile’s name, only the “author’s” name.
And for Placement, there is no option for User Profile (or similar).
Or are we barking up the wrong tree? (Sorry, we’re new to S&SD.)
Thanks π
Forum: Plugins
In reply to: [Zero Spam for WordPress] david walsh bugSame problem here. Native WPForms integration does seem to be broken, at least with regards to the David Walsh technique.
Thank you @ashf for the workaround:
- In Zero Spam settings > David Walsh > Custom Form Selectors field, added
.wpforms-validate,.wpforms-form,.wpforms-ajax-form - In Zero Spam settings > WPForms > deactivated Protect WPForms Submissions.
This indeed prevents David Walsh technique from blocking all WPForms submissions; however, I don’t yet have enough submission log data to confirm that this workaround still allows the David Walsh technique to work with WPForm submissions.
Cheers
FYI just updated to EM 6.1.6; unfortunately this error notice still shows for event lists.
Any plans on fixing this soon?
Cheers
Thanks @hyperbrand.
FYI just updated to EM 6.1.5; unfortunately this error notice still shows for event lists.
Maybe it will be fixed with the next release? One can only hope π
Thanks, but again, my question is: how can we get future events ASC + past events DESC for returned searches?
Forum: Plugins
In reply to: [Pre* Party Resource Hints] Preload based on desktop / mobile / tablet@samperrow Terrific! Thank you π
Forum: Plugins
In reply to: [Pre* Party Resource Hints] Preload based on desktop / mobile / tablet@samperrow First and foremost, thank you very much for this excellent plugin!
Like other users, I of course look forward to upgrading to the major new version, whenever you get a chance to finish it π
Following up on @dan14’s question, just to confirm: with the new version of the plugin, in order to make preloading responsive, will we be able to specify the “media” parameter(s)?
For example:
<link rel="preload" href="bg-image.png" as="image" media="(max-width: 600px)">I thank you in advance for your reply.
Hmm, it doesn’t seem to be loading last (see request #s 29 and 50 here).
I then tried applying asynch and defer properties to the 2 recaptcha calls, but they don’t seem to make any difference. I guess Google just does what it wants, as usual.
Oh well, thanks for your quick replay anyway π
that helped, thanks
Cheers
Looks like there are no conditionals for a βphysicalβ location?
Not a dedicated conditional tag, no: unfortunately, the plugin authors made the new URL field a sub-field of {has_location}.
As a workaround, I activated the nesting of conditional placeholders and created an EM tag called Video conference. I added this tag to all video-based events (thankfully there were only a few), and then nested the
{has_tag_X}and{no_tag_X}conditional tags inside{has_location}i.e.:{has_location} {has_tag_videoconference} <p>Video conference</p> {/has_tag_videoconference} {no_tag_videoconference} <p>#_LOCATIONTOWN, #_LOCATIONREGION #_LOCATIONIMAGE{25,25}</p> {/no_tag_videoconference} {/has_location} {no_location} <p>Venue TBD</p> {/no_location}Hi @zrce
I had the same problem, so I did a one-time update to the dev version @angelo_nwl refers to, and that fixed the error.
For info on how to obtain dev versions: click here.
Cheers