See the codex. The first parameter is format, the second is link text.
<?php previous_post_link('<strong>%link</strong>', '«'); ?>
<?php next_post_link('<strong>%link</strong>', '»'); ?>
Related Posts:
- previous next with custom-post-type by order attribute
- prev/next post links with custom query
- Url PrevPost after migration
- Previous and Next Navigation buttons take the user to the wrong posts
- Can the Next/Prev Post links be ordered by menu order or by a meta key?
- is it possible to get next_post_link
- Get Previous & Next posts by Post ID
- Filter next_post_link() and previous_post_link() by meta_key?
- How can I add title attributes to next and previous post link functions?
- How to get next and previous post links, alphabetically by title, across post types, in a shortcode
- get_adjacent_post alternative on a very large db
- How can I get next/ previous post links to order by a filter (by the last word of the title)?
- next and previous post link ordered alphabetically
- Thumbnail (featured image) of next and previous post is not being properly displayed!
- Is it possible to remove next-post / previous-post with out creating a custom template?
- How can I limit the length of the previous/next posts in my WordPress Theme?
- How to use next_post_link and previous_post_link on single posts in search results
- Next/Previous Posts Links: Alphabetically and from Same Category
- How can I get next post id after current post id for custom post type
- Problem excluding category from get_next_post
- Why is previous_post_link and next_post_link working outside of the Loop?
- adding custom fields to next and previous post link
- specify meta_key / meta_value condition for prev_post_link and next_post_link
- Using previous_post_link and next_post_link to wrap around post sequence
- Disable “previous link” in first post and “next link” in last post
- previous / next post with thumbnail
- next_posts_link not working in custom loop
- Making next_posts_link(); return posts by month
- Show prev and next post links for parent post of current image in attachment page?
- WordPress previous_post_link exclude posts with multiple categories
- Post in Multiple Categories to stay in current category (permalink, next previous post link)
- Showing Thumbnail from Previous and Next Posts
- Next and prev. post link ONLY within category
- Working with Next and Prev links in Single Taxonomy Templates
- How to make my pagination loop continuously?
- How can I make the “Preview Post” button save and preview in the same window?
- WordPress pagination link always leads to home page
- Previous/Next Post Within the Category?
- Make `previous_post_link()` Function Show The Post After Next i.e. Jump A Post
- next_post_link and previous_post_link in custom post type single page, in same non-custom category
- Next and Previous links on a single taxonomy page only link to same term
- Get attachment next and previous by author only
- connect last post with first post
- previous_post_link() next_post_link() arrow position
- “next_posts_link” and “previous_posts_link” display me NOTHING
- Can I use get_adjacent_post for specific categories?
- Add #anchor to next/previous_post_link
- Next and/or previous post content
- Previous_post and Next_post – Custom Post Type
- next_post_link for CPT only working for a few posts? weird!
- Is it possible to nest get_previous_post()?
- Exclude Posts From Specific Category from Next and Previous post links
- Can I use images as anchor tags with
- Is it possible to skip certain specified pages when using < prev and next > links?
- Why do next pages load the same content rather then older articles?
- Next and Previous Posts of Same Parent
- Show category from “Next post” and “Previous post” [edited]
- previous/next_post_link in the same sub-category?
- Using ‘previous_post_link()’ & ‘next_post_link()’ on single attachment pages
- Previous/next post links displaying wrong category than is desired
- Next Posts Prev Posts for Standard post format only
- get_adjacent_post – in same term or category not working
- next_post_link and previous_post_link order not working properly
- Get Adjacent Post By Tag
- get_next_post_link() and get_previous_post_link() return wrong posts
- previous_posts_link and next_posts_link, how to return the next/previous post’s title as the url
- WordPress next/prev links Issue
- Modify previous and next post links to current Authors Other posts
- Link to the next/prev posts in index loop in same category?
- next_post_link / previous_post_link not working with WP_Query
- Displaying the author of next and previous posts in pagination?
- Single: Prev and next Post in same order as main query, in all categories
- How to exclude or filter password protected posts when using next_post_link() previous_post_link
- Single.php Category Post Count
- Why are previous_post_link/next_post_link skipping some posts?
- Add Previous/Next Buttons to CPT Single Pages Only
- How to use next_posts_link/previous_posts_link for custom post types paginate?
- query_posts pagination will always show identical content
- WordPress post pagination continuous [duplicate]
- Get previous/next post from (specific) category
- WordPress post next/prev not working
- Get next post in same category not working WP 4.7.4
- altering %title
- Get ID for previous/next image link
- Tweak next_post_link for it to include thumbnail
- Pagination for custom loop on custom page template is not displaying anything
- Include scheduled ( future ) posts in WordPress post navigation ( previous_post_link, next_post_link )
- Fetching All Posts (200+) in a Category – Performance Issues?
- How to edit the ‘
- Can’t get the previous and next posts permalink
- Custom Posts and Posts – next_post_link and previous_post_link not working together
- using images in next/previous_post_link [closed]
- Display next 3 posts based on custom taxonomy
- navigation among single posts
- Next/Previous links doesn’t work in the same category
- Next Prev Post link rendering current post thumbnail
- How do I display a greyed out next_post_link when there is no next post
- grab neighboring content in a query
- Ajax (jquery) wp_query pagination returns -1
- WP_Query and pagination AGAIN?