News Block

The external news block can be used to display a feed of posts which link out of the website with the option to include internal posts. The block will primarily use the custom post type ‘External News’ to populate the feed and include any internal posts tagged with ‘press’.

Adding External Posts

  1. Go to External News from the left sidebar inside WordPress and click ‘Add New’
  2. On the right hand menu add your featured image.
  3. On the right hand menu add the excerpt into the excerpt field.
  4. At the very bottom of the page add the URL into the ‘Alter Post Link’ field.
  5. Publish the post.

Including Internal Posts

  1. Go to the post you want to include.
  2. On the right hand menu go to tags and add ‘press’ into the tags.
  3. Update the post.

Adding the block to a page

  1. Create a new page.
  2. If you want the feed to appear on a specific url then use the standard parent page feature on the right hand menu.
  3. Add the new news block page to the page by either typing /news or click on add block and then select the news block.
  4. You can adjust the block settings to change the posts per page and the heading colour.
  5. Finally publish the page.

Example of block:

In the News


Notices / Banners

April 20, 2022

Notices / Banners The Notices post type works alongside the Notice Block to display Notices/Banners across the site. The main function of the notice post type is to display a primary notice/banner across all pages, with the option to hide the notice or display an alternate notice on a page-by-page basis. Creating a Notice To create a Notice, you need to go to the WP dashboard, hover over Notices and click ‘Add New‘: You will be taken to the block editor. Next, give your Notice a Title. Underneath the Title, you will see the Notice block inserted into the page […]

Paid Landing Pages

April 20, 2022

Paid Landing Pages Paid Landing Pages live separate to other content / page types on the 2U theme and have their own set of templates and features. Some of the differences between PLPs and regular pages are: PLP pages are always noindex/nofollow but have the option to enable this if requiredThere are no dropdown navigation/menus, breadcrumbs, or sidebar menus, no floating CTA, and logos are not linkedThe have custom metadata fields per page (which are pulled into the sitemap)There is a visible field in the WordPress admin to indicate which Form ID is in use on a pageThey have their […]