I would like to add a custom look to the <!–nextpage–> links in my posts.
I’ve found the wp_link_pages() template tags in both loop-single.php and loop-index.php but making any modifications in these php files doesn’t make any difference to the look of the page-links.
Where do I go the modify the look of the page-links (page 1 page 2 page 3, etc…) instead of (1 2 3 4 ….)?
Thanks,
Chad
Hi Chad,
The wp_link_pages() function is handled by WordPress, please read its documentation.
Regards,
Josue
I understand that wordpress handles it. However, each theme, for styling purposes, deals with wp_link_pages() differently. In the Twenty-Twelve theme the wp_link_pages() tag is found in single.php.
Where are ALL the wp_link_pages() tags located in Enfold? I found one in loop-single.php, one in loop-index.php, and one in loop-page.php in the \includes\ folder. But when I make changes to the attributes in wp_link_pages() in those php files nothing happens in the theme. There must be another location for that template tag in Enfold. Or something in the theme styling is overriding those changes.
All I want to do is change the way the posts handle the <!–nextpage–> Page Link. Currently in Enfold it only displays “1 2 3” etc… In wordpress default it at least displays “page 1 2 3” etc…
Thanks,
Chad
Hi Chad,
In the latest version of Enfold (2.2), wp_link_pages() is called in these files (3):
Regards,
Josue
Enfold 2.2 is not up on themeforest. Version 2.1 of the theme’s update in theme options doesn’t say there is an update either.
I’ve tried altering all of those files–nothing changes. But I appreciate the reply.
Found another way around the problem.
Thanks,
Chad