Staff listing
Support Area › Forums › Responsive Visual › Staff listing
- This topic has 15 replies, 2 voices, and was last updated 11 years ago by Bill Robbins.
-
AuthorPosts
-
February 8, 2013 at 10:25 #9387KemParticipant
Hi,
I am currently updating the staff list but once the members have exceeded the first page I get this message when you click onto older posts “Sorry, no posts matched your criteria.” and at the top is says “page not found – 2/0”
Please can you advice
Thanks
Kem
February 8, 2013 at 10:31 #9388Bill RobbinsModeratorKem,
Let’s try this. Go to Settings and select “permalinks.” Click save at the bottom. Wait for the page to refresh. Click save one more time.
That usually will clear out a not found error for a staff member.
Let me know if you run into any trouble,
BillFebruary 8, 2013 at 10:39 #9389KemParticipantHey Bill,
It worked 🙂
Thanks as ever for the fab and quick assistance.
Kem
February 8, 2013 at 10:43 #9390KemParticipantSorry Bill,
Before you close this topic, is there anyway to rename the staff group?
It shows as websitename/staff-group/name of post but I am listing exhibitors and sponsors not staff, can I change this in a setting?
Thanks
Kem
February 8, 2013 at 10:56 #9391Bill RobbinsModeratorKem,
Great question. You can do that. If it was possible to add that to the theme options I would, but since it’s not, we can change it manually. Here’s how:
- Go to Plugins in your WordPress dashboard and select “Add New.”
- Search for WP Editor and install/activate the plugin.
- Go to the Appearance section and select Theme Editor.
- From the list of files on your right, click “includes” to open that folder and then “post-types” to open it. Then click on the staff.php file.
- Look for this spot (line 59):
'rewrite' => array( 'slug' => 'staff-group', 'with_front' => false )
- Change
staff-group
toexhibitors
and save your changes. - Then go back to Settings > Permalinks and save your settings again.
That should change the URL structure to use “exhibitors” instead of “staff-group.”
If you have any trouble, let me know,
BillFebruary 8, 2013 at 11:04 #9392KemParticipantBill you are fab
I would recommend your company and theme any day xx
Kem
February 8, 2013 at 11:05 #9393Bill RobbinsModeratorThanks Kem! I do appreciate it.
February 12, 2013 at 08:11 #9463KemParticipantHey Bill,
Is there any way to split the staff listing in two ie exhibitors and vendors?
I set them into two different staff groups thinking it would show separately on the site as I added it to the menu via the staff group but it still merged them.
Thanks
Kem
February 12, 2013 at 08:48 #9464Bill RobbinsModeratorKem,
I see what you mean as that’s the way it’s intended to work. Let’s do this. Go to the Appearance section and select edit. From the list of files on your right, choose taxonomy-staff-group.php. Replace everything there with the code below and save your changes. See if that works out better for you. If you have any trouble, let me know.
Bill
February 12, 2013 at 09:37 #9465KemParticipantHey Bill,
Fab, it worked 🙂
Thank you so much
Kem
April 4, 2013 at 04:55 #10493KemParticipantHey Ben,
I have notice one thing. When I click a staff group from the menu and it lists all my exhibitors the changes you suggested work 🙂
But when I click on an individual exhibitor the url is domain name/staff/company name
Do you know how I can correct this to say domain name/exhibitor/company name
Thanks
Kem
April 4, 2013 at 09:35 #10499Bill RobbinsModeratorKem,
You can change that too. Go to the Appearance section and select Theme Editor. Open up staff.php again. Right below this line:
'show_in_nav_menus' => false,
add this:
'rewrite' => array( 'slug' => 'exhibitor' ),
and save your changes. Then go to Settings > Permalinks and save them again so you won’t end up with any not found errors.
That should change the URL’s for you to match.
If you have any trouble, let me know,
BillApril 4, 2013 at 13:04 #10503KemParticipantHey Bill,
I had a look but I cant find the staff.php file
April 4, 2013 at 15:34 #10507Bill RobbinsModeratorKem,
You’ll have to use the same WP Editor plugin that you used to edit that file earlier. Once the plugin is active, go to Appearance and select Theme Editor. Look inside the “includes” folder for one labeled “post-types.” You’ll be able to find the staff.php file there.
Let me know if you have any trouble,
BillApril 5, 2013 at 02:53 #10513KemParticipantFab 🙂
All sorted.
Thanks Bill
April 5, 2013 at 08:28 #10516Bill RobbinsModeratorSweet!
-
AuthorPosts
- The topic ‘Staff listing’ is closed to new replies.