• Resolved collinsavenue

    (@collinsavenue)


    Hi, I need to make elementor default wordpress editor.
    In old topics I found the solution but this code https://gist.github.com/heyfletch/7c59d1c0c9c56cbad51ef80290d86df7 gives error

    `Uncaught Error: Call to undefined function get_current_screen() in wp-content/themes/hello-theme-child-master/functions.php:30
    Stack trace:
    #0 wp-includes/class-wp-hook.php(286): fd_make_elementor_default_edit_link(‘https://base.po…’, 95, ‘display’)
    #1 wp-includes/plugin.php(208): WP_Hook->apply_filters(‘https://base.po…’, Array)
    #2 wp-includes/link-template.php(1378): apply_filters(‘get_edit_post_l…’, ‘https://base.po…’, 95, ‘display’)
    #3 wp-includes/admin-bar.php(765): get_edit_post_link(95)
    #4 wp-includes/class-wp-hook.php(286): wp_admin_bar_edit_menu(Object(WP_Admin_Bar))
    #5 wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make Elementor the default editor’ is closed to new replies.