Support » Plugin: More Fields » [Plugin: More Fields] Slugs and Busted Pagination
6 years, 7 months ago
I’m looking for any ideas on how to either fix pagination or disable pagination on just the output page of More Fields slug links.
With a lot of posts resulting from a slug link, pagination does NOT work. So, if I had a slug working for:
and there are more posts that can fit on a page, the following common WordPress URL is loaded for the second page and DOES NOT WORK:
Any ideas on what to do to either fix this or simply disable pagination on any page used for More Fields slugs?
This may help trigger someone’s PHP brain to adapt for More Fields use on slugs:
I found this snippet for removing pagination from Category pages:
<?php get_header(); query_posts( 'posts_per_page=-1&cat=' . $cat ) ?>
Is there some way to adapt this to More Fields slugs output?
Is there a way to assign a specific template file to the More Fields slugs output in the same way you can for categories or archives?
If I can assign a template file to slug output then I can create a template file with the above header modification.
Thank’s for the bug report.
We’re looking into it and can hopefully fit it into the next release.
(Of course: If you find a solution before then it’s all good.)
Great! Thanks so much for acknowledging the issue.
If anyone finds any work-arounds in the meantime, I’d love to know. If not, hopefully the next release will be along quickly.
More fields is so simple and flexible. I can’t think of another solution that works as well. Thanks again!
@sassymonkey: We tried to resolve this issue with More Fields 2.0.3.
Have you tested it out?
It seems to be working perfectly! Wonderful!
For those who want to know exactly what code I’m using:
<a href="/author-name/<?php $key = "author-name"; meta($key); ?>"><?php $key = "author-name"; meta($key); ?></a>
Where “/author-name/” in the anchor tag is the Slug specified in the field item entered with a custom field key of “author-name“.
Thanks so much for the quick turn-around on this issue. It really makes this whole plugin much more useful for a variety of projects in my opinion!
BTW, I did notice a minor issue with the Advanced Settings section under Access. The check boxes do not remain checked after being selected and saved.
Great to hear!
(I’ve noticed that issue too. It will have to rest until we release More Roles though. But thanks for the heads up.)