I want to add some codes on my site, tell me is it safe?

Posted in: Newspaper
Post count: 62

Hello! Sir,

I want to add this code on “Theme editor” option but I didn’t find that option on “Appearance” section please tell me where is that option. And is that safe to add this code to my site? This is the code that disables the website URL option from the comment section.

// Disable Comments URL field
function jlwp_disable_comment_url($fields) {
unset($fields[‘url’]);
return $fields;
}
add_filter(‘comment_form_default_fields’,’jlwp_disable_comment_url’);

Thanks! Rohit S

Post count: 20688

Hi,

The theme does not disable that option, that is the default WordPress editor. Please check with your hosting provider because they might have disabled it for security or other reasons.
The option should be there, please check as suggested
https://community.1and1.com/enabling-the-wordpress-theme-and-plugin-editor-wordpress-free-mode/
Could be that code in the wp-config.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.