WordPress.org

Support

Support » Plugins and Hacks » [Plugin: More Types] Enhance has_archive to accept string for permalink

[Plugin: More Types] Enhance has_archive to accept string for permalink

Viewing 1 replies (of 1 total)
  • For anyone else encountering this issue, a quick fix to modify the plugin can resolve it has been tested with v1.1 of the plugin.

    In /wp-content/plugins/more-types/more-types-settings.php on line 340.

    //Comment out the line which generates the true / false boolean option
    //$row = array(__('Has archive', 'more-plugins'), $more_types_settings->settings_bool('has_archive') . $comment);
    //Replace it with one that uses the settings_input instead of settings_bool to generate a text field
    $row = array(__('Has archive', 'more-plugins'), $more_types_settings->settings_input('has_archive') . $comment);

    You will have to put 0 / 1 in if you want to maintain the false (0) / true (1) values for any subsequent modifications.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: More Types] Enhance has_archive to accept string for permalink’ is closed to new replies.