wwolf
google-site-verification=3G4LhnxdCyUKQP-Hh3Re_gVM6oB2csSIWbSa6N1KbK0Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
google-site-verification=3G4LhnxdCyUKQP-Hh3Re_gVM6oB2csSIWbSa6N1KbK0Continue reading
// ACF custom variables $knowsabout = get_field( ‘author_knowsabout’, ‘user_’.get_the_author_meta( ‘ID’ ) ); $knowsabout2 = get_field( ‘author_knowsabout_2’, ‘user_’.get_the_author_meta( ‘ID’ ) ); $knowsabout3 = get_field( ‘author_knowsabout_3’, ‘user_’.get_the_author_meta( ‘ID’ ) ); $knowsabout4 = get_field( ‘author_knowsabout_4’, ‘user_’.get_the_author_meta( ‘ID’ ) ); $knowsabout5 = get_field( ‘author_knowsabout_5’,…Continue reading
add_action(‘init’, function () { global $wp_post_types; if (isset($wp_post_types[‘post’])) { $wp_post_types[‘post’]->capabilities = []; $wp_post_types[‘post’]->map_meta_cap = false; } register_taxonomy(‘post_category’, []); register_taxonomy(‘post_tag’, []); }); add_action(‘widgets_init’, function () { unregister_widget(‘WP_Widget_Recent_Posts’); }); add_action(‘admin_bar_menu’, function ($wp_admin_bar) { //$wp_admin_bar->remove_node(‘new-post’); }, 999); add_action(‘admin_menu’, function () { remove_menu_page(‘edit.php’); remove_submenu_page(‘edit.php’,…Continue reading
add_action(‘admin_init’, function () { // Redirect any user trying to access comments page global $pagenow; if ($pagenow === ‘edit-comments.php’) { wp_safe_redirect(admin_url()); exit; } // Remove comments metabox from dashboard remove_meta_box(‘dashboard_recent_comments’, ‘dashboard’, ‘normal’); // Disable support for comments and trackbacks in…Continue reading
add_filter(‘admin_footer_text’, function () { echo ‘ Este sitio web está siendo gestionado por Fórmula Click. Más información aquí: Mantenimiento técnico Fórmula Click ‘; });Continue reading
// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘fc_wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘fc_wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘fc_wpcode_snippet_duplicate_post_link’ ) ) { function fc_wpcode_snippet_duplicate_post_link(…Continue reading
add_filter( ‘login_display_language_dropdown’, ‘__return_false’ );Continue reading