• HI,
    I would like to use the function inside a shortcode, but if I call wp_paginate() it echo the result.
    Is there a way to get it into a variable?
    $showpagenavigation = wp_paginate();

    Thanks a lot
    Nap

Viewing 1 replies (of 1 total)
  • Plugin Author AlanP57

    (@alanp57)

    No, it was not written to do that. You can try editing the plugin, at line 429 in wp-paginate.php to replace the ‘echo’ with ‘return’. I tried that but it did not seem to work.

Viewing 1 replies (of 1 total)
  • The topic ‘return pagination instead of echo’ is closed to new replies.