Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- the_permalink();
- category_description();
- /**
- * Pass in a taxonomy value that is supported by WP's `get_taxonomy`
- * and you will get back the url to the archive view.
- * @param $taxonomy string|int
- * @return string
- */
- function get_taxonomy_archive_link( $taxonomy ) {
- $tax = get_taxonomy( $taxonomy ) ;
- return get_bloginfo( 'url' ) . '/' . $tax->rewrite['slug'];
- }
- echo get_category_link( get_queried_object_id() );
Add Comment
Please, Sign In to add comment