• Hy, i have a question about including author filed in search, is it possible to add it manually with some code, or even better maybe there would be a “search author” field in new update?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @ivsa918,

    Thank you for your message.

    Can you explain your case carefully? Describe everything step by step, please add screenshots.

    Thread Starter ivsa918

    (@ivsa918)

    Currently your plugin does not include the “author” of post field in the search results, let say the name of post author is “Jonny Fire” and if i search “Jonny Fire”, in search results i wont get the posts of author “Jonny Fire”

    The screenshot for author field in post backend:
    https://prntscr.com/sdwm23

    Plugin settings (no author filed in options):
    https://prntscr.com/sdwm82

    • This reply was modified 4 years, 10 months ago by ivsa918.
    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    This plugin is for ACF fields. The author field is not an ACF field. Please read the plugin description.

    Thread Starter ivsa918

    (@ivsa918)

    Yes, i understand that its just for ACF fields, it working superb on our site but we are trying to include “author” field in search, and we would like to avoid adding another plugin just for “author” field.

    Is there any way to include “author” filed in search results via your plugin?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    WordPress only stores the author ID in the table with posts. To take into account its name, you would need to expand the database query.

    However, you have to do it on your own. This is beyond the capabilities of plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Including “author” filed in search’ is closed to new replies.