I've created a staging copy of the site so that we can do anything to this and it won't matter to try to figure out what the problem is. If the staging copy prompts you for a username and password (aside from the wordpress admin login) the info is as follows:
username: topsafet_staging
password: 9t1T05vyDyDM#
I am trying to: make it so that all my results appear in my search results view I've set up for my speakers. For the most part I do see many of my speakers but the odd few do not show up in my search results nor when I search for them even though I've chosen to display all of my custom post type 'Speakers', ordering them by "Field - Speaker Name" ascending as a string.
Link to a page where the issue can be seen: enlace oculto
These are some of the speakers that have been added that do not show up in the search results page but have their own single pages created with the appropriate categories as well.
Lisa Lounsbury - enlace oculto (it's also very weird that this is one of the only pages not following the format as the other speakers, I don't believe I've done anything different with hers yet it doesn't keep the same formatting as the few speaker links below?)
Michelle Ray - enlace oculto
Jeff McKissack - enlace oculto
I expected to see: The above speakers (plus whoever else is missing on this page - enlace oculto when you either search in the respective categories or name search
Instead, I got: Nothing. Nothing shows up when you search for the speakers I've linked to above when you they should be popping up like the others do.
It also seems that the formatting I've done in my custom fields when adding speakers is being stripped out of the speaker single pages as well. This speaker enlace oculto had new lines and title everywhere in the editor but not when you preview the speaker front end page.
I also have a few other questions but I'm not sure if I should bombard you with them right now or figure this out, open another ticket or add to this one?
Thanks!
Hello,
Thanks for the details, I can see the problem in your website.
Here are what I found, please check these:
1) Edit post view "Search and Results NEW"
enlace oculto
in section "Ordering". you are using option "Field - Speaker Name"
2) Edit the problem "Speaker" post:
enlace oculto
There isn't custom field "Speaker Name", it conducts the problem, Toolset Views/Blocks plugins are using WordPress WP_Query to query posts, see WP document:
https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters
‘meta_value‘ – Note that a ‘meta_key=keyname‘ must also be present in the query
That means if you order the results by a custom fields, all posts should have that custom field.
In your case, you just need to change the to: order by post title, and test again.
It's just as easy as that. Thank you!