What is the difference between get_the_* and the_* template tags in wordpress?
问题 I am confuse about get_the_* and the_* template tags. I have used those many times to my theme but i am not clear enough when to use get_the_* and when to use the_* . Would you please explain both concept clearly. 回答1: Typically, there are two key differences between get_the_* and the_* functions. get_the_* methods don't echo anything themselves. Instead, they return the value that you're interested in, normally as a string. For example, get_the_time() echoes nothing, and returns a string