How to Call comments_popup_link with a Specific Post
-
Many of the functions (aka template-tags) in WordPress either work on the current post when inside the WP loop or can be given a post ID or a post instance (i.e., WP_Post instance). For example,
get_the_title
accepts a post ID or a post. However, it seemscomments_popup_link
doesn’t accept a post or post ID parameter. Is this a known issue?How do I go about requesting that all functions that get or echo post data to accept an optional post/post ID parameter?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to Call comments_popup_link with a Specific Post’ is closed to new replies.