-
AuthorPosts
-
October 20, 2014 at 8:46 am #128499
I would like to install the plugin:
https://wordpress.org/plugins/wp-smart-pagination/It says that I need to modify some php files and replace my current pagination. Which files exactly do I need to modify to achieve this?
October 20, 2014 at 1:07 pm #128667Hi there,
Thanks for writing in! It sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Meanwhile, you can try following these instructions:
If you haven’t yet installed a child theme, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
After that, you can copy the files _index.php and _portfolio.php from wp-content/themes/x/framework/views/global/ in your child theme’s folder /framework/views/global/, open both files in a text editor and replace following line With your code:
<?php pagenavi(); ?>
Further customizations from here would be getting into custom development as this isn’t related to X theme itself, which is outside the scope of support as we mentioned above. If you need more in depth changes, you may wish to consult with a developer, or look into service like Elto or WerkPress. X is quite extensible with child themes, so there are plenty of possibilities.
Thank you for your understanding.
October 21, 2014 at 5:58 pm #129554Is there an easier way to achieve pagination on my pages? I would like something that looks like http://theme.co/x/demo/icon/5/blog/ – it’s down at the bottom. But on my page instead.
October 22, 2014 at 6:25 am #129830There are several pagination plugins out there. This article reviews several – http://www.indexwp.com/wordpress-pagination-plugins/ You might find a better fit but many would have you do the same process so that they can take over the pagination. I hope this helps.
October 23, 2014 at 5:30 pm #131099They do not paginated pages, I tried. Is there a way to paginated links at the bottom of a single page?
So basically I have a website with tests on them. At the bottom of test 1 I need to list all other tests in a paginated format.
Like:
1-2-3-4-5-6-7-8-9-10 , with style.October 24, 2014 at 3:12 am #131289Hi,
You can add all the contents ni one page then separate it using
<!–nextpage–>
http://en.support.wordpress.com/splitting-content/nextpage/
Hope that helps
October 24, 2014 at 12:29 pm #131637Yes, but this type of pagination looks so horrible. Is there a way of making those buttons look nice?
October 24, 2014 at 1:30 pm #131667https://wordpress.org/plugins/wp-pagenavi/
This is what I’m trying to install, but it doesn’t work with the theme. The theme uses the basic “ugly” pagination Pages:1 2 3 etc.
I have tried to replace the code in global views folder, editing the index.php and portfolio.php functions with
<?php wp_pagenavi(); ?>but it’s still not working for <!–nextpage–> tags
October 24, 2014 at 3:13 pm #131728Hi there,
This paging is default to wordpress with no styling. Though you could check this thread http://theme.co/x/member/forums/topic/pagination-styling-when-using-the-toc-shortcode/#post-121879
And do it with your own styling 🙂
Cheers!
October 24, 2014 at 4:10 pm #131779Thanks this is very useful.
Can I just ask you to add this to your future development so that the pagination has a nice ccs because <!–nextpage–>is a very useful feature. Not a lot of themes have it and this could be a selling point. This actually was why I bought this theme, I thought Id be able to achieve the same pagination as on the Demo Websites. Apparently not.
October 24, 2014 at 4:13 pm #131780Sure we will be happy to add this as a feature request! Thanks for the suggestion!
February 1, 2015 at 11:54 pm #196844I would ALSO love built-in pagination/the ability to split posts into 2-3 “pages”.
February 2, 2015 at 3:34 am #196960Hey Cameron,
That function also exists in WordPress. You can read all about it here: http://en.support.wordpress.com/splitting-content/nextpage/
-
AuthorPosts