• Resolved paltorn

    (@paltorn)


    Hi,

    Is there a way (or a short hack) to add the next (and previous) subpage title in the “previous page”/”next page” pagination link ?

    my need is to display something like : previous page : XXXXXXX & next page : YYYYYYYY

    Thanks.
    Patrick

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sergio De Falco

    (@sgr33n)

    Hi!
    You could use the “mpp_link_pages_args” filter.

    apply_filters( 'mpp_link_pages_args', $params )

    Where $params is a serie of parameters, here the default values:

    'before'				=> '<div>',
    'after'					=> '</div>',
    'link_before'			=> '',
    'link_after'			=> '',
    'continue_or_prev_next'	=> 'continue',
    'separator'				=> ' ',
    'nextpagelink'			=> __( 'Next page' ),
    'previouspagelink'		=> __( 'Previous page' ),
    'echo'					=> 0
    Thread Starter paltorn

    (@paltorn)

    Thank you very much !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add page title to next and previoux links’ is closed to new replies.