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

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

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:
Here are the 2 big things we're watching in this week's stock market
Washington scrambles to meet calls for AI guardrails while the window to act closes
A Fed hike next week seems certain after the latest inflation data. Here's what's ahead
Hallux Rigidus
Did Jack pay a bribe to the police officer?
Barista Oat Milk
Trump says U.S. may keep Iranian oil 'like Venezuela' as Gulf-Iran Hormuz talks stall
The 10-year Treasury is closing in on 5%. How it gets there matters more
Z.ai shares tumble over 10% after $5 billion fundraising, its second major raise in two months
Sub-$100 smartphones becoming a rarity as AI memory prices soar