Skip to content

Verify the full list of BU Domains that get Branding #110

@alektrefi

Description

@alektrefi

When updating the tests for the function responsive_is_bu_domain it was asked if the function caught all of the BU domains.

Who can confirm the list of sites and subdomains that need to get the Boston University copyright meta value?

Would it better to create a gets_bu_branding() function to separate specific use cases?

See PR #97 for the changes to the Test and the full conversation.

See a listing of domains/networks

Conversation Excerpt
Currently the function is only looking for bu.edu in the URL

function responsive_is_bu_domain() {
return (bool) preg_match( '#\bbu\.edu\b#', network_home_url() );
}

The functions only current use is to add a meta value with the Boston University name and Copyright. With branding guidelines do we want sites.bu.edu to get the BU Copyright key? Also, do we want agganisarena.com, citycoboston.com to get this copyright meta value? What about blogs.bu.edu?

<?php if ( responsive_is_bu_domain() ) : ?>
<meta name="copyright" content="&copy; <?php echo esc_attr( date( 'Y' ) ); ?> Boston University" />
<?php else : ?>
<link rel="shortcut icon" href="<?php bloginfo( 'template_directory' ); ?>/icons/favicon-g.ico" />
<?php endif; ?>

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions