Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #128499

    s1344678
    Participant

    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?

    #128667

    Zeshan
    Member

    Hi 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.

    #129554

    s1344678
    Participant

    Is 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.

    #129830

    Cousett
    Member

    There 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.

    #131099

    s1344678
    Participant

    They 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.

    #131289

    Paul R
    Moderator

    Hi,

    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

    #131637

    s1344678
    Participant

    Yes, but this type of pagination looks so horrible. Is there a way of making those buttons look nice?

    #131667

    s1344678
    Participant

    https://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

    #131728

    Rad
    Moderator

    Hi 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!

    #131779

    s1344678
    Participant

    Thanks 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.

    #131780

    Cousett
    Member

    Sure we will be happy to add this as a feature request! Thanks for the suggestion!

    #196844

    Cameron M
    Participant

    I would ALSO love built-in pagination/the ability to split posts into 2-3 “pages”.

    #196960

    Rubin
    Keymaster

    Hey Cameron,

    That function also exists in WordPress. You can read all about it here: http://en.support.wordpress.com/splitting-content/nextpage/