Adding and Editing Pages

Pages are organised in hierarchies, and usually contain static content (i.e. content which is not likely to change very regularly). The main menu of the site usually contains links to various pages on your site, and their sub-pages create sections of content.

To see an example page, please see the toolkit demo site.

Page titles are added in the top text field, and should include relevant keywords for the content of the page (for optimisation with search engines). The URL for the page will be derived from the page title, and once you have added the title this should appear as a Permalink under the page title field. Titles should be kept short where possible – as a general rule they should not exceed 75 characters in length (the text input provides visual clues about the number of characters you have left, and when you have exceeded this).

Pages (and News, and Posts) use the same editor for adding content:

The editor has common styling tools (bolditalic), formatting tools for lists, alignment and text linking tools. It also has a drop-down which allows you to insert headings into text (use headings level 2 and below here). Most of these tools assume you have text highlighted in the editor to apply formatting to before you use them.

When linking to pages, ensure that the linked text makes sense if it is read independently. In other words, linking from the words “click here” or “download” does not make sense when taken out of context (which is what screen reading software does) – consider linking entire sentences or phrases, like “Download the conference programme”.

Links can be added to the page text by selecting the text you want to form the link, then clicking on the Insert Link button. A dialog will appear where you can paste in a URL, add a title (which forms the “tooltip” when the link is hovered over by a mouse), or select an existing page on the site. To remove links from text, place the cursor in the linked text and click on the Remove Link button.

Inserting accented or other special characters is achieved using the Character Map plugin in the editor (omega Ω symbol). If you are inserting long passages of text in a non-english language, you should add the correct language code to the text (see a list of language codes here). This is done by adding an attribute to the containing HTML element – you will need to switch from “Visual” mode to “Text” mode in the editor using the tabs on the top right of the editor to do this. If the text is in a paragraph or quote, wrap it in <p lang="br">[…]</p> tags or <blockquote lang="br">[…]</blockquote> tags respectively. If the text consists of a number of paragraphs, wrap them all in <div lang="br">[…]</div> tags (this example assumes the language is Breton).

To the right side of the screen, you should see the Publish box. You can use this to publish pages as Drafts or make pages Pending Reveiw which will prevent them from displaying on the site while you edit their content.

Changing the visibility of the page to private will also prevent the page from displaying, but the page content will only be accessible by you.

The publish date is only important for posts (as they are ordered by their publish dates), although you could use this to set the publication date to a date in the future. This will result in the page being Scheduled for publication on that date.

Under this box is another called the Page Attributes box. This is where you can select from the templates available for the page and set another page on the site as the parent page in order to build a page hierarchy.

When you build a hierarchy of pages like this, the pages should use the sidebar in the theme to provide contextual navigation for the section (showing/hiding the sidebar is achieved using another box on the right side of the page). The sidebar shows links to any number of nested pages in the section.

To put the pages in order, go back to the pages list (by clicking on the link to Pages in the main administration menu on the left) and drag/drop the pages to the order to want. You can also use the Quick edit feature on this page to change the page title, parent page or page URL without having to navigate to the page editor.

If some of these elements are not visible, it is possible that they have been disabled using the Screen options which are available from a link at the top right corner of the page. Click on this to see which of the editing tools are available, and check any which you want to be visible.