[Resolved] Search and Co-authors
I’ve tried to get the search to work, but I just can’t seem to get it to work. I used the code here. I am not sure if there is an improvement on that code. Maybe you could enlighten me on the same.
I have one admin
useron my website, and several
guest authors. However, when I search for the one of the guest authors, it doesn’t return any results. And if I search for the admin, I get results that include the guest authors.
I have looked for a similar issue under support, but I can’t seem to get any that is resolved.
That code snippet will only work when you have created WordPress users for your authors. Guest authors is using a different storage mechanism in the backend, and would require a bit of custom development to work as you’d like it to.
Sorry, it’s outside the scope of the support I offer.
Bug fixes related to the plugin. Feature requests go into Github, where they’re prioritized against time involved, number of requests, and how badly I want to add it.
I’m using Co-Authors Plus but I’m not being able to show more than one author on single posts.
My original template goes like this:
<div class=”mfield author”>Por: ” title=”<?php echo esc_attr(sprintf(__(‘Ver todos os artigos por %s’, DPTPLNAME), get_the_author())); ?>” rel=”author”><span style=”color: #bf1109; font-weight: bold; text-transform: uppercase;”><?php echo get_the_author(); ?></span></div>
Thanks in advance!
- The topic ‘[Resolved] Search and Co-authors’ is closed to new replies.