title: Adding rel="next" and rel="prev" with paginate_links() function
body: <p>Inside my archive template, I'm using a pagination.
  it is generated by the function <code>paginate_links()</code></p>
  <p><a href="https://developer.wordpress.org/reference/functions/paginate_links/" rel="nofollow noreferrer">https://developer.wordpress.org/reference/functions/paginate_links/</a></p>
  <p>I try to find out how to implement rel attributes : <strong>next and prev</strong> inside the links, like this :</p>
  <p><code>&lt;a class=&quot;page-numbers&quot; rel=&quot;prev&quot; href=&quot;mywebsite.fr/blog/page/1/#target&quot;&gt;1&lt;/a&gt; </code></p>
  <p><code>&lt;span class=&quot;page-numbers current&quot; href=&quot;mywebsite.fr/blog/page/2/#target&quot;&gt;2&lt;/span&gt; </code></p>
  <p><code>&lt;a class=&quot;page-numbers&quot; rel=&quot;next&quot; href=&quot;mywebsite.fr/blog/page/3/#target&quot;&gt;3&lt;/a&gt; </code></p>
  <p>Have you ever encountered this problem ? Have you use a hook ?</p>
  <p>Thanks for your replies !</p>