Add additional first page, last page links to the_posts_pagination()

the_posts_pagination() is an echo wrapper for get_the_posts_pagination(). The getter generates pagination links with paginate_links(), which returns a string with the links separated by a newline character by default. This string is passed to _navigation_markup() to get the complete pagination markup. We can manipulate the paginate_links() output with paginate_links_output filter, before the navigation markup is generated. … Read more

how do I encode links to specific archive searches?

WordPress can generate these, so you can too. You would need to use the same function that WordPress does. For category it would be something like: $category = get_category_by_slug( ‘example’ ); $link = get_category_link( $category->term_id ); Similarly there is get_tag_link() and on deeper level they all really use get_term_link() I didn’t play much with authors, … Read more

terms_description and admin problem

There is nothing in term_description() and deeper (that I see) that checks for user. You can try this and see if it returns WP_Error that might make term_description() return empty string: get_term_field( ‘description’, $term, $taxonomy )

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)