Tagged: navigation, previous
- This topic has 4 replies, 2 voices, and was last updated 9 years, 7 months ago by Steven.
-
AuthorPosts
-
April 12, 2015 at 11:16 am #55616StevenParticipant
Hi Catch Themes!
I just upgraded from Simple Catch to Simple Catch Pro. In the “live preview” of Simple Catch Pro, you reach older posts from the homepage via a prominent button/bar labeled “older posts.” The button appears at the end of the list of posts on the homepage.
After upgrading to Simple Catch Pro, my homepage retains the diminutive “Previous” text to navigate to older posts. What must I do to have the more prominent “older posts” bar visible in the live preview of Simple Catch Pro?
Thank you,
– Steve
April 13, 2015 at 9:40 am #55656SakinKeymaster@Steven: This is strange. I check in both Simple Catch and Simple Catch Pro theme, both have same navigation, that is Previous and Next. I don’t know how you got it Older Posts and Newer Posts in Simple Catch Theme. Both the theme uses same function
simplecatch_content_nav()
for that.If you want to edit that then you need to build child theme. You can also download sample child theme from http://catchthemes.com/blog/create-child-theme-wordpress/ and then copy function
simplecatch_content_nav()
fromsimplecatch_functions.php
file in Simple Catch Pro theme. Then add that in your child themefunctions.php
file.Then replace the following code:
<ul class="default-wp-page clearfix"> <li class="previous"><?php next_posts_link( __( 'Previous', 'simplecatch' ) ); ?></li> <li class="next"><?php previous_posts_link( __( 'Next', 'simplecatch' ) ); ?></li> </ul>
With the code as below:
<ul class="default-wp-page clearfix"> <li class="previous"><?php next_posts_link( __( 'Older Posts', 'simplecatch' ) ); ?></li> <li class="next"><?php previous_posts_link( __( 'Newer Posts', 'simplecatch' ) ); ?></li> </ul>
April 14, 2015 at 7:24 am #55737StevenParticipantSakin, thank you for replying to my question.
I think you misunderstood my question. The “Older Posts” is present in the “Live Preview” for Simple Catch Pro on this very website (http://catchthemes.com/demo/simplecatch-pro/).
If I understand correctly, you are saying that both Simple Catch and Simple Catch Pro use “Previous” and “Next” and that the “Older Posts” button on the demo is incorrect.
Thank you for your assistance.
– Steve
April 14, 2015 at 3:03 pm #55745SakinKeymaster@Steven: Ok that is called infinite scroll on click. For this, you can need to install Jetpack Plugin and activate Infinite Scroll module.
April 14, 2015 at 7:35 pm #55757StevenParticipantThanks, Sakin!
– Steve
-
AuthorPosts
- The topic ‘Navigation to older posts – unexpected display’ is closed to new replies.