add qa-wa-layer.php
private function wa_output_widget($pos) { foreach ($this->wanyw_widgets as $widget) { if ($widget['position'] === $pos ) { if ($widget['ordering'] == 1 && qa_is_logged_in() ) //just guest show { $this->output(''); } elseif ($widget['ordering'] == 2 && (qa_get_logged_in_points()>=500 || !qa_is_logged_in())) //just point<500 users see { $this->output(''); } elseif ($widget['ordering'] == 5 && qa_get_logged_in_points()>999 ) { $this->output(''); } else $this->output($widget['content']); } } }
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.