the file paths are persisted in a WordPress option with the name “aio-favicon_settings” in the database.
Cheers,
Arne
I appreciate the response, but unfortunately when I manually edit the file paths in the database entry it causes the plugin settings to clear out inside my dashboard and the favicons no longer appear.
Are you sure that the edited paths are valid?
The plugin will add favicon links to your site if it’s active, can you post a link here?
Cheers,
Arne
For the website: http://vs-networks.com/jddealers
I’ve edited the “aio-favicon_settings” WordPress option to this:
a:11:{s:17:"aioFaviconVersion";s:3:"4.0";s:9:"debugMode";b:0;s:21:"removeReflectiveShine";b:0;s:21:"removeLinkFromMetaBox";s:4:"true";i:0;b:0;s:11:"frontendPNG";s:83:"/jddealers/wp-content/uploads/2012/10/VSN_Favicon.png";s:10:"backendPNG";s:84:"/jddealers/wp-content/uploads/2012/10/VSN_Favicon1.png";s:13:"frontendApple";s:84:"/jddealers/wp-content/uploads/2012/10/VSN_Favicon2.png";s:12:"backendApple";s:84:"/jddealers/wp-content/uploads/2012/10/VSN_Favicon3.png";s:11:"frontendICO";s:71:"/jddealers/wp-content/uploads/favicon.ico";s:10:"backendICO";s:72:"/jddealers/wp-content/uploads/favicon1.ico";}
The image paths are valid, and follow the same structure as every other link on our website.
When I then look inside the plugin settings inside my dashboard, there is nothing filled in under any setting.
Hi,
it seems that the output of the link tags is broken.
Posting the options from the database helps.
My guess: it’s because you changed the values of the options, but not the descriptors.
It works like this:
a=array
s=string
i=integer
b=boolean.
a:11 means array with 11 values
s:17:”aioFaviconVersion” means that the string “aioFaviconVersion” is 17 characters long.
I changed the formatting so that you can see which descriptors match which field:
a:11:{
s:17:"aioFaviconVersion";s:3:"4.0";
s:9:"debugMode";b:0;
s:21:"removeReflectiveShine";b:0;
s:21:"removeLinkFromMetaBox";s:4:"true";i:0;b:0;
s:11:"frontendPNG";s:83:"/jddealers/wp-content/uploads/2012/10/VSN_Favicon.png";
s:10:"backendPNG";s:84:"/jddealers/wp-content/uploads/2012/10/VSN_Favicon1.png";
s:13:"frontendApple";s:84:"/jddealers/wp-content/uploads/2012/10/VSN_Favicon2.png";
s:12:"backendApple";s:84:"/jddealers/wp-content/uploads/2012/10/VSN_Favicon3.png";
s:11:"frontendICO";s:71:"/jddealers/wp-content/uploads/favicon.ico";
s:10:"backendICO";s:72:"/jddealers/wp-content/uploads/favicon1.ico";
}
for example:
s:83:”/jddealers/wp-content/uploads/2012/10/VSN_Favicon.png”;
This string is only 54 characters long now, not 83. (the missing 29 characters are probably something like “http://www.mysite.com/mypath”)
so the entry must be
s:54:”/jddealers/wp-content/uploads/2012/10/VSN_Favicon.png”;
Cheers,
Arne
oh, yeah, this is managed by WordPress, not my plugin directly.
I’m just using the WordPress Options API.
Cheers,
Arne