Support

Home Forums Event Espresso Premium EE4 Staff List

EE4 Staff List

Posted: June 14, 2018 at 12:37 pm


ephemerapaducah

June 14, 2018 at 12:37 pm

I cannot find any instructions on how to make a page that lists all staff on a page that isn’t just an archive page that I can’t change the title or add some introductory text. Is this possible?


Josh

  • Support Staff

June 14, 2018 at 3:00 pm

Hi ephemerapaducah,

Yes this is possible by following these steps:

1) Install & activate this plugin:
https://wordpress.org/plugins/display-posts-shortcode/
2) Add the following shortcode to a page:
[display-posts post_type="espresso_people"]


ephemerapaducah

June 14, 2018 at 5:59 pm

Thank you, this helps, but a couple things:

1. Is there any way to show more than just a list of the titles? I’d like to show them with the name, image, short bio and link to the full post. Like this: https://www.dropbox.com/s/0dfx7a49fbfbeh7/instructors.jpg?dl=0

I can get it to show an image, but not anything more and cannot figure out how to style it. Are there more parameters that control how this displays? I cannot find details anywhere.

2. It’s only showing 10 out of more than 30 people.

Thanks!


Josh

  • Support Staff

June 14, 2018 at 7:26 pm

Yes, the name is also a link to the post and there are parameters for showing more content like post content, images, and adding to the markup: e.g.
[display-posts post_type="espresso_people" include_content=true wrapper="div" wrapper_class="my-staff-layout" image_size="medium"]

more parameters are listed in the documentation:
https://github.com/billerickson/display-posts-shortcode/blob/master/README.md#parameters

10 is the default listings per page but this parameter will increase the number to 30:

posts_per_page=30

Styling can be added with CSS, and you’ll find some example CSS for aligning the image to the left in this section of the documentation:
https://github.com/billerickson/display-posts-shortcode/wiki#image-alignment


ephemerapaducah

June 14, 2018 at 10:37 pm

Thanks so much! I will work on this. 🙂

The support post ‘EE4 Staff List’ 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.

Event Espresso