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

Hi there,

Could you help me : How to remove "My Updates" , when user log in ? from the bar on top.

Thanks !

Q2A version: Last one

1 Answer

+4 votes
by
selected by
 
Best answer

Two ways to do this:

1. Using Theme Function

Add following function to your theme's handler qa-theme.php:

    function nav_item($key, $navlink, $class, $level=null) {
        if ($key != "updates") {
            qa_html_theme_base::nav_item($key, $navlink, $class, $level=null);
        }
    }

OR,

2. Using CSS

Add following class to your theme's stylesheet qa-style.css:

.qa-nav-user-updates {
  1. display: none;
}
 
by
thanks ! work perfecly !
...