Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
124 views
in Q2A Core by

On Creating advanced theme guidelines (paragraph 8)  Gideon explains how to change HTML locally in a page using  $this->context  method,  

i have tried to use that to change Post_meta on comments only but i can't figure out what is the name of the context .

What i am trying to do is something like that : 

  if  $this->context== "commenting section")
 
{ do something to post meta;
 }

else 

{
Keep the default layout;
}

Thanks lot for help !

 

Q2A version: 1.6

Please log in or register to answer this question.

...