Community Forums › Forums › Archived Forums › General Discussion › Modify home page pagination in Eleven40 Pro
- This topic has 11 replies, 3 voices, and was last updated 11 years, 10 months ago by
Jim Colella.
-
AuthorPosts
-
July 3, 2014 at 6:17 am #112836
Jim Colella
MemberHi, I hope somebody can help me out. All I want is to edit the actual text that appears at the bottom of the home page pagination on Eleven40 Pro, where it reads "Next Page", and thereafter "Previous Page" when the user does go to the next page. I know (through using Firebug) that the div class is "archive-pagination", but I have been unable to find anything in the StudioPress code snippets, or the forum here, or anywhere across the web that refers to this (other than the hardcore WordPress codex pages, which I'm not competent enough to understand).
All I've found anywhere is code that applies to post navigation -- i.e., "Next Post" / "Previous Post". Just to be clear, I'm only after editing the PAGE navigation -- and only that text that reads "Next Page" / "Previous Page". (Just for context, I've designed a site that will have a new set of posts each day and will operate like a magazine. So each day is a new issue. Therefore, I want the "Next Page" text to read "Previous Issue", and for "Previous Page" to read "Next Issue" -- but don't let that confuse you! I just want to edit those words. It doesn't really matter what they say in terms of coding! :))
Many thanks for any help or pointers on this.
http://www.turkafile.com/July 3, 2014 at 6:33 am #112837Brad Dalton
ParticipantI did use this solution in a tutorial i wrote but cannot find it on my site.
July 3, 2014 at 6:36 am #112838Jim Colella
MemberI also looked on your site Brad (one of my first stops for stuff like this. Thanks for a great site by the way!) but I couldn't find anything either.
July 3, 2014 at 6:44 am #112840Jim Colella
MemberAlthough, on second thoughts, I did come across this on your site:
I skipped it before because of the "conditional" subject, thinking it wasn't relevant for my purposes. But looking at it again, there may be something relevant. Is it relevant, Brad? If so, which part can I take and use, as I only want to modify the Next/Previous text, as mentioned. (By the way, I also have a functions amendment that is taking care of the text on my POST navigation. I mention, in case there's any overlap between code for post and PAGE navigation.)
Thanks again.
July 3, 2014 at 6:48 am #112841Brad Dalton
ParticipantI haven't been able to find it. If i do, i'll post it back here for you.
July 3, 2014 at 6:49 am #112842Jim Colella
MemberOkay, thanks. Hope you find it!
July 3, 2014 at 9:14 am #112865Lauren @ OnceCoupled
MemberHey Jim,
I believe you're just looking for this: http://my.studiopress.com/snippets/post-navigation/#customize-next-page
We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com
July 3, 2014 at 10:02 am #112877Jim Colella
MemberSorry, but nope. I'm after editing the PAGE navigation, not POST, as that link refers to.
July 3, 2014 at 10:13 am #112879Lauren @ OnceCoupled
MemberNope, that link will change the page navigation, not the post navigation. The home page pagination.
We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com
July 3, 2014 at 11:06 am #112884Jim Colella
MemberI do apologise, Lauren. You're right. I checked the link in a rush on my phone, and went by the title at the top. Although it does say "Post Navigation" the code does refer to page navigation, as you say. A bit of a misleading title, but totally my mistake. Sorry, again.
July 3, 2014 at 12:11 pm #112891Lauren @ OnceCoupled
MemberNot a problem - I agree that the title is misleading; I compared it with my own site's code just to confirm that it was what you needed!
We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com
July 3, 2014 at 4:27 pm #112905Jim Colella
MemberThanks Lauren. I've just put the code in, and it works a treat! Thanks so much.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.