Word Press Theme for OpenSource UoM website
- Upload the
opensource-uomfolder to/wp-content/themes/on your WordPress server. - Log in to your WordPress dashboard and go to Appearance → Themes, then activate OpenSource UoM.
To get a separate Blog page working:
- Go to Pages → Add New and create a blank page titled "Blog". Publish it.
- Go to Settings → Reading.
- Under "Your homepage displays", choose "A static page".
- Set Homepage to any page (or create a blank "Home" page).
- Set Posts page to the "Blog" page you just created.
- Save. WordPress will now use
home.phpfor the blog listing andindex.phpfor the front page.
The homepage blog section will automatically pull your latest 4 WordPress posts. The "View all posts" link will point to your Blog page.
| File | Purpose |
|---|---|
index.php |
Landing page (hero, about, projects, blog, resources, join) |
header.php |
Shared navbar (included via get_header()) |
footer.php |
Shared footer (included via get_footer()) |
home.php |
Blog listing page (all posts, paginated) |
single.php |
Single post view |
functions.php |
Theme setup & asset loading |
style.css |
Theme metadata |
assets/css/main.css |
All styles |
assets/js/main.js |
Dark mode, language toggle, scroll animations |
assets/images/logo.png |
Navbar & footer logo |
assets/images/myuomlogo.png |
MyUoM project card image |
- MyUoM logo: replaced the broken
<span img="...">with a proper<img>tag - Resource cards: fixed unclosed
<a>tags — each card is now a proper full link - Blog section: now pulls live WordPress posts via
WP_Querywith static fallback - Blog page: new
home.phptemplate with post grid, thumbnails, categories, and pagination - Single post: new
single.phptemplate with featured image, tags, prev/next navigation - Nav links: styled correctly on both the front page (scroll buttons) and inner pages (
<a>links) - Dark mode: fixed so it doesn't crash on pages without theme/lang buttons
- Animations:
reveal-leftelements now also get the scroll observer; addedrootMarginso items near the bottom trigger correctly
- Colours: edit the CSS variables in
assets/css/main.css(:rootblock) - Logo: replace
assets/images/logo.png(keep the same filename) - MyUoM image: replace
assets/images/myuomlogo.png - Text / translations: edit the
translationsobject inassets/js/main.js
- WordPress 6.0 or later
- PHP 7.4 or later