<?php
...
...
...
'markdown',
'sitemap',
'nextprev' // <= Activation
),
'nextprev_config' => array( // <= Configuration 'param' => 'page', // <= Page parameter name in URL
'limit' => 5, // <= Number of posts to display per page
'classes' => array( // <= List of item's HTML classes 'page_item' => 'page',
'nav' => 'pager',
'nav_prev' => 'previous',
'nav_next' => 'next',
'nav_disabled' => 'disabled'
),
'labels' => array( // <= List of item's readable text or labels 'nav_prev' => '← Previous',
'nav_next' => 'Next →',
'not_found' => '<div class="alert alert-danger"><p>Not found.</p></div>'
)
)
);
# github.com/tovic/nextprev-plugin-for-morfy-cms
PD9waHAKICAgIHJldHVybiBhcnJheSgKCiAgICAgICAgLi4uCiAgICAgICAgLi4uCiAgICAgICAgLi4uCgogICAgICAgICdwbHVnaW5zJyA9PiBhcnJheSgKICAgICAgICAgICAgJ21hcmtkb3duJywKICAgICAgICAgICAgJ3NpdGVtYXAnLAogICAgICAgICAgICAnbmV4dHByZXYnIC8vIDw9IEFjdGl2YXRpb24KICAgICAgICApLAogICAgICAgICduZXh0cHJldl9jb25maWcnID0+IGFycmF5KCAvLyA8PSBDb25maWd1cmF0aW9uCiAgICAgICAgICAgICdwYXJhbScgPT4gJ3BhZ2UnLCAvLyA8PSBQYWdlIHBhcmFtZXRlciBuYW1lIGluIFVSTAogICAgICAgICAgICAnbGltaXQnID0+IDUsIC8vIDw9IE51bWJlciBvZiBwb3N0cyB0byBkaXNwbGF5IHBlciBwYWdlCiAgICAgICAgICAgICdjbGFzc2VzJyA9PiBhcnJheSggLy8gPD0gTGlzdCBvZiBpdGVtJ3MgSFRNTCBjbGFzc2VzCiAgICAgICAgICAgICAgICAncGFnZV9pdGVtJyA9PiAncGFnZScsCiAgICAgICAgICAgICAgICAnbmF2JyA9PiAncGFnZXInLAogICAgICAgICAgICAgICAgJ25hdl9wcmV2JyA9PiAncHJldmlvdXMnLAogICAgICAgICAgICAgICAgJ25hdl9uZXh0JyA9PiAnbmV4dCcsCiAgICAgICAgICAgICAgICAnbmF2X2Rpc2FibGVkJyA9PiAnZGlzYWJsZWQnCiAgICAgICAgICAgICksCiAgICAgICAgICAgICdsYWJlbHMnID0+IGFycmF5KCAvLyA8PSBMaXN0IG9mIGl0ZW0ncyByZWFkYWJsZSB0ZXh0IG9yIGxhYmVscwogICAgICAgICAgICAgICAgJ25hdl9wcmV2JyA9PiAnJmxhcnI7IFByZXZpb3VzJywKICAgICAgICAgICAgICAgICduYXZfbmV4dCcgPT4gJ05leHQgJnJhcnI7JywKICAgICAgICAgICAgICAgICdub3RfZm91bmQnID0+ICc8ZGl2IGNsYXNzPSJhbGVydCBhbGVydC1kYW5nZXIiPjxwPk5vdCBmb3VuZC48L3A+PC9kaXY+JwogICAgICAgICAgICApCiAgICAgICAgKQogICAgKTsKICAgIAogICAgIyBnaXRodWIuY29tL3RvdmljL25leHRwcmV2LXBsdWdpbi1mb3ItbW9yZnktY21z