Posted: July 3, 2018 at 6:14 am
Hi I have a speakers page for our conference website which I need to be able to list my event speakers in a predefined order that can be set in some way by event admins in the backend. I currently have the [display_speakers] used on a custom archive page. Is there a way for me to add a number to each speaker in the speaker admin and have them list in archive page in that order? Thanks for your time! |
|
Hi Ben,
I’m not aware of a |
|
Hi Ben, I’m not familiar with a [display_speakers] shortcode, is that from another plugin or the theme? The People add-on does not currently have shortcodes. |
|
Hi Yes This is what i added to the functions…
Can you advise as to how i can sort the individual speakers? Ideally i want to add somthing to the wp-admin/admin.php?page=espresso_people people admin page? Is there a way to add a columb with numbers or somthing similar that will give a display order? Thanks again |
|
Hi Ben, I’m afraid we’re really not in a position where we can support custom development. In this case you’ve got a custom shortcode that make use of a I’ll try with a guess, if the us_load_template() function supports native WP_Query parameters, you should be able to add the following to the $template_vars array:
and then go in to edit each speaker post type, and add one custom field where the meta key is |
|
Another approach, if you use the native post archive feature of the Event Espresso People add-on, you can install this plugin: https://wordpress.org/plugins/simple-page-ordering/ Then add this code to a custom site plugin: And that will add an additional “People” menu to the WP dashboard where you can drag and drop to re-order the sort order for the archive page. |
|
Hi Josh Excellent I will take a look at both of those and see which works best. Thanks again for your time much apprieciated! Ben. |
|
Hi Josh I have followed your instructions i have installed the simple page ordering plugin (which is working on normal pages) and created a plugin called “people-sort-plugin”
and installed it using the code supplied but there is no new menu item for people, where would this be located? Is there a way to get this to work on the EE Event Espresso – Manage People plugin page? Thanks again |
|
Hi Josh Actually the page ordering plugin is not working either on normal pages when i drag a page it just kjeeps running the small animation and never loads then on refreah the pages are back in the same order? Thanks |
|
Hi Ben, Have you activated the plugin that adds the People menu item to the WP Dashboard? Since it appears you’re having some issues with the Simple Page Ordering plugin, you can rule out a plugin conflict. You’ll note that others have had to resolve plugin conflicts in the Simple Page Ordering plugin’s support forums: |
|
The support post ‘People plugin sort order for archive page’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.