Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1. В файле wp-config.php, после всего кода добавить
    include(getenv("DOCUMENT_ROOT")."/wp-content/plugins/tdo-mini-forms/tdomf.php");

    2. В файле capabilities.php, после всего кода добавить
    include(getenv("DOCUMENT_ROOT")."/wp-includes/pluggable.php");

    3. После 463 строки, в файле tdomf.php добавить

    if ( !function_exists('tdomf_add_menus') )
    {

    и сделать закрытие после описания функции, тоесть до
    //////////////////////////////////
    // Load the rest of the plugin! //
    //////////////////////////////////

    4. После
    /////////////////////////
    // Start/Init/Upgrade //
    ////////////////////////
    Вставить:

    if ( !function_exists('tdomf_init') )
    {

    и закрыть после описания функции, тоесть перед строкой: tdomf_db_create_tables();

    5. В файле plugins/tdo-mini-forms/include/tdomf-form.php расскоментить строку 159 и в строке 157 вместо draft вписать publish

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