Okay
  Public Ticket #2072273
home page: page button
Closed

Comments

  •  2
    rogstv started the conversation

    How can I remove the page button at the bottom of my home page. There is no second page and when the page button is clicked it links to a page not found screen.

    Please see attached screen shot.

  •  295
    Paul replied

    Hello!

    Hmm, that's strange. Could you please first go to the "Settings > Permalinks" screen and click the save button once? Then check page 2 again on the front-end and see if the Page Not Found issue is gone.

    I am also wondering how many portfolio items you currently have?

    Regards,
    Paul

  •  2
    rogstv replied

    Hi Paul,

    I followed the Settings-Permalinks procedure; the page link is still displayed. 

    Just some background: I installed the theme with the original theme data. It initially had approx 25 portfolios. I deleted 6 of them leaving 19 which is one less than the setting for "number per page" setting on the All Portfolios page. 

    Thanks,


    Roger

  •  2
    rogstv replied

    Hi Paul,

    This appears to be the code that creates the next page link at the bottom of the home page:

    <div class="numbers-pagination">
    	<nav class="navigation pagination" role="navigation">
    		<h2 class="screen-reader-text">Posts navigation</h2>
    		<div class="nav-links"><span aria-current='page' class='page-numbers current'>1</span>
    <a class='page-numbers' href='http://test.rogerstevensphoto.com/index.php/page/2/'>2</a>
    <a class="next page-numbers" href="http://test.rogerstevensphoto.com/index.php/page/2/"><span class="screen-reader-text">Next</span><i class="fas fa-caret-right"></i></a></div>
    	</nav></div>

    Would commenting that  out solve the problem or is that code needed elsewhere?

  •  2
    rogstv replied

    One more observation; when I look at the preview of Christopher on your website there is no page number and  the div class "numbers-pagination" is not in the code.

    Thanks,


    Roger

  •  2
    rogstv replied

    I downloaded a new copy of Christopher and tried to install that to start over. I get a message : The package could not be installed. The theme is missing the style.css stylesheet.

    Any suggestions?


    Thanks,

    Roger

  •  295
    Paul replied

    I am so sorry for the slow reply, Roger.

    For the last issue, please unzip the main downloaded package first and upload only the "christopher.zip" file to install the theme (for more information about the installation instruction, please check out the theme documentation which is included in the package.)

    For the initial issue about the pagination, could you please send me the site URL and login account? I will help you check it. 

    *Don't forget to mark your reply as "Private" when sending the credentials.

  •   rogstv replied privately
  •  295
    Paul replied

    Thanks for the information!

    I have checked your settings and updated the permalink setting to "Post name" instead of "Custom structure". Now the pagination on the front-page is working properly. 

    Note that any drafted posts will be omitted from the list.

    Please let me know if you still find something not right.

  •  2
    rogstv replied

    Thanks Paul!

  •  295
    Paul replied

    You're most welcome, Roger!