Skip to Content

Posts under tag: Edublogs

February 25, 2014

Add X-UA-Compatible header in WordPress for Edublogs

On the University of Oregon instance of Edublogs we ran into a problem with the X-UA-Compatible meta tag. The standard practice of putting in the <head> did not work. A better solution was found using PHP:

if (isset($_SERVER['HTTP_USER_AGENT']) &&
    (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
        header('X-UA-Compatible: IE=edge,chrome=1’);

For WordPress you can do the above using add_filter:

function example_add_headers($headers) {
        if (isset($_SERVER['HTTP_USER_AGENT']) &&
                (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)) {
                $headers['X-UA-Compatible'] = 'IE=edge,chrome=1';
        }
        return $headers;
}

add_filter('wp_headers', 'example_add_headers');

Solutions taken from:

* http://www.validatethis.co.uk/news/fix-bad-value-x-ua-compatible-once-and-for-all/
* https://gist.github.com/chrisguitarguy/2712643

August 8, 2013

UO Blogs service a popular tool

Any faculty, staff or student on the UO campus has the ability to create a website, thanks to the relatively new UO Blogs service.

UO Blogs is a  centrally managed, WordPress-based content management system. It can be used by anyone with an active DuckID to create any kind of website or blog, from one used by a campus department to one used for projects or events.

The site takes users through the simple steps to create a website. Because WordPress is designed for low-tech users, the process isn’t complicated.

UO Blogs also allows for guest accounts for those who are not affiliated with the UO, making it “a great place to collaborate with colleagues off campus,” says Information Services Technology Service Desk Coordinator Kelsey Davis.

Launched in June 2012, the service has “really taken off,” Davis says.

The site has had more than 500,000 visitors since its inception. Currently, there are 3,522 sites and 3,763 users.

“We have sites ranging from student personal sites, to sites used by faculty for classes, to departmental/ administrative sites, to project sites and more,” Davis says.

She encourages faculty, staff and students to familiarize themselves with the service by checking out some of the examples of ways it can be used. Some links include http://alerts.uoregon.edu/, and http://blogs.uoregon.edu/artandhumanvalues/.

Visit the UO Blogs website for more information or to get started.

– from the UO Office of Strategic Communications

Source: Around the O.

Tags: ,