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

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

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:
Airfare is 23% higher than last year. Is now a good time to use points for flights?
Inflation fears on the rise as one-year outlook in Fed survey hits highest level since May 2023
The SALT deduction limit is $40,400 for 2026. Here's how to maximize it
Trump doesn't think Russia plague incident is bioweapon, plans Putin call Wednesday
Anthropic will be 'most ridiculous IPO' of year, analyst says
Barclays sees big haircare gains for this consumer stock as shoppers prioritize self-care
Trump awarding medals to Musk, Dell, Nadella and other tech execs at science summit
Scrolling alternatives for Samsung Android?
Slow Horses: Lost and Found
Elon Musk blames Indian 'oligarchs' for stalling Starlink launch