Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?
Closed 5 years ago.
Improve this questionSo I would like to access this part of the HTML and be able to edit it (see image below)
However when I access my ftp server and navigate to the Footer.php section, this part of the HTML is not to be found. I also checked Header.php and all other files in the wp-content/themes/mytheme but to no avail. Refer to image below. So where can I locate 'menu-image-title' please? Thanks in advance.
Closed. This question is off-topic. It is not currently accepting answers.Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?
Closed 5 years ago.
Improve this questionSo I would like to access this part of the HTML and be able to edit it (see image below)
However when I access my ftp server and navigate to the Footer.php section, this part of the HTML is not to be found. I also checked Header.php and all other files in the wp-content/themes/mytheme but to no avail. Refer to image below. So where can I locate 'menu-image-title' please? Thanks in advance.
Share Improve this question asked Sep 2, 2019 at 7:39 Cyanic WolfCyanic Wolf 212 bronze badges3 Answers
Reset to default 3The code you are referring to is a menu, and in your screenshot, is likely to be the line starting wp_nav_menu
...
Look in your WP admin under Appearance > Menus, and you should have a Social Media Links menu it seems...
Wordpress fonctions sometimes generates classes that are not visible in your files. Instead search class name it can be helpful to serach html tags or write directly a few words in your page, then push it via FTP an localte it in your site. sometimes it's because your are not targeting the right file.
this html does not appear in a directory like you are looking for. This code is generated dynamically by the php code using values that you have put into the database via the also php-generated pages/fields.
If you want to modify the code you need to modify the php that generates the code