This is a blank CC theme for Wordpress. Please use it with a child theme
Contributions are highly appreciated. Please see CONTRIBUTING.md
.
Do you want to connect with our contributors?
Just click the button below and follow the instructions.
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!
The following projects inherit from the creativecommons-base
theme:
Additional projects that may inherit from creativecommons-base
:
- Summit
- New Global network (in development)
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 );
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 );
Action before the header element
Action inside
element but before the header contentAction after the header element
Action inside
element but after the header contentAction before the footer element
Action inside
element but before the footer contentAction after the footer element
Action inside
element but after the footer content