Tagged: clean box
- This topic has 16 replies, 4 voices, and was last updated 7 years, 8 months ago by Sakin.
-
AuthorPosts
-
November 8, 2013 at 9:35 pm #16952swapnaranjitanayakMember
Hi ,
For adding Page Numbers in Blog Post , I have installed a plugin named WP-PageNavi. http://wordpress.org/plugins/wp-pagenavi/installation/.
But as instructed there , I am unable to find the same in simple catch theme code. Kindly help me out .
Here is my site: http://www.techriff.com . I want to replace the “Older post” in home page . And want to add numeric page navigation to index and archive page template.
If you do have any other solution for adding page numbers to blog post site, then kindly quote here.
November 8, 2013 at 10:23 pm #16958SakinKeymaster@swapnaranjitanayak: I just check in your site and see that you have activated Jetpack plugin “Infinite Scroll” module. You need to deactivate Infinite Scroll from Jetpack plugin and then it will work.
November 9, 2013 at 9:27 am #16993swapnaranjitanayakMemberThank You Sakin , It worked 🙂 Its appearing on Home Page Now. Bt not on my archive page. When I am clicking on any single post , the page numbers are not showing below of that post.
site:www.techriff.com
November 9, 2013 at 11:43 pm #17019SakinKeymaster@swapnaranjitanayak: I don’t get it. How can single post have page number.
November 10, 2013 at 3:52 pm #17053swapnaranjitanayakMemberSorry , It was Ma Mistake. A single post cant hv a page no. Thanx for the valuable support 🙂
April 23, 2014 at 9:15 pm #27109YuMemberI have the same problem. I have installed the plugin WP-PageNavi and deactivated “Infinite Scroll” module, but it still doesnt work. Where can I find under apprearence editor the code for ‘oler posts’ and ‘newer posts’? I am using Catch Kathmandu Pro. Thank you!
April 24, 2014 at 2:40 am #27146SakinKeymaster@Yu: Sorry Catch Kathmandu Pro theme doesn’t support WP-PageNavi and will add it in next version update.
April 24, 2014 at 12:59 pm #27218YuMemberSee… Thanks.
April 24, 2014 at 2:20 pm #27234YuMember@Sakin: Then how can i change “older posts” to “previous” and “newer posts” to “next”? Thanks
April 24, 2014 at 2:23 pm #27236SakinKeymaster@Yu: You can now download the latest version 2.2 and then use WP-PageNavi plugin.
To change order post to previous and newer post to next. You need to build child theme and then create functions.php file in your child theme and then copy catchkathmandu_content_nav() function from template-tags.php file to your child theme functions.php file and edit those text.April 24, 2014 at 2:34 pm #27238YuMemberI will download 2.2. The programming part is for me too difficult now. Thank you very much for your very fast support!
April 24, 2014 at 3:15 pm #27242YuMemberHi, Sakin. Can you let me know the modified/new file to support WP-PageNavi plugin? Then I can simply upload this part without losing previous customization to the theme.
April 24, 2014 at 5:13 pm #27254SakinKeymaster@Yu: You are not supposed to edit any core theme files. As we will be updating theme as we find bugs as well. So, best is to build child theme and move all the custom functions to your child theme functions.php file. Can you tell me the customization that you have done.
We have changed template-tags.php, style.css, catchkathmandu-allmenu.min.js, catchkathmandu-menu.min.js and catchkathmandu-menus.php
July 24, 2016 at 1:57 pm #96005inquisitiveParticipantActually, i have one working code snippet for numeric page navigation. But, i can’t find where should I call that page navigation function. On other wordpress themes, i used to call it at “loop.php”. But, I can’t find such file in catch box themes. I don’t want to use plugins.
July 24, 2016 at 11:16 pm #96015SakinKeymaster@inquisitive: It’s controlled from
catchbox_content_nav()
function. You can simply build child theme and then copycatchbox_content_nav()
function fromfunctions.php
file to your child themfunctions.php
file and edit it as per your need.July 24, 2016 at 11:55 pm #96016inquisitiveParticipantThank you for your suggestion. It works. 🙂
July 25, 2016 at 4:53 pm #96025SakinKeymaster@inquisitive: Cool 🙂
-
AuthorPosts
- The topic ‘How to add numeric page numbers in simple catch theme?’ is closed to new replies.