Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

williamrossi
williamrossi
6,232 Points

Removing pagination arrows from Wordpress

Hi everyone. This is the first time I have worked on Wordpress! Getting on ok but it looks like the previous developer has used some basic html5 replacement sections. I want to slightly alter the pagination.

it reads

Previous 1,2,3,4 next >>

I want to dtich the ">>"

But I can't find the file. anyone know where to find them?

Sorry I know this a little vague!

2 Answers

Hi William!

I reccomend you this link: codex.wordpress.org/Pagination This is what you asking about.

If I want to find this function and file, I will use the following approach:

  1. Define a template file on which the pagination displayed. This article can be very useful with it: codex.wordpress.org/Template_Hierarchy.
  2. Find the place where the pagination prints to the page. It can be expression with the following functions: next_posts_link, previous_posts_link; or a some user defined function.
  3. If it is the user defined function, its definition should be in the function.php file with 99% probability.

Something like that.

williamrossi
williamrossi
6,232 Points

Found it and removed! Thanks!