This will add the pagination HTML to your post and apply the styling directly within the post.
- Create or Edit a Post:
- Log in to your WordPress dashboard.
- Navigate to
Posts
and selectAdd New
or choose an existing post to edit.
- Insert the HTML Block:
- In the WordPress editor, click the plus (+) icon to add a new block.
- Type
HTML
in the search bar and select theCustom HTML
block.
- Paste the HTML and CSS Code:
- Copy the above code (HTML with embedded CSS).
- Paste the code into the
Custom HTML
block.
- Publish or Update the Post:
- Click
Publish
if it’s a new post orUpdate
if you are editing an existing post.
- Click