I have been busting my head trying to get the user ID with every piece of code possible but it always comes back "0". Not sure what I'm doing wrong. I started out using this: <?php $user_info = ...
There is something weird happening in a recent theme I have developed. Inside the post page when I use $post->ID and get_the_ID() it always returns the same ID which belongs to one of my posts! I'm ...
Is there an exact opposite funciton to this one: get_the_title(ID) I know there's: get_the_id() But it doesn't seem to accept any arguments. So, basically, I'm looking for something like: ...