Hi Stephen! Now that I’ve got EO Pro installed, I’m setting up a search page, but am running into the 10-posts limit. I only have about 30 events (movies in a festival) to show and I’d like the default to be to show them all. But I can’t figure out how to do it.
I found reference here on the forums to a “numberposts” attribute for shortcodes, but adding it to the search shortcode doesn’t seem to work.
(I can’t for the life of me determine why my regular (non-search) page, using a customized shortcode-event-list.php, is showing all posts, not just 10. But the search page, using search-event-list.php, is limited to 10….)
Can you advise? Thanks!
adam

Adam Abrams
Try using posts_per_page
instead…

Stephen Harris
^ that should be better documented

Stephen Harris
Thanks Stephen!
One last (promise!) question about the search page… can I change the word “Tag” in the search area, to “Genre”, and “All tags” in the popup menu to “All genres”?
-
This reply was modified 9 years, 4 months ago by
Adam Abrams.

Adam Abrams
Hi Adam,
In general you can change the parameters which register the tag taxonomy with: http://codex.wp-event-organiser.com/hook-eventorganiser_register_taxonomy_event-tag.html
That filters the arguments passed to rergister_taxonomy()
https://codex.wordpress.org/Function_Reference/register_taxonomy – including the labels parameter.
But the search shortcode doesn’t respect those labels. I’ll look into addressing this for the next update.

Stephen Harris
Well, thanks for the info at any rate – certainly saves me time thrashing about trying to get it to work… 8^)
Looking forward to that feature when it arrives!
Thanks,
adam

Adam Abrams
I’ve just merged the necessary changes into the develop branch which means its there waiting for the next release (which may be as early as this weekend).
To take advantage of this, you would need to filter the labels. Here’s an example for venues (which you can adapt by changing ‘venue’ to ‘tag’): https://wordpress.org/support/topic/changing-event-labels

Stephen Harris

Stephen Harris