Skip to content

CERN Lite Theme

What you can do inside WordPress Lite

Creating pages and posts

Inside the WordPress admin dashboard, there are sections on the left called 'Pages' and 'Posts'. These are where new content can be created and edited. Pages are for static content that is not time-sensitive (e.g., an "about" page), and posts are for news or blog-like content that gets published in chronological order.

Each page or post constitutes of blocks, which are individual components that can be added, removed, and rearranged to create the desired layout. Each block comes with its own set of The following blocks can be used to construct pages and posts in WordPress Lite, and can be used in any combination:

Text

Insert some text with basic inline formatting.

Heading

Insert a heading of any level.

List

Insert a list of text items.

Quote

Insert a quote and a reference to its author.

Splash

Insert a full width and height image or video with a text or image overlay.

Equivalent to the Hero frame, Hero header, Featured banner, and Featured quote inside Drupal.

Text and Image

Insert some text and an image next to each other.

Equivalent of the Article box, Resource box, and similar content containers.

Image

Insert an image.

Follows the same format as Drupal's image field display format.

Video

Insert a video that can be played directly on the page.

Follows the same format as Drupal's video media field format.

PDF

Insert a PDF file that can be viewed directly on the page.

News

Insert a list of the latest posts on this website, filtered by category and tag.

Equivalent to a horizontal view layout, similar to Drupal's content view for displaying news.

Insert a grid of images and text, that can also act as links to other pages or websites.

Equivalent to the grid view format in Drupal, used to display image collections.

Call to Action

Insert a grouped heading, body, and button link to encourage user interaction.

Countdown

Insert a timer that counts down to either an Indico event, or a custom date and time.

Equivalent to countdown display format for views to display countdowns for events or important milestones.

Global Site Settings

Inside the WordPress admin dashboard, there is a section on the left side menu called 'Customise'. This opens the Global Site Editor, which allows for settings and content that apply to all pages on the site to be edited.

Site Identity

The title of the site can be set, along with a custom logo if the site is for a specific CERN sub unit.

The branding style can also be selected, which changes the colour scheme of the site based on preconfigured options. Right now there are three options: Personal, Departmental, or Experimental, which are aimed to accommodate the different kind of sites that are hosted at CERN.

Social Media

Custom links to each social media platform can be added, and the icons with links to those handles will be displayed in the footer of every page on the site. If no link is present for a given platform, the icon will not be displayed.

The links can also be reset to the default CERN social media handles.

A menu is a set of nested links that constitute a navigation bar/list on the site. There is no limit on the number of menus that can be created, but only one can be assigned to each Menu Location.

Submenus can be created by dragging a menu item under another menu item in the menu editor, and are displayed as dropdowns inside navigation bars, and as nested items in navigation lists.

There are three locations for where menus can be shown on a given site: the main navigation in the header, and two columns in the footer. The header displays the links as a navigation bar, and the footer displays the links as lists.

Media

Anywhere where an image or video can be used, has multiple options for where that media can be sourced from:

Media Library

Images and videos can be uploaded to the WordPress site directory and used from there.

CDS

The IDs of images and videos stored on CDS can be inserted and the relevant media will be rendered on the site, without having to upload it.

External

Videos specifically can be embedded from outside sources such as YouTube.