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

How to hide the Ask button from asking questions page 

by
Cheap trick is to rename that button.

Expensive trick is to override ask button function with conditions like if !$template == 'ask'.
by
Where to find the ask button function in which file?
And  could you write the full if statement please
 if !$template == 'ask'  { then do what}
ago by
Sorry, I was not here in April and May.

1 Answer

+1 vote
ago by

Hello,

Since you're using Snowflat theme, you can edit your Snowflat/qa-theme.php file. Search for the function called "private function ask_button()". You can try

private function ask_button()     {

if ($template != 'ask' )

{all original codes here;}

}

...