• Resolved Stephen415

    (@stephen415)


    Firstly, very nice theme, thanks for all the effort. And to the issue I am having.

    The issue is to do with the pagination links at the bottom of the blog page when the number of blog entries exceeds the page limit and therefore the theme adds a navigation menu at the bottom to allow the user to page forward and back through the blog. And the issue only occurs when the blog entries are being filtered based on category. The steps to reproduce are

    – Navigate to the blog summary page containing lots of blog entries where the blog entries have various categories (on my website this page is titled “Blog”)
    – From the category navigation menu select one of the categories to filter on (example, on my website pick “Sterlin”)
    – A new blog summary page is provided with the correctly filtered blog entries.

    The format of the URL for this “first” page is correct and in the format [root]/category/category-name/ And the navigation links at the bottom of the page appear to be correct. However, if you navigate to the second/next page, this new page has lost the category filter. The format of the second page is incorrectly generated as [root]/blog/page/2/

    It should be [root]/category/category-name/page/2/

    I have a lot of blog entries in my website, so the correct navigation when using category filtering is important. You can see a test version of my website at stephen-and-caroline.com if that helps.

    A similar but different problem exists for searching as well. If you search for a common term, like the word “the”, many results are returned. But only the first page is displayed and the pagination navigation controls are completely missing. But I am less worried about this problem.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author shufflehound

    (@shufflehound)

    Hello,

    Thank you for noticing and submitting the issue.

    We will try to make a fix for this issue in next few days and will update this thread for any changes.

    Theme Author shufflehound

    (@shufflehound)

    We made beta update which can be downloaded here from our server. You can test it, and please let us know if the issues are fixed.

    Thread Starter Stephen415

    (@stephen415)

    Thanks!

    Unfortunately I can’t upload the entire package to my wordpress directory, as my wordpress site is hoted by someone who provides a more managed service. But if you let me know which file you changed to fix the issue, then I can upload the file and test the fix.

    I already deployed search.php and it appears to have addressed the search issue I mentioned. So thanks for that.

    Thread Starter Stephen415

    (@stephen415)

    Actually, spoke too soon. I just deployed archive.php and looks like it has addressed the issue. Will test more tonight. Thanks again.

    Theme Author shufflehound

    (@shufflehound)

    There is one more file which you should update, located at css/style.css.

    Let us know your testing results.

    Thread Starter Stephen415

    (@stephen415)

    All looks good for me. Thanks for the patch.

    Thread Starter Stephen415

    (@stephen415)

    I seem to have found a related problem, and passing along for your review. It appears that the link to the first page (or the link with the label of 1) in the row of pagination links does not work. For example if you are on the second page of a filter category or tag list (for example [root]/category/category-name/page/2/) you would expect to see something like

    – « Previous
    – 1
    – 2
    – 3
    – Next »

    Obviously the first page should link to either [root]/category/category-name/page/1/ or better still [root]/category/category-name/

    Unfortunately it links back to the page you are currently on. If you would be on page 4, it links back to page 4. Easiest to see an example on my website, just go to the following link

    https://stephen-and-caroline.com/category/travels/page/2/

    and select the number 1 label on the row of pagination links. This problem applies to both category and tag filtering.

    Theme Author shufflehound

    (@shufflehound)

    Soon we will try to make another fix for this problem.

    Theme Author shufflehound

    (@shufflehound)

    We made new beta update which can be downloaded here from our server. You can test it, and please let us know if the issue is now fixed.

    If you can’t upload and extract zip file then you should replace these files:
    * inc/template-tags.php
    * archive.php
    * index.php
    * search.php

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Pagination Links on Blog’ is closed to new replies.