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

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

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_item,  nav_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:
Trump, NATO chief caution Russia as attacks on Ukraine’s energy infrastructure intensify
Even the price of toys is on the rise. How Americans are scaling back holiday plans
Microdrama apps chase profits as Hollywood moves into short-form, vertical video
Robots could be doing household chores in just 1-2 years, Chinese EV firm says
Answered: How to change homepage title in Q2A?
Answered: How to properly add or format website and portfolio links in a Q2A community profile?
Answered: Is Q2A worthy anymore in era of AI?
Sovereign wealth funds are acting more like private equity giants — and inheriting their risks
Line of Fire: Blind Eye
Private markets are more accessible than ever for investors. Getting out is another matter