Editing content

Saving, Previewing, Publishing, and Updating

A new Page/Post is not immediately visible on your site after creation. WordPress allows you to create and review a draft of the Page/Post before you Publish. The Publish area of the Edit view displays the current Status, Visibility, and Publish date of the Page/Post.

To Preview your Page/Post, click the Preview button. A new browser tab will open and show you how your page will display once published. You can leave the preview browser tab open and continue to make edits to the content. Clicking Preview again will refresh the preview of the Page/Post.

To Publish the Page/Post for the first time, click the Publish button.

After a Page/Post has been published, edits you make are not immediately published. Instead, a Revision is kept as a new draft. You can then use the Preview button to review your new edits. Once you are ready to publish the edits, click the Update button.

Any change you make to the Page/Post while in Edit view will require you to publish the change using the Update button.


Removing Pages/Posts/Content

Every content entry (Page, Post, Directory Profile, Media Image, etc.) can be "Moved to Trash". A content entry in the Trash is not visible on the site, but can still be found through the Admin view. By navigating to the Trash records for a content type, you can choose to delete the trashed records permanently.


Editing content

In the current version of the WordPress Theme that LAS Network sites use, you can create content using either HTML or Markdown. Markdown is a human-readable way of writing HTML that is quick to learn and easy to use. In fact, most of your content won't likely require any "markup" at all. Review the Markdown Cheatsheet to learn more.


Adding images

Featured Image (aka Banner)
Click the Set featured image link, then select the image from the Media Library, or upload from your computer (you can also drag and drop from your desktop). Note, the Featured Image will display as a banner if the image is at least 1000px wide and is at least 1.5 times wider than tall.

Images in the content
Place the cursor in the content where you want the image, then click the Add Media button. Select the image from the Media Library (or upload), then choose the Alignment Settings from the bottom right panel. You can align the image, choose the size, and determine where the image should link to. Then click "Insert into page". A shortcode will be inserted into the content that tells WordPress which image to insert and how.


Links to pages within the site

When linking to another page within the site, it is best to use a shortcode that references the target page by ID number. This way, the link will work whether the target page is renamed or moved in a different organization.

  • Find the ID number of the target page, e.g., the "Programs" page has ID number "123"
  • Instead of entering a href attribute to the link element (<a>), use [link_atts] instead, e.g.,
    <a [link_atts id="123"]>Programs</a>
  • If using Markdown, you can use [href], e.g.,
    [Programs]([href id="123"])

Editing Directory Profiles

You can find the Edit View for a Directory Profile one of two ways:

  1. Through the Admin Dashboard, from the left hand menu > Directory, then search or find the profile you want to edit.
  2. Navigate to the Directory Profile Page for the profile you want to edit, then click "Edit Directory Profile" in the Admin Bar.

The default editable fields for a Directory Profile are:

  • Profile title: enter the person's name as you want it displayed
  • ISU email: ISU email address, with @iastate.edu -- After you have entered ISU email, you can save the page and contact info from the ISU directory will be loaded -- First and last name will be parsed from the Title, but you can set specific values in these fields as well
  • Job title: use this field to override the value pulled from the ISU directory
  • Bio: biographic information
  • Website: enter a web address
  • Vita: enter a web address to a CV file
  • Featured image: this is the person's photo
  • Categories: Roles and Groups can be used to organize profiles. Usually a person only has one role, but can be in multiple groups
  • Areas and Topics: These taxonomies can be used like Tags to organize profiles.

Custom Fields (via the Advanced Custom Fields plugin) can be added to Directory Profiles to extend content entry. It is generally better to add a custom field for "Office Hours" than to enter office hours into the Bio field.


Icons

You can use any of the Font Awesome Icons. Just find the icon you want, then copy and paste in the according <i> element, e.g., <i class="fa fa-flag" aria-hidden="true"></i>.


Advanced

More advanced content can be added to Pages/Posts through the use of custom HTML and shortcodes. Contact the LAS WP Network Admin to discuss possibilities.