Giter VIP home page Giter VIP logo

my-code's People

Watchers

 avatar

my-code's Issues

Genesis issue with unregister_sidebar

Hello :)

can't find why the markup's still active whereas I've the origin snippets well coded...
Let's have a look here ? thanks !!

600, 'height' => 114, 'header-selector' => '.site-title a', 'header-text' => false, 'flex-height' => true, ) ); //\* Add support for custom background add_theme_support( 'custom-background' ); //\* Remove site layouts genesis_unregister_layout( 'content-sidebar-sidebar' ); genesis_unregister_layout( 'sidebar-sidebar-content' ); genesis_unregister_layout( 'sidebar-content-sidebar' ); //\* Hook sticky message before site header add_action( 'genesis_before', 'color_sticky_message' ); function color_sticky_message() { ``` genesis_widget_area( 'sticky-message', array( 'before' => '
', 'after' => '
', ) ); ``` } //\* Remove the header right widget area unregister_sidebar( 'header-right' ); //\* Remove comment form allowed tags add_filter( 'comment_form_defaults', 'color_remove_comment_form_allowed_tags' ); function color_remove_comment_form_allowed_tags( $defaults ) { ``` $defaults['comment_notes_after'] = ''; return $defaults; ``` } //\* Modify the size of the Gravatar in the author box add_filter( 'genesis_author_box_gravatar_size', 'color_author_box_gravatar' ); function color_author_box_gravatar( $size ) { ``` return 160; ``` } //\* Modify the size of the Gravatar in the entry comments add_filter( 'genesis_comment_list_args', 'color_comments_gravatar' ); function color_comments_gravatar( $args ) { ``` $args['avatar_size'] = 100; return $args; ``` } //\* Add support for 3-column footer widgets add_theme_support( 'genesis-footer-widgets', 3 ); //\* Register widget areas genesis_register_sidebar( array( 'id' => 'sticky-message', 'name' => __( 'Sticky Message', 'bg-color' ), 'description' => __( 'This is the sticky message widget area.', 'bg-color' ), ) );

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.