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

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

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:
Women say caregiving and child care costs are the No. 1 reason they quit the workforce last year, according to new data
Family offices brace for higher inflation with real estate and alternative investments
AstraZeneca is listing in New York, as Big Pharma balances the huge U.S. market with China's tempting innovation
What Trump's choice of Kevin Warsh for Fed chair may mean for consumers
How to show question title before question meta in question list. (Mayropro theme)
question2answer have everything accept one...
United Arab Emirates' 'Spy Sheikh' bought secret stake in Trump crypto company: WSJ
Erratic behavior in bitcoin, silver and memory stocks threatens to unnerve bull market
Devon, Coterra merge to create U.S. shale giant in $58 billion deal
Speaker Johnson: 'Confident' government shutdown will end by Tuesday