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

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

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:
Fanatics to launch sports media and entertainment studio
Pentagon to invest $1 billion in L3Harris rocket motor business, shares surge
Does it really matter who ends up owning Warner Bros.? Media exec Tom Rogers breaks it down
Bank of America boosts Micron price target, sees upside driven by tight memory supply
Intel and AMD get upgrades at KeyBanc thanks to strong server demand for AI
DeepMind CEO is talking to Google CEO 'every day' as lab ramps up competition with OpenAI
Rates have dropped to the lowest point in years — here are the best lenders for refinancing your mortgage
Wikipedia parent partners with Amazon, Meta, Perplexity on AI access
Australia banned social media for under 16s a month ago — here's how it's going
OpenAI tells investors to brace for 'deliberately outlandish' claims from Musk ahead of trial