Thanks for being so detailed.
1. Yes, an actual featured image has to be added in order to show on the archive page. Twenty Twelve theme allows you to do this. It may be hidden. Try this: on the “Add New Staff” page, click ‘Screen Options‘ on the top right corner. Make sure that ‘Featured Image‘ has a checkmark next to it. If that doesn’t reveal your ‘Set Featured Image’ area, please tell me what theme you’re using so I can look into it.
2. I agree. But this plugin simply adds the staff content and social links into your theme’s own template files. So the code is found in your own theme’s single.php
and archive.php
(or in content.php
, if you are using Twenty Twelve). You’d have to comment it out there.
The reason it’s done this way is that this plugin is actually a backup for people who have used my premium app-themes, and decided to stop using them. My app-themes create the staff custom post type, and have custom template pages for the staff page and staff archive page. They don’t show the regular post info on those pages. This plugin allows them to switch to a regular WP theme while keeping their staff and other custom post types. But the display is up to the theme.
Every theme is different, so this plugin can’t cover all scenarios, but I will cover at least Twenty Twelve theme. I’ll release an update within the next day or so, which will take care of this issue for those using Twenty Twelve theme.
For now, until the update is released, you can do this:
If you’re using Twenty Twelve theme, you can hide the post date info on the Staff single and Staff archive by adding this to your CSS:
body.single-smartest_staff article.smartest_staff footer.entry-meta, body.post-type-archive-smartest_staff article.smartest_staff footer.entry-meta {display:none;}
As far as I know, Twenty Twelve theme doesn’t show “Comments (on/off)” on pages that have no comments, so look inside you’re theme’s single.php
and archive.php
to find that.
If you’re using a different theme, if you give me a link to your staff page, I’ll take a look and give you a custom solution to hide it in your theme.
Another option, which will completely give you what you want:
For the single staff page, create a template file named single-smartest_staff.php
. Copy the code from your single.php
and edit as desired.
For the staff archive, create a template file named archive-smartest_staff.php
. Copy the code from your archive.php
and edit as desired.
3. Excellent idea; thanks. I’ll add a spot for Linkedin in the update within the next day or so.