crabbytech
Member
Posted 1 year ago #
Hello there,
I've got my longer blog posts broken up into more than one page and at the bottom it has the pages as links, 1, 2 and 3.
That's perfect for when you get into the actual post, but is there a way to hide those page numbers on the main index page that you see when you first bring up the site? I want it to just have the "Read more" link and not have the extra links to each individual page.
I'm guessing this piece of code is in the index.php area?
Please and thanks!
-Aaron
http://www.crabbytech.net/
look for some code like: wp_link_pages() in your front page template (index.php ?)
http://codex.wordpress.org/Function_Reference/wp_link_pages
mydanblog
Member
Posted 1 year ago #
Or go to your css and add:
.home .page-link {display: none;}
That should do it.
Your css file looks like it has got some major issues, though. Some missing {} somewhere.
crabbytech
Member
Posted 1 year ago #
Thanks everybody. That code did the trick mydanblog. Thanks for letting me know. I'll see if I can find the error. This was a preexisting theme that I've heavily edited and I probably goofed something up somewhere. It's still loading fine for me though so I wonder where it could be.