About next page button (pagination)

Posted in: Newsmag
Post count: 9

Hi,

I want to see my in-post pagination buttons like just “prev and next” not numbers.
And I want to navigete that with keyboard buttons, for examplwe keyboar “→” button is shortcut for “next”.

Are these possible? any help will be approvable.

Regards

Post count: 23312

Hi,

For achieve what do you want, please try this to use next/prev pagination on posts by adding this parameter: 'next_or_number' => 'next', here: http://screencast.com/t/hkqJljKyxr3 and remove this code: http://screencast.com/t/87kGUcin5YQN – result: http://screencast.com/t/8THEIGR5

Also you can try the code below for getting style on your buttons.

The result should be like here http://screencast.com/t/hEu9ss3JL8a

Hope this helps and let us know how it goes!

Thanks.

Post count: 9

Catalin,

thanks for fast respond. So can ı intergrate a keyboard navigation on to these buttons. May be using with a javascript code, like:

<script type=”text/javascript”>
jQuery(document).ready(function () {

jQuery(document).keydown(function(e) {
var url = false;
if (e.which == 37) { // Left arrow key code
url = jQuery(‘.prev a’).attr(‘href’);
}
else if (e.which == 39) { // Right arrow key code
url = jQuery(‘.next a’).attr(‘href’);
}
if (url) {
window.location = url;
}
});
});
</script>

Post count: 6535

Hi

You will need a script which applies this event when the smart lists classes are detected on the page, something similar with the one for our gallery: http://screencast.com/t/BMbrqG6p This is a complex task which require lots of customizations in theme files. We can’t offer customization services at the moment so if you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer from sites like http://studio.envato.com/ to do this for you.

Thanks for the message!

Post count: 104

Does the new version support pagination in smart lists like your other theme?

Post count: 6535

Hi

Are you referring at this pagination: http://screencast.com/t/Uv9pSDdYcKS If so the smart lists weren’t designed to work with that pagination and we haven’t tested them like that. If your referring at smart-list’s built in pagination: http://screencast.com/t/dwMRO4ierS that is the same as in prevision version of the theme.
If this is not what you mean please provide more details.

Thanks!

Post count: 104

I meant does the new version of Newsmag support the new smartlist you added in Newspaper’s last update which acts like a multi-page article? This one

http://demo.tagdiv.com/newspaper/apple-ipad-pro-review-powerful-ipad-experience/

Post count: 6535

Hi

We plan to add new types of smart-lists, which will have a similar layout and functionalities as the ones from Newspaper and for Newsmag theme in the future. They are in development now we hope to have them ready as soon as possible.

Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.