Staff listing

Support Area Forums Responsive Visual Staff listing

Viewing 16 posts - 1 through 16 (of 16 total)
URL to the page in question:
  • Author
    Posts
  • #9387
    Kem
    Participant

    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

    #9388
    Bill Robbins
    Moderator

    Kem,

    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,
    Bill

    #9389
    Kem
    Participant

    Hey Bill,

    It worked 🙂

    Thanks as ever for the fab and quick assistance.

    Kem

    #9390
    Kem
    Participant

    Sorry 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

    #9391
    Bill Robbins
    Moderator

    Kem,

    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:

    1. Go to Plugins in your WordPress dashboard and select “Add New.”
    2. Search for WP Editor and install/activate the plugin.
    3. Go to the Appearance section and select Theme Editor.
    4. 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.
    5. Look for this spot (line 59):
      
      'rewrite' => array( 'slug' => 'staff-group', 'with_front' => false )
      
    6. Change staff-group to exhibitors and save your changes.
    7. 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,
    Bill

    #9392
    Kem
    Participant

    Bill you are fab

    I would recommend your company and theme any day xx

    Kem

    #9393
    Bill Robbins
    Moderator

    Thanks Kem! I do appreciate it.

    #9463
    Kem
    Participant

    Hey 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

    #9464
    Bill Robbins
    Moderator

    Kem,

    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

    #9465
    Kem
    Participant

    Hey Bill,

    Fab, it worked 🙂

    Thank you so much

    Kem

    #10493
    Kem
    Participant

    Hey 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

    #10499
    Bill Robbins
    Moderator

    Kem,

    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,
    Bill

    #10503
    Kem
    Participant

    Hey Bill,

    I had a look but I cant find the staff.php file

    #10507
    Bill Robbins
    Moderator

    Kem,

    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,
    Bill

    #10513
    Kem
    Participant

    Fab 🙂

    All sorted.

    Thanks Bill

    #10516
    Bill Robbins
    Moderator

    Sweet!

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Staff listing’ is closed to new replies.