Unregister widgets damore

//To get rid of the selected widgets function unregister_default_wp_widgets() { unregister_widget( ‘WP_Widget_Calendar’ ); unregister_widget( ‘WP_Widget_Archives’ ); unregister_widget( ‘WP_Widget_Categories’ ); unregister_widget( ‘WP_Widget_Recent_Posts’ ); unregister_widget( ‘WP_Widget_Recent_Comments’ ); unregister_widget( ‘WP_Widget_Tag_Cloud’ ); unregister_widget( ‘WP_Widget_Meta’ ); unregister_widget( ‘WP_Widget_Links’ ); unregister_widget( ‘WP_Widget_Pages’ ); unregister_widget( ‘WP_Widget_RSS’ );…Continue reading

Change from e-mail address

//aanpassen afzender bij registratie etc /** change from e-mail address */ add_filter(‘wp_mail_from’, ‘new_mail_from’); add_filter(‘wp_mail_from_name’, ‘new_mail_from_name’); function new_mail_from($old) { return ‘[email protected]’; } function new_mail_from_name($old) { return ‘D\’Amore – de bruidssalon voor Amersfoort en Arnhem’; }Continue reading

Enable Zooming in Website

function remove_my_meta_viewport_action() { remove_action(‘wp_head’, ‘et_add_viewport_meta’); } function custom_et_add_viewport_meta(){ echo ‘‘; } add_action( ‘init’, ‘remove_my_meta_viewport_action’); add_action( ‘wp_head’, ‘custom_et_add_viewport_meta’ );Continue reading

ListMyFiles

//WPCode Snippet: ListMyFiles //Author: Richard Raymond //Date: 20241112 //ARGUMENTS: arguments passed from the short code are: //1. $ftypes: the allowable file types (file extensions) //2. $ffolder: the (local) work folder location relative to the root. (e.g. wp-content/documents/my_special_folder/ ). If left…Continue reading

ListMyFiles

//WPCode Snippet: ListMyFiles //Author: Richard Raymond //Date: 20241112 //ARGUMENTS: arguments passed from the short code are: //1. $ftypes: the allowable file types (file extensions) //2. $ffolder: the (local) work folder location relative to the root. (e.g. wp-content/documents/my_special_folder/ ). If left…Continue reading