diff --git a/404.php b/404.php index cca68d1..a5c07d0 100644 --- a/404.php +++ b/404.php @@ -2,11 +2,11 @@ /** * Page Not Found * - * @package BasicWP + * @package CWC * @since 1.0.0 */ -namespace BasicWP; +namespace CWC; get_header(); ?> diff --git a/footer.php b/footer.php index 4ce59d1..939b66e 100644 --- a/footer.php +++ b/footer.php @@ -2,11 +2,11 @@ /** * Theme footer template * - * @package BasicWP + * @package CWC * @since 1.0.0 */ -namespace BasicWP; +namespace CWC; $footerLogo = getFieldValue( 'footer.footer_logo.url' ) ? getFieldValue( 'footer.footer_logo.url' ) : ''; $footerDesc = getFieldValue( 'footer.footer_description' ) ? getFieldValue( 'footer.footer_description' ) : ''; diff --git a/front-page.php b/front-page.php index 10b0719..1309fad 100644 --- a/front-page.php +++ b/front-page.php @@ -2,10 +2,10 @@ /** * Front Page Template * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; get_header(); ?> diff --git a/functions.php b/functions.php index 59e3d91..26e21b2 100644 --- a/functions.php +++ b/functions.php @@ -1,15 +1,15 @@ diff --git a/sidebar.php b/sidebar.php index b777db8..0292a97 100644 --- a/sidebar.php +++ b/sidebar.php @@ -2,10 +2,10 @@ /** * Sidebar * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; ?> diff --git a/single.php b/single.php index 673c44b..dc5c480 100644 --- a/single.php +++ b/single.php @@ -2,11 +2,11 @@ /** * Single Posts * - * @package BasicWP + * @package CWC * @since 1.0.0 */ -namespace BasicWP; +namespace CWC; get_header(); diff --git a/style.css b/style.css index 900ca0d..0fea67c 100644 --- a/style.css +++ b/style.css @@ -1,8 +1,8 @@ /* * Theme Name: Community Works Collaborative - * Description: Custom WordPress theme starter for VDI Projects + * Description: Custom WordPress theme for Community Works Collaborative * Version: 5.0 - * Author: Vincent Design Inc. - * Text Domain: basicwp + * Author: Keith Solomon. + * Text Domain: cwc */ diff --git a/views/blocks/accordion/accordion.php b/views/blocks/accordion/accordion.php index 99788c6..40e9c0f 100644 --- a/views/blocks/accordion/accordion.php +++ b/views/blocks/accordion/accordion.php @@ -4,10 +4,10 @@ * * This is the template that renders the Accordion block. * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; $open = get_field( 'open' ); $group = get_field( 'group_items' ); diff --git a/views/blocks/boilerplate/boilerplate.php b/views/blocks/boilerplate/boilerplate.php index fc0ec89..129d1a3 100644 --- a/views/blocks/boilerplate/boilerplate.php +++ b/views/blocks/boilerplate/boilerplate.php @@ -4,10 +4,10 @@ * * This is the template for building your own custom blocks. * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; $classes = 'boilerplate'; diff --git a/views/blocks/button/button.php b/views/blocks/button/button.php index ddb24b7..444e9cf 100644 --- a/views/blocks/button/button.php +++ b/views/blocks/button/button.php @@ -2,10 +2,10 @@ /** * Button block * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; // Retrieve ACF fields $element = get_field( 'element' ) ? get_field( 'element' ) : 'a'; diff --git a/views/blocks/buttons/buttons.php b/views/blocks/buttons/buttons.php index 28bb5ba..af332f5 100644 --- a/views/blocks/buttons/buttons.php +++ b/views/blocks/buttons/buttons.php @@ -4,10 +4,10 @@ * * This is the template that renders the Buttons block. * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; $ibClasses = 'flex flex-wrap gap-4 w-full justify-center sm:justify-start'; diff --git a/views/blocks/contact-info/contact-info.php b/views/blocks/contact-info/contact-info.php index c2e9a39..cd4a637 100644 --- a/views/blocks/contact-info/contact-info.php +++ b/views/blocks/contact-info/contact-info.php @@ -4,10 +4,10 @@ * * Display contact information from global fields with icons and optional form. * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; $classes = 'contact-info'; $wrapper = blockWrapperAttributes( $classes, $is_preview ); @@ -19,13 +19,13 @@ $wrapper = blockWrapperAttributes( $classes, $is_preview );

Contact Information

-

+

-

+

-

+

diff --git a/views/blocks/grid-cell/grid-cell.php b/views/blocks/grid-cell/grid-cell.php index 6050b47..14bba0e 100644 --- a/views/blocks/grid-cell/grid-cell.php +++ b/views/blocks/grid-cell/grid-cell.php @@ -4,10 +4,10 @@ * * This is the template that displays the Grid Cell block. * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; // Initialize variables $className = ! empty( $block['className'] ) ? $block['className'] : ''; diff --git a/views/blocks/grid/grid.php b/views/blocks/grid/grid.php index 4c0cef5..9ea4fc1 100644 --- a/views/blocks/grid/grid.php +++ b/views/blocks/grid/grid.php @@ -4,10 +4,10 @@ * * This is the template that displays the grid block. * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; $allowedBlocks = array( 'acf/grid-cell' ); $default_blocks = array( diff --git a/views/blocks/homepage-hero/homepage-hero.php b/views/blocks/homepage-hero/homepage-hero.php index 3cad658..8f121ab 100644 --- a/views/blocks/homepage-hero/homepage-hero.php +++ b/views/blocks/homepage-hero/homepage-hero.php @@ -2,10 +2,10 @@ /** * Block Name: Homepage Hero * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; // Retrieve ACF fields $heading = get_field( 'heading' ); diff --git a/views/blocks/media-text-innerblocks/media-text-innerblocks.php b/views/blocks/media-text-innerblocks/media-text-innerblocks.php index 4c56f05..1a31430 100644 --- a/views/blocks/media-text-innerblocks/media-text-innerblocks.php +++ b/views/blocks/media-text-innerblocks/media-text-innerblocks.php @@ -4,10 +4,10 @@ * * This is the template that displays the media text inner blocks. * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; // Retrieve ACF fields $bgColor = get_field( 'background_color' ) ? get_field( 'background_color' ) : '#c5c5c5'; diff --git a/views/blocks/media-text/media-text.php b/views/blocks/media-text/media-text.php index dcc6e76..76c8599 100644 --- a/views/blocks/media-text/media-text.php +++ b/views/blocks/media-text/media-text.php @@ -4,10 +4,10 @@ * * This is the template that displays the Media With Text block. * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; // Retrieve ACF fields $bgColor = get_field( 'background_color' ) ? get_field( 'background_color' ) : '#c5c5c5'; diff --git a/views/blocks/page-children/page-children.php b/views/blocks/page-children/page-children.php index 5193f4e..d764648 100644 --- a/views/blocks/page-children/page-children.php +++ b/views/blocks/page-children/page-children.php @@ -2,10 +2,10 @@ /** * Page Children block * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; // Retrieve the current page ID and its children $parentId = get_queried_object_id(); diff --git a/views/blocks/section/section.php b/views/blocks/section/section.php index 9659e5c..76abd54 100644 --- a/views/blocks/section/section.php +++ b/views/blocks/section/section.php @@ -4,10 +4,10 @@ * * This is the template that displays the section block. * - * @package BasicWP + * @package CWC */ -namespace BasicWP; +namespace CWC; // Retrieve ACF fields $contentWidth = get_field( 'content_width' ); diff --git a/views/components/menu-items/has-children.php b/views/components/menu-items/has-children.php index 182cc59..9036d8d 100644 --- a/views/components/menu-items/has-children.php +++ b/views/components/menu-items/has-children.php @@ -6,7 +6,7 @@ * https://docs.vincentdevelopment.ca/docs/starter-v3-enhancements/navigation/ */ -namespace BasicWP; +namespace CWC; // Variables available: // $item from parent template diff --git a/views/components/menu-items/index.php b/views/components/menu-items/index.php index cf05dad..ab0a1ab 100644 --- a/views/components/menu-items/index.php +++ b/views/components/menu-items/index.php @@ -6,7 +6,7 @@ * https://docs.vincentdevelopment.ca/docs/starter-v3-enhancements/navigation/ */ -namespace BasicWP; +namespace CWC; // Variables available from MenuItems component: // $topLevelNavItems, $hasChildren, $nestedNavItems, $currentPage, $location diff --git a/views/components/menu-items/single.php b/views/components/menu-items/single.php index 7549302..454d6f8 100644 --- a/views/components/menu-items/single.php +++ b/views/components/menu-items/single.php @@ -6,7 +6,7 @@ * https://docs.vincentdevelopment.ca/docs/starter-v3-enhancements/navigation/ */ -namespace BasicWP; +namespace CWC; // Variables available: // $item from parent template diff --git a/views/components/nav-aux.php b/views/components/nav-aux.php index 60f32de..1e60ba8 100644 --- a/views/components/nav-aux.php +++ b/views/components/nav-aux.php @@ -6,7 +6,7 @@ * https://docs.vincentdevelopment.ca/docs/starter-v3-enhancements/navigation-aux.html */ -namespace BasicWP; +namespace CWC; // Init Variables global $wp, $views; diff --git a/views/components/nav-main.php b/views/components/nav-main.php index e5626a7..75822f9 100644 --- a/views/components/nav-main.php +++ b/views/components/nav-main.php @@ -6,7 +6,7 @@ * https://docs.vincentdevelopment.ca/docs/starter-v3-enhancements/navigation/ */ -namespace BasicWP; +namespace CWC; global $views; ?> diff --git a/views/components/nav-main__toggle.php b/views/components/nav-main__toggle.php index bf2c3f2..eb8a019 100644 --- a/views/components/nav-main__toggle.php +++ b/views/components/nav-main__toggle.php @@ -6,7 +6,7 @@ * https://docs.vincentdevelopment.ca/docs/starter-v3-enhancements/navigation/ */ -namespace BasicWP; +namespace CWC; // Init Variables $navIcon = isset( get_field( 'header', 'option' )['nav_icon'] ) ? get_field( 'header', 'option' )['nav_icon'] : ''; diff --git a/views/forms/search.php b/views/forms/search.php index e548be6..4ded2d2 100644 --- a/views/forms/search.php +++ b/views/forms/search.php @@ -6,7 +6,7 @@ * https://docs.vincentdevelopment.ca/docs/starter-v3-enhancements/search-global.html */ -namespace BasicWP; +namespace CWC; ?> @@ -14,7 +14,7 @@ namespace BasicWP;