• How am I supposed to pass the arguments to this function? I’ve tried using every possible way I could think of, but the only thing I could make happen is for it to understand *one* argument. If I put:
    wp_link_pages('before=pages in this entry:');
    or
    wp_link_pages('after=la la la');
    They would work, but if put:
    wp_link_pages('before=pages in this entry:', 'after=la la la');
    only the “before” argument changed.

    I’ve tried some other ways, too, but they all either just put *all* of the default values in place, or just plain broke and gave me php errors.

    What am I doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • What do you want it to do exactly ?

    It’s like a URI:

    wp_link_pages('before=pages in this entry:&after=la la la');

    Thread Starter scruffy

    (@scruffy)

    allusion: THANK YOU!!! (and yes that was yelling) A thousand… NO!… a million… NO! a bazillion blessings upon your home 🙂

    That worked perfectly.

    podz: The specific output I was trying to get was:

    “pages in this entry: 1 2 3 4 “(note trailing space) without line breaks of any kind because there is some text that goes after it.

    BTW, the documentation says that the default output for “before” and “after” are break tags, but it actually outputs opening and closing paragraph tags, respectively (at least in version 1.2.1 (haven’t downloaded 1.2.2, yet)).

    Also… maybe on functions that take somewhat non-standard argument passing like this should reflect exactly how to pass the args to it on the documentation.

    Is there a suggestion box anywhere?

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

The topic ‘wp_link_pages()’ is closed to new replies.