Unyson

A WordPress framework that facilitates the development of WP themes

Stars
925
Committers
38

Bot releases are visible (Hide)

Unyson - v1.2.3

Published by about 10 years ago

  • Fix for action that is not called after the v1.2.1 release

In v1.2.1 we added the possibility to use the framework as a plugin. To accomplish that, we moved the framework initialization to the after_setup_theme action to prevent undefined constant TEMPLATEPATH errors because the theme is not yet loaded when the plugin is initialized.
But in framework-customizations/theme/hooks.php there is an add_action( 'after_setup_theme', '_action_theme_setup' ); that is not executed anymore. Now we changed that line to add_action( 'fw_init', '_action_theme_setup' );. But the users that downloaded the framework before v1.2.3 have that code in the theme. In this release we added a piece of code that executes that function if it exists.

Unyson - v1.2.2

Published by about 10 years ago

  • SQL enhancements
  • css fix
Unyson - v1.2.1

Published by about 10 years ago

  • Added the possibility to use the framework as a plugin

How to use the framework as a plugin:

  1. Create the wp-content/plugins/unyson directory.

  2. Extract the framework in wp-content/plugins/unyson/framework.

  3. Create the wp-content/plugins/unyson/unyson.php file with the following contents:

    <?php if (!defined('ABSPATH')) die('Forbidden');
    /**
     * Plugin Name: Unyson Framework
     * Plugin URI: http://unyson.themefuse.com/
     * Description: A framework that facilitates the development of themes.
     * Version: 1
     * Author: ThemeFuse
     * Author URI: http://themefuse.com
     * License: GPL2
     */
    
    function _filter_fw_framework_plugin_directory() {
        return plugin_dir_path(__FILE__) .'framework';
    }
    add_filter('fw_framework_directory', '_filter_fw_framework_plugin_directory');
    
    function _filter_fw_framework_plugin_directory_uri() {
        return plugin_dir_url(__FILE__) .'framework';
    }
    add_filter('fw_framework_directory_uri', '_filter_fw_framework_plugin_directory_uri');
    
    require dirname(__FILE__) .'/framework/bootstrap.php';
    
  4. You must have a theme with the framework-customizations/ directory (like framework default theme).

Unyson - v1.2.0

Published by about 10 years ago

  • Removed constants

Do not use the FW_* constants, they are deprecated and will be removed in the next major release.

Avoid constants

How to migrate from constants to functions:

  • Replace the FW_CT_* constants with the fw_get_stylesheet_customizations_directory() and fw_get_stylesheet_customizations_directory_uri() functions
  • Replace the FW_PT_* constants with the fw_get_template_customizations_directory() and fw_get_template_customizations_directory_uri()
  • Replace the FW_DIR, FW_EXTENSIONS_DIR, FW_URI, FW_EXTENSIONS_URI with the fw_get_framework_directory() and fw_get_framework_directory_uri()
Unyson - v1.1.5

Published by about 10 years ago

  • Widgets: WP4.0 fix
  • Shortcodes enhancements
Unyson - v1.1.4

Published by about 10 years ago

Unyson - v1.1.3

Published by about 10 years ago

  • Fixed option-type date-picker #10
  • Option-type Icon: FontAwesome class now is saved with the 'fa ' prefix #8 #9
  • Fixed thumbnails in option-type upload and multi-upload #6
Unyson - v1.1.2

Published by about 10 years ago

  • Minor translation fixes #1
  • Removed deprecated function
  • Do not register back-end styles and scripts if not in admin area
  • Fixed action that changes posts_per_page in all main queries #5
Unyson - v1.1.1

Published by about 10 years ago

Unyson - v1.1.0

Published by about 10 years ago

  • Minimum required WordPress version 4.0
  • Breadcrumbs extension fixes
  • Builder fixes for WP 4.0
  • fwEvents javascript helper refactor
  • Added manifest.php to all extensions
  • Added installation instructions
Unyson - v1.0.0

Published by about 10 years ago

Initial release of Unyson!