Design System WordPress Theme
Home
Github
Home
Github
  • Site Editor

    • Patterns

      • How to use patterns
        • DSWP Card With Hyper Link List
        • DSWP Vertical Cards
        • DSWP Default Heading
        • DSWP Footer With Territorial Acknowledgement
        • DSWP Heading with Paragraph(s)
        • DSWP Horizontal Card No Shadow
        • DSWP Icon with Excerpt
        • DSWP Hero Image with Title
        • DSWP Horizontal Card
        • DSWP Horizontal Card Large Image Left
        • DSWP Horizontal Card Large Image Right
        • DSWP Image And Text
        • DSWP Image And Text Flipped
        • DSWP Information Contact Socials
        • DSWP Link With Arrow
        • DSWP Secondary Hero Image With Title
        • DSWP Team Pattern
        • DSWP Vertical Cards With Icon
      • Patterns Overview
  • Developers

    • Patterns Troubleshooting
    • Template Parts

Patterns Troubleshooting

Common Issues

  1. Images Not Loading

    • Verify image path in PHP function

      Example:<img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/bcid_h_rgb_pos.png' ); ?>"

    • Check image exists in assets folder

    • Confirm proper escaping

  2. Pattern Not Appearing

    • Verify category assignment
    • Clear cache and rebuild
  3. Style Inconsistencies

    • Review block settings
    • Check for custom CSS conflicts
    • Verify theme.json settings

Tips for adding or updating patterns

  • All links should use "#" as the href
  • Remove any localhost or production URLs in the href attribute

For additional support or pattern requests, please submit an issue on the GitHub repository.

Contributors: ASpiteri-BCGov
Next
Template Parts