Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I had the exact same problem and installed WP Rollback and was able to easily roll back to Ninja Forms v 3.6.29 and the problem was solved. I know this only a temporary solution, hopefully the Ninja Forms team will figure out a solution and release a new update.

    The issue could be related to conditional logic? Because some of the forms were still working on my site.

    OK I’ve just been retracing my steps and it’s quite in-depth. I can give you a quick overview which will hopefully get you in the right direction.

    I was quite new to WP when I tackled this so I used a plugin called Types which makes it easy to create custom post types and custom fields.

    Then after a lot of searching around and reading, I figured out that I needed 2 new files: a loop-staff.php and a single-staff.php in my theme folder. These are copies of the original loop.php and single.php files but with modified queries to get the correct data in a different order, paginated etc.

    Sorry that’s not much of a tutorial but this probably isn’t the right place for that anyway!

    I gave up with the Simple Staff List and used custom post type instead then made a corresponding template. You can see it in action here:

    https://www.ponteland-tc.gov.uk/councillors/

    If anyone would like a more detailed explanation of what I did I’d be happy to provide it.

    I too would really like this feature! I’ve looked at the code on github but I think it must be out of sync with the current version of the plugin. I’m currently trying to work out if I can add a shortened version of the bio (or use the excerpt) to the shortcodes so that I can add it to the template instead of the [staff-bio-formatted] but I’m new to WP and a bit stuck right now!

    This is what would be ideal for me:

    [staff_loop]
    	<img class="staff-member-photo" src="[staff-photo-url]" alt="[staff-name] : [staff-position]">
    	<div class="staff-member-info-wrap">
    		[staff-name-formatted]
    		[staff-position-formatted]
    		[staff-bio-intro]
    		[staff-email-link]
    	</div>
    <div><a href="/people/[staff-name-slug]/">Read more</a></div>

    Or if there was some easy way of reducing the number of chars that are displayed in that loop, e.g.

    [staff_loop]
    	<img class="staff-member-photo" src="[staff-photo-url]" alt="[staff-name] : [staff-position]">
    	<div class="staff-member-info-wrap">
    		[staff-name-formatted]
    		[staff-position-formatted]
    		word_limiter_function([staff-bio])
    		[staff-email-link]
    	</div>
    <div><a href="/people/[staff-name-slug]/">Read more</a></div>

    Would really love to hear anyone’s suggestions as this plugin is almost perfect for my needs!

    just realised I posted in the wrong place, sorry (new-ish to WordPress)

    I would like to be able to show only the first say 50 words of each bio when using the simple-staff-list shortcode, with a ‘read more’ link.

    I’ve got a read more link working, but I can’t figure out a nice way of only showing part of the bio. I could modify the plugin I suppose but I’d prefer not to… Anyone suggest a neat way to show just part of each bio?

    Please ignore my last post, it was my own stupid mistake. I might as well confess it – mod_rewrite was not enabled. I know, like it said, stupid mistake! But I’m working on a different server and in my haste to get a staff plugin working I never bothered to check any other urls first!

    I’ve changed line 141 as suggested and that does indeed change the permalink but as esaner discovered, the individual staff pages are now not found. I haven’t even created a page to list the staff yet, so I don’t think it’s a problem with the slugs being the same? Any help much appreciated!

Viewing 8 replies - 1 through 8 (of 8 total)