Normally the plugin should recognize the proper permalink structure. Can you give me a link to your test page?
Ok, that’s a search function, but not from the [tpsearch] shortcode. π
The problem is, that your search form (more precisely the “action” paramter in the form definition) refers to your home page and not to the current displayed side.
This is all really new to me. I basically just added the [tpsearch] shortcode to the page. What else do I need to do?
The complete output I see on this page (https://md2k.org/publications/) is not generated by a teachPress shortcode.
Do you really want to use [tpsearch] or do you want to create an own publication search based on teachPress? For the second, you can use some parts of the API, like: https://mtrv.wordpress.com/teachpress/function-reference/tp_publicationsget_publications/
This is the shortcode that is on the page I sent you.
‘[tpsearch][tplist, author_name=”simple” style=”simple” order=”date DESC”]’
When I previewed it, it listed my entire database of publications.
I am confused why it now only shows one.
The page looks like a 404-page of our theme. Have you tested the page with one of the standard themes with the live preview? Also possible is a conflict between the page “publications” and the post type “publications”.
I created a new page and it seems to behave better in terms of listing. Getting it searchable using [tpsearch] is still a bit of a mystery.
https://md2k.org/pubtest/
That looks better. π
You should also try the following:
[tpsearch as_filter=”true” author_name=”simple” style=”simple” order=”date DESC”]