Custom permalink with two parameters

According to the WP codex it doesn’t look like there is a %page% tag. See the codex for a list of structure tags. The codex states You must use one of the structure tags, or a combination of tags only. That might be the issue. http://codex.wordpress.org/Using_Permalinks#Using_.22Pretty.22_permalinks OR Since the codex states Make sure to end … Read more

Where to add the permalink in this function?

Make use of the get_comment_link function in your foreach loop like so: foreach ($comments as $comment) { $output .= ‘<li><strong>’ . $comment->comment_author . ‘ said</strong> : “‘ . ‘<a href=”‘ . get_comment_link( $comment->comment_post_ID ) . ‘”>’ . strip_tags($comment->com_excerpt) . ‘…”</a></li>’; }