Notice: get_settings is deprecated since version 2.1! Use get_option() instead. in C:\\Domains\\domain.com\\wwwroot\\wp-includes\\functions.php on line 3382
Get_settings was used a few times in the theme’s functions.php but I changed all references to get_option but still get this error.
Also when logged into my dashboard on the theme options page all the inputs contain the same error so I can’t configure it.
There are no plugins installed as this is a fresh WP install, so any ideas what else might cause this error?
]]>– get_settings is deprecated since 2.1. Use get_option() in /public_html/wp-includes/functions.php on line 3237
– register_widget_control is deprecated since 2.8. Use wp_register_widget_control() in /public_html/wp-includes/functions.php on line 3237
– register_sidebar_widget is deprecated since 2.8. Use wp_register_widget_control() in /public_html/wp-includes/functions.php on line 3237
My question is: are these coming from the theme files or are these an issue in WP files themselves?
Thanks to anyone who might have a clue.
]]>I’m trying to use a get_settings along with an echo, and I can’t get it to work.
I’m trying to do something like:
<?php include ("echo "wp-content/themes/get_settings('template')/features.php"");?>
But it doesn’t work.
Can anyone offer help please?
Thank you!
]]>Does anyone know what all the php get_settings options are?
I know get_settings(‘home’) will give you the URL of the site.
I know get_settings(‘template’) will give you the name of the theme.
Is there a list of all possibilities somewhere?
Thanks!
]]><?php echo get_settings('home'); ?>
I would like to know where the function get_settings() is defined ?
Thanks in advance
]]>echo '<img src="' . get_settings('stylesheet_directory') . '';
will work but as far as I can tell, of the ‘will work with 1.5+’ options, only ‘html_type’ generates anything.
At the moment I am using this within my function:
echo '<img src="' . get_settings('siteurl') . '/pathto/stylesheet/directory>';
which is not going to be good if the theme folder is renamed.
Any help/ suggestions would be appreciated, this is my first foray into coding and I am out of ideas.
]]>