-
AuthorPosts
-
September 16, 2013 at 1:03 am #161502
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,
ChadSeptember 17, 2013 at 1:08 am #161990Hi Chad,
The wp_link_pages() function is handled by WordPress, please read its documentation.
Regards,
JosueSeptember 17, 2013 at 1:20 am #161996I 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,
ChadSeptember 17, 2013 at 1:27 am #161997Hi Chad,
In the latest version of Enfold (2.2), wp_link_pages() is called in these files (3):

Regards,
JosueSeptember 17, 2013 at 1:32 am #161999Enfold 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.
September 17, 2013 at 1:34 am #162000I’ve tried altering all of those files–nothing changes. But I appreciate the reply.
Found another way around the problem.
Thanks,
Chad -
AuthorPosts
- The topic ‘Styling Page-Links in Posts’ is closed to new replies.
