Plugin Directory

Changeset 2214885


Ignore:
Timestamp:
12/19/2019 08:02:12 AM (6 years ago)
Author:
obox
Message:

Fixed widget registration code.

Location:
obox-mobile
Files:
118 added
5 edited

Legend:

Unmodified
Added
Removed
  • obox-mobile/trunk/admin/load-includes.php

    r2213386 r2214885  
    33/** Front-end elements **/
    44include( OBOXMOBILEDIR . "/functions/class.php" );
    5 include( OBOXMOBILEDIR . "/functions/widget.slider.php" );
    65include( OBOXMOBILEDIR . "/functions/pagination.php" );
    76include( OBOXMOBILEDIR . "/functions/mobi_switch.php" );
     
    1110include( OBOXMOBILEDIR . "/functions/hooks.php" );
    1211include( OBOXMOBILEDIR . "/functions/widget.content.php" );
     12include( OBOXMOBILEDIR . "/functions/widget.slider.php" );
    1313
    1414/** Config Elements **/
  • obox-mobile/trunk/functions/class.php

    r2213386 r2214885  
    213213    } // get_options
    214214
    215     public function register_widgets(){
    216         register_widget("obox_mobile_content_widget");
    217         register_widget("obox_mobile_slider_widget");
    218     }
    219 
    220215    public function initiate() {
    221216
     
    237232            // Setup theme support
    238233            add_theme_support( "post-thumbnails" );
    239 
    240             // Register widgets
    241             add_action('widgets_init', array( &$this, 'register_widgets') );
    242234        } // if mobile
    243235    } // initiate
  • obox-mobile/trunk/functions/template.php

    r2213386 r2214885  
    250250    return $fbimage;
    251251} // obox_mobile_get_fb_image
     252
     253function obox_mobile_register_widgets() {
     254    register_widget("obox_mobile_content_widget");
     255    register_widget("obox_mobile_slider_widget");
     256}
     257add_action( 'widgets_init', 'obox_mobile_register_widgets' );
  • obox-mobile/trunk/mobile.php

    r2213386 r2214885  
    55 * Description: A framework which formats your site with a mobile theme for mobile devices.
    66 * Author: Obox Design
    7  * Version: 1.0.0
     7 * Version: 1.0.1
    88 * Author URI: http://www.oboxthemes.com/
    99 */
    1010
    11 define( "OBOXMOBILE_VER", "1.0.0" );
     11define( "OBOXMOBILE_VER", "1.0.1" );
    1212define( "OBOXMOBILEDIR", plugin_dir_path(__FILE__) );
    1313define( "OBOXMOBILEURL", plugin_dir_url(__FILE__) );
  • obox-mobile/trunk/readme.txt

    r2213598 r2214885  
    1212== Description ==
    1313
    14 From the makers of Layers, [Obox Mobile](http://www.oboxthemes.com/obox-mobile "The ultimate mobile plugin") by Obox is the most beautiful and easy to use mobile plugin for WordPress.
     14From the makers of Layers, [Obox Mobile](http://www.oboxthemes.com/obox-mobile "The ultimate pre-launch landing page plugin") by Obox is the most beautiful and easy to use mobile plugin for WordPress.
    1515
    1616All you need to do is activate the plugin to turn your site into a fully mobile experience for your users.
     
    2626
    2727**Full site customization**
    28 Upload a custom mobile logo, choose serif or san-serif fonts, and customze a multitude of color options with our unique in-built customizer. The [PRO version](http://www.oboxthemes.com/obox-mobile "The ultimate mobile plugin") brings full site customization and custom logo sizing.
     28Upload a custom mobile logo, choose serif or san-serif fonts, and customze a multitude of color options with our unique in-built customizer. The PRO version brings full site customization and custom logo sizing.
    2929
    3030**Works with any WordPress theme**
     
    3737Run promotions with our advert scripts feature, display ads in the header, footer and inside post pages.
    3838
     39**100/100 Pagespeed Test**
     40
     41With Obox Mobile enabled along with a caching plugin, it's easy to get a 100% Pagespeed score
     42
     43![pagespeed](http://demo.oboxthemes.com/oboxmobile/files/2019/12/page-speed.png "Pagepeed score")
     44
    3945**Where can I use it?**
    4046Obox Mobile can be used with any WordPress install. As long as you have a site and as long as you have WordPress then Launchpad will work for you.
     47
     48
     49
    4150
    4251== Installation ==
     
    54632. Custom content widget
    55643. Mobile customizer
     65
     66== Changelog ==
     67
     68= 1.0.1 =
     69
     70* Fix - fixed missing mobile widgets in Widget screen
Note: See TracChangeset for help on using the changeset viewer.