How to add limited items in WordPress menu?

can you describe your question in more detail. what i understand that if you want to show 4 to 5 fix pages in footer menu then you can do using get_permalinks by page id of that page.something like below. replace page id with your page ids in both get_permalink() and get_the_title(). Example : <ul> <li><a … Read more

Replacing nav-menus.php file with standard clean one?

To answer your question, you can find the original file in the WordPress Github repository. However, when a WordPress website is hacked and has malware infected files it is recommended to reinstall the entire site with a clean install (without plugins), check the database for infected entries and change all (WordPress, database, etc) passwords. When … Read more