ANU WordPress theme v4.0

The ANU WordPress theme has several content blocks on each templated page to display various widgets (see Figures 1–3 below).

Setting up widgets

To edit widget blocks, go to Appearance > Widgets (see Figure 4).

Home page widgets

To customise the look of the home page, setup the widget blocks as follows:

Story block

home-storyblock usually contains the feature stories on the homepage. However, if you wish to add text underneath the features on the home page, drag a Text widget to home-storyblock (see Figure 5) and insert any HTML code you require. See the example homepage (Figure 1) for an indication of where this content is located.

Post block

home-postblock is usually empty, however if you wish to add text underneath the main block of text on the home page, drag a Text widget to home-postblock and insert any HTML code you require. See the example homepage (Figure 1) for an indication of where this content is located.

Text block

home-textblock is usually empty, however if you wish to add text to the bottom of the home page, drag a Text widget to home-textblock and insert any HTML code you require. See the example homepage (Figure 1) for an indication of where this content is located.

Sidebar

home-sidebar is usually empty, however if you wish to add text in the right column above the categories and recent posts, drag a Text widget to home-sidebar to insert any HTML code you require. See the example homepage (Figure 1) for an indication of where this content is located.

Recent posts

To add a list of the latest posts to the home page, drag a Recent Posts widget to recent-sidebar (see Figure 6).

Widgets

Figure 4. Widgets

home-storyblock widget

Figure 5. Home-storyblock

recent-sidebar widget

Figure 6. Recent-sidebar

Social networking icons

To add social media icons underneath the navigation (see the example homepage, Figure 1, for an indication of where this content is located), drag a Text widget to social-sidebar and insert the following code into the textarea:

<div class="social-icons">
  <p class=" text-center">
 
    <a class="blockright" href="https://www.facebook.com/TheAustralianNationalUniversity" title="ANU on Facebook"><img src="//style.anu.edu.au/_anu/images/share/facebook.png" alt="ANU on FaceBook"></a>
       
    <a class="blockright" href="https://twitter.com/ANUmedia" title="ANU Media on Twitter"><img src="//style.anu.edu.au/_anu/images/share/twitter.png" alt="ANU on Twitter"></a>
       
    <a class="blockright" href="http://www.youtube.com/user/ANUchannel" title="ANU YouTube Channel"><img src="//style.anu.edu.au/_anu/images/share/youtube.png" alt="ANU YouTube Channel"></a>
       
    <a href="http://www.linkedin.com/company/australian-national-university" title="ANU on LinkedIn"><img src="//style.anu.edu.au/_anu/images/share/linkedin.png" alt="ANU on LinkedIn"></a>
       
  </p>
</div>

You may need to modify the code to suit the website.

Page widgets

The following widgets are common across all pages in the site.

Navigation

To create a navigation menu in the left column, drag a Pages widget to nav-sidebar and use settings as per Figure 7.

Related sites

To create a related sites menu in the left column underneath the primary navigation menu, drag a Custom Menu widget to related-sidebar and specify the name of the menu to display as per Figure 8.

Categories & archives

To add lists of categories and archives to the right column, drag a Categories widget and an Archives widget to cat-sidebar and use settings as per Figure 9. If you don't want categories and archives to appear on the home page, but you do want them to appear on post pages, drag the Categories widget and the Archives widget to post-sidebar and leave the cat-sidebar empty.

nav-sidebar widget

Figure 7. Nav-sidebar

related-sidebar widget

Figure 8. Related-sidebar

cat-sidebar widget

Figure 9. Cat-sidebar

Updated:  30 May 2014/ Responsible Officer:  Director Marketing/ Page Contact:  Webstyle