Reply To: Custom Icon Per Term

Home Forums MapPress Support Custom Icon Per Term Reply To: Custom Icon Per Term

#15382
Chris
Keymaster

Hi,

Have you uploaded ‘workoffice.png’ to the directory ‘/wp-content/uploads/mappress/icons’? If not, you’ll need to FTP it over to that directory.

Other than that, I’m not sure. Could you post your current code again?

You’re getting the default icon because the plugin can’t find the icon you set, or because nothing was set.

Try *always* returning ‘workoffice.png’ – then you’ll know whether the issue is with the code to check the taxonomy or with the icon itself. For example:

function myiconid($iconid, $poi) {
return ‘workoffice.png’;
}