Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17765

    Hello!

    How can I disable the “Import Dummy Data” button on my working site to avoid that someone accidentally press it?

    #96749

    Hi,

    Go to wp-contentthemespropulsionincludesadmin and open register-admin-options.php. Look for this code

    $avia_elements[] =	array(
    "slug" => "avia",
    "name" => "Import Dummy Content: Posts, Pages, Categories",
    "desc" => "If you are new to wordpress or have problems creating posts or pages that look like the theme preview you can import dummy posts and pages here that will definitley help to understand how those tasks are done.",
    "id" => "import",
    "type" => "import");

    Replace it with

    /*$avia_elements[] =	array(
    "slug" => "avia",
    "name" => "Import Dummy Content: Posts, Pages, Categories",
    "desc" => "If you are new to wordpress or have problems creating posts or pages that look like the theme preview you can import dummy posts and pages here that will definitley help to understand how those tasks are done.",
    "id" => "import",
    "type" => "import");*/

    Regards,

    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Disable "import dummy data"’ is closed to new replies.