Forums Forums Search & Filter Pro CoAuthors Plus plugin secondary authors not appearing in search results

Tagged: 

Viewing 10 posts - 11 through 20 (of 28 total)
  • Trevor
    #206334

    In the code then, change the label, in this line:

    $option->label = "All Authors";

    Just so you can see if it works.

    Anonymous
    #206340

    I changed it to $option->label = "All Authors Here";
    No change on the page though. Also trying clearing browser cache, purging WPEngine cache and confirmed in theme editor the code had been updated.

    Trevor
    #206344

    That means that code is not effective.

    I took a quick look at you search page and the field control is named _sf_author and not _sft_author

    Can you try making that change in this lie?

    if ($input_object['name'] == '_sft_author') {

    to

    if ($input_object['name'] == '_sf_author') {

    Anonymous
    #206348

    Great, thanks! I see the new label “All Authors Here” now appearing in the dropdown. Still no additional authors listed though…

    Trevor
    #206366
    This reply has been marked as private.
    Anonymous
    #206368
    This reply has been marked as private.
    Anonymous
    #206370
    This reply has been marked as private.
    Trevor
    #206375

    Take a look at the form, in the Form UI now. The plugin you are using also has a taxonomy called author, so yes, the code as it was WAS correct, with _sft_author.

    I wonder if the list is now correct once you edit the code again?

    Anonymous
    #206379

    I updated the code from $input_object['name'] == '_sf_author' back to $input_object['name'] == '_sft_author'. I am now seeing all authors listed in the dropdown. So, thank you! However, neither the search field nor the dropdown still actually pull up the results for Wael. The results should be the two articles listed on his page here.

    Anonymous
    #206385

    There seem to be some cross-referencing issues with the CoAuthors. So, now it looks like if I select Wael from the dropdown, I am brought to this page with these results. Neither of the results display his name. However, if you on either of the those posts, you’ll see that only one author is displayed on the frontend. If you click to edit the post, you will see that Wael is listed as an additional author. But, for some reason, his name is not displayed on the post or in the search results.

Viewing 10 posts - 11 through 20 (of 28 total)