• Resolved sassymonkey

    (@sassymonkey)


    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.

    EXAMPLE

    With a lot of posts resulting from a slug link, pagination does NOT work. So, if I had a slug working for:

    /artist/Iron%20Maiden/

    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:

    /artist/Iron%20Maiden/page/2/

    Any ideas on what to do to either fix this or simply disable pagination on any page used for More Fields slugs?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter sassymonkey

    (@sassymonkey)

    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?

    Thread Starter sassymonkey

    (@sassymonkey)

    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.

    Any ideas?

    Plugin Author Kal Str?m

    (@kalstrom)

    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.)

    Thread Starter sassymonkey

    (@sassymonkey)

    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!

    Plugin Author Kal Str?m

    (@kalstrom)

    @sassymonkey: We tried to resolve this issue with More Fields 2.0.3.

    Have you tested it out?

    Thread Starter sassymonkey

    (@sassymonkey)

    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.

    Plugin Author Kal Str?m

    (@kalstrom)

    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.)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: More Fields] Slugs and Busted Pagination’ is closed to new replies.