bartom34
0 Reputation

Reputations

Asked a question
How can I get the current Question Custom Post Type ID ?

Hi Rahul, I am trying to get the ID of the current question. How can I do that in the function.php? Thanks

July 22, 20172
Posted an answer
July 22, 20175
Commented on a post

get_question_id(); does not seem to work neither. What I've done : if(function_exists('social_warfare')){ $id = get_question_id(); echo do_shortcode('[social_warfare post_id="$id"]'); } add_action(...

July 22, 20172
Posted an answer
How can I get the current Question Custom Post Type ID ?

It does not really matter as get_question_id() does not return anything right? So I tried but it does not work.

July 22, 20175
Asked a question
Hook to add social media buttons on top of the page?

Hi Guys, I'd like to add my social media buttons on top of every question pages. Is there a hook to do that?

July 22, 20172
registration
July 22, 20170