Giter VIP home page Giter VIP logo

creativecommons-base's Introduction

CC blank WordPress theme

All Contributors

This is a blank CC theme for Wordpress. Please use it with a child theme

Contribute

Contributions are highly appreciated. Please see CONTRIBUTING.md.

๐Ÿ“ฃ Let's chat

Do you want to connect with our contributors?

Just click the button below and follow the instructions.

slack

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Akpan Abraham

๐Ÿ’ป

Alain Seys

๐Ÿ’ป ๐Ÿ“– ๐Ÿš‡

Cronus

๐Ÿ’ป

Hugo Solar

๐Ÿ’ป ๐Ÿง‘โ€๐Ÿซ ๐Ÿ“–

JackieBinya

๐Ÿ’ป ๐Ÿ“–

Kriti Godey

๐Ÿ“†

Muluh MG Godson

๐Ÿ’ป

Timid Robot Zehta

๐Ÿ› ๐Ÿ“† ๐Ÿš‡ ๐Ÿ‘€

Zack Krida

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!

Theme usage

The following projects inherit from the creativecommons-base theme:

Additional projects that may inherit from creativecommons-base:

  • Summit
  • New Global network (in development)

Hooks

Filters

cc_theme_base_mandatory_sidebars

Applied to expand the mandatory sidebars of the theme. It gets an array of the mandatory sidebars of the base theme as a parameter. The function should return an array with the sidebars

function filter_function_name( $mandatory_sidebars ) {
  // ...
}
add_filter( 'cc_theme_base_mandatory_sidebars', 'filter_function_name', 10, 1 );

cc_theme_base_menus

Applied to add new menu placeholders. By default this theme has:

  • Main menu
  • Main menu mobile
  • Footer menu

The function gets an array with the defined menus in the current format

array(
    'main-menu' => 'Main menu',
    'main-menu-mobile' => 'Main menu mobile',
    'footer' => 'Footer menu'
);

If you want to add new menu placeholder

function filter_menu_list( $menu_list ) {
    // $menu_list['menu_ID'] = 'Menu name';
  $menu_list['new_menu'] = 'This is a new menu';
  
  return $menu_list;
}
add_filter( 'cc_theme_base_menus', 'filter_menu_list', 10, 1 );

Actions

cc_theme_before_header

Action before the header element

cc_theme_before_header_content

Action inside

element but before the header content

cc_theme_after_header

Action after the header element

cc_theme_after_header_content

Action inside

element but after the header content

cc_theme_before_footer

Action before the footer element

cc_theme_before_footer_content

Action inside

element but before the footer content

cc_theme_after_footer

Action after the footer element

cc_theme_after_footer_content

Action inside

element but after the footer content

creativecommons-base's People

Contributors

hugosolar avatar muluhgodson avatar jackiebinya avatar brylie avatar allcontributors[bot] avatar zackkrida avatar shailee-m avatar alainseys avatar cronus1007 avatar kgodey avatar cc-creativecommons-github-io-bot avatar timidrobot avatar akpjunior94 avatar

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.