[theme-reviewers] [Help] converting "static front page" section into panel

Srikanth Koneru tskk79 at gmail.com
Sat Sep 20 22:41:36 UTC 2014


Thanks Jose!

On Sun, Sep 21, 2014 at 3:34 AM, Jose Castaneda <jomcastaneda at gmail.com>
wrote:

> Quick and dirty:
>
> add_action( 'customize_register', 'custom_customizer' );
> function custom_customizer( $wp_customize ){
>     $wp_customize->add_panel( 'front_page', array( 'title' =>"Front page
> settings", 'description' => 'Settings panel for the front page' ) );
>     $wp_customize->add_section( 'static_front_page', array( 'title' =>
> 'Static front page', 'panel' => 'front_page' ) );
> }
>
> Of course any translation if needed/wanted but does the trick.
>
> On Sat, Sep 20, 2014 at 1:20 PM, Srikanth Koneru <tskk79 at gmail.com> wrote:
>
>> Did anyone do it already? If so will save me some time :)
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140921/4e5ca6cc/attachment.html>


More information about the theme-reviewers mailing list