Answered: how can find this code in the source code(which got from git hub)?

Post date: 2020-08-04 00:33:32
Views: 180

If you want to customize your "qa-nav-main-link" elements, you need to re-code the Q2A functions that output this.

Check these functions nav, nav_list, nav_itemnav_link in qa-theme-base.php file. Also check out if some of them are already overridden in your qa-theme.php file.

Additional advice is that you must know that the core layout functions are in qa-theme-base.php file. If you are using some theme, like the default "Snowflat" theme, for customizing purpose, some functions can be overridden in qa-theme/Snowflat/qa-theme.php file.

You can apply your changes by 1) creating a plugin, by 2) editing the qa-theme.php file, or 3) by editing the qa-theme-base.php. The first option is advisable because your changes won't be affected by future updates.

Please click Here to read the full story.
 
Other Top and Latest Questions:
How to change homepage title in Q2A?
Airlines cancel hundreds of flights as massive winter storm sweeps across U.S.
Trump policies to boost low-end consumer into the midterms, says JPMorgan. These stocks will benefit
Pardoned Binance founder Zhao says his business relationship with the Trumps was 'misconstrued'
Cramer says 'a big move is coming' for this financial, weighs a chip stock buy
Trump administration to take 10% stake in USA Rare Earth in $1.6 billion deal, sources say
China's AI trade is quickly moving from infrastructure to applications. Watch these stocks
Energy stocks to watch as major winter storm rips through the U.S.
Trump accounts get supercharged by employer matches — some companies offer up to $1,000
JPMorgan's top short ideas for 2026