To get the URL (permalink) to the main blog posts page, you can use the function below. It will return the blog posts page URL whether the front page or another static page is set as the blog posts page.

 

 

Leave a reply

Your email address will not be published. Required fields are marked *