• Resolved densdj

    (@densdj)


    Hi Greg, today i notice that cant edit add page, WP admin shows error when i am trying to edit Add page (by adverts), email comes with: “Call to undefined function shortcode_adverts_add()” (i can preview it, and do other action but edit. There was moderation set on Add page, and plugin was updated few days ago) My site, if needed.

    • This topic was modified 5 years, 2 months ago by densdj.
Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    i understand this is the question you posted in the different thread so i am just pasting the reply here just for the reference.

    […]
    you should be able to fix this issue by adding the code below in your theme functions.php file

    
    add_action( "init", function() {
      if( is_admin() && function_exists( "adverts_init_frontend" ) ) {
        adverts_init_frontend();
      }
    }, 100 );
    
Viewing 1 replies (of 1 total)
  • The topic ‘Error editing Add page’ is closed to new replies.