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

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

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:
Trump withdraws 'Board of Peace' invitation to Carney in widening rift with Canada
TikTok was thriving in the U.S., even before a joint venture saved it from a potential ban
Elon Musk says Tesla taking safety supervisors out of some Robotaxi vehicles in Austin
S&P 500 and Nasdaq rise led by tech, Dow struggles as Street wraps up wild week: Live updates
Airbus CEO warns of new risks after 'significant' trade damage
Musk’s $1 trillion pay package renews focus on soaring CEO compensation
Energy stocks to watch as major winter storm rips through the U.S.
The U.S. states where you can retire at 65 with less than $1 million in savings
China didn’t grab many headlines at Davos, but it's the elephant in the room
Asia-Pacific markets trade mixed amid geopolitical uncertainties