Editing Your Site
There are three easy ways to login (they’re all the same) just use whichever is easier for you to remember.
- Visit: www.ces.ncsu.edu/login
- Visit: yoursite.ces.ncsu.edu/login
- Use the ‘Login‘ button at the very bottom of the page (located in the footer)
- Note: If you have access to more than one Extension site, you will see an intermediary screen before entering WordPress that asks you to select which site you wish to edit.
In WordPress, we have three basic types of content.
- Best used for content that is timeless (won’t expire) or change anytime soon. Example pages might be: Contact Us, How to Grow Tomatoes, How to Take a Soil Sample
- Best used for announcements, time sensitive material or posts that will expire at some point. Examples might be: Frost Advisory This Weekend, Upcoming Workshop to Offer Gardening Tips, What to Expect at this Year’s State Fair
- When you publish a news item, it will automatically be posted to your sites homepage as the latest item. As other News stories are posted, your news item will slowly bump down the list.
- If you operate a county website, it’s imperative that you also check off at least 1 category before publishing your news item. Checking at least one category will ensure that users can find your story later (after it’s been bumped off the homepage) using one of the main category navigation labels on your site (Lawn & Garden, Community, Forest Resources, etc).
After you’ve logged in, select the content type you wish to create (or edit) from the WordPress menu:
- After making your selection you should see a submenu for ‘All Pages’ or ‘All News’ (click this link to find and edit an existing piece of content) and also a link to ‘Add New’ (click this to create new content).
- Verify you have the desired modules displayed by clicking on “Screen Options” at the top right of the page. Make sure you have the following modules checked:
- Format – the editor
- Categories – which category pages your post will show on
- Tags – keywords for the post
- Sites – if you have multiple counties, you can have this post appear on multiple county pages
- Featured Image – select the thumbnail image to be used on the home page, search and category pages
- Excerpt – the text to be used on the home page, search and category pages
- Author Attribution and Other Meta Data – change and/or add authors
- Revisions – see previous versions of this post – each time it was saved.
- Add your headline to the Title field, try to be as descriptive as possible here, but also (for News items in particular) don’t give it all away in the title. Example: “24 year old has surprising win at State Fair” is more likely to be clicked than “John Brown wins farmer of the year award”.
- Add the body of your article in the field below the title.
- Note: You can format your article using the visual editor (which is similar to MS Word’s formatting bar) offering bold, italics, and underline buttons among other things, but you can also freely switch to editing the actual source code using the ‘Text’ tab (this is where you’d edit HTML).
- Images can be added by using the Add Media button. From there you can add a new image or select the Media Library tab to pick an image that is already there (maybe one you’ve previously used). Also be sure to check “Use as featured image” if you also want to use this image as the featured image. Select the “Insert Into Post” button to add the image to your article.
- On the right, you can use the Save Draft button until you are ready for the article to go live, or if you’re ready… select Publish. Once the article is published, you can still update it (or choose to unpublish it). By default, articles are published immediately after the Publish button is clicked. Pages are relatively unique, because once they are published, you still must link to them from somewhere. News and Spotlights appear immediately on the homepage, but a newly created Page must be added to your site(s) menu or linked to from another page or news item.
- Be sure to select at least one Category to indicate which pages your post will appear. News posts that do not have a category selected will not appear.
- If you are are a multi county agent, you will see multiple items in the Sites section. Select the site(s) for your article.
- The Feature Image (also known as your thumbnail image) appears on the main page along with the title and an excerpt of your article. Selecting this will bring up the same interface as adding an image. The main difference is that this time you will select the Use as featured image link.
- Add as many Tags as you like. Think of tags as keywords that can be used to group articles and quickly provide readers with useful information about your article. (see: [https://www.ces.ncsu.edu/tags/4-h] – substitute “www” with your county name and “4-h” with your tag)
- The Excerpt is used on your home page, the category pages, and sometimes search results. If left blank, the first few lines of the post are used.
- News posts will contain a byline such as “Written by… most recently edited by…” based on the unityid that is logged in. You can change the author when you create a post by scrolling down to the Author Attribution fields (below the body of the article) and changing the value for the Post Authored By field.
Adding Images and Media
The Media Library is where WordPress stores all types of media for your website. In terms of images, .gif, .jpg and .png file types are supported. Media can be uploaded when you are editing a Post, Page, Spotlight or by going to the Media section in the WordPress dashboard. You can drag and drop items from your computer to add them to the Media Library or use the “Select Files” button to find the file. When adding an image, several fields are available for you to fill out:
- Title – this will show up as a tooltip
- Alternate Text – this is the alt text tag and is important for accessibility requirements
- Caption – will create a frame around the image and displays the caption under the image
- Description – additional information to be stored in the media library
In addition to images, the Media Library can be used for documents, including PDFs, and videos. For Animoto slideshows or similar content, get the embed code from Animoto and paste it into your WordPress Post or Page using the HTML tab. The File URL is the location of the uploaded file. Copy and use this for any links to this file. As always, be sure that you have the legal rights to use the files before uploading them. If you have an image inserted into a post, page or spotlight, you can click on the image and then select the Edit button to make changes. From here, you can use the Advanced Settings to more precisely specify the width and height. Additional information:
Adding Content Pages
Pages are used to add content to the website. Adding Pages is very similar to add News. The difference on our site is that Pages are used for adding content and appear only when linked whereas News posts are used for adding news. Pages can be linked in multiple categories (see “Adding Links” below) and are owned by the county for which they were created. Pages can be shared among sites. The process for adding and editing pages works the same as News with the differences being that you don’t identify exerpt, sites, category or tags. The Slug (last part of the URL) is used to determine how the page is used. Certain slugs have special meanings to WordPress. For example, a page with a slug of about-madison is used for the “About” page at:http://madison.ces.ncsu.edu/about/ and the text goes above the plan of work. site-madison is used to create a category on the left navigation bar of Madison’s site. The title of the page will be used for the name of the category. site-madison-1 is used to create an additional category. If you change the Order under Page Attributes, it will indent the link for this page on the side navigation bar. See: Advanced Formatting Options for more information.
- Click Links in the WordPress Dashboard
- Click Add New or select an existing link to edit
The Links page has several fields to fill in:
- Name – this is the clickable text that appears on the site
- Links are listed by rating and then in alphabetical order within a group
- Links with no group are listed at the top of the Links section
- Web Address – the URL that the text will link to. Be sure to begin with http://
- Groups – the grouping that the link will appear in
- Create a new groups by typing new name in the text area.
- Links can belong to only one group.
- Groups are listed in alphabetical order
- Categories – links can have multiple categories but only one group
- The categories reflect the subject areas that appear on the main sidebar menu.
- Links can be in more than one category – and appear on more than one of the pages.
- Target – where the link should open
- _blank forces the link to open in a new window or browser tab
- _top opens the link in the top frame. We don’t use frames so don’t worry about this option.
- _none loads the link in the current window or browser tab. This is the default option.
- Rating under the Advanced section (check Screen Options at the top if you don’t see this module) indicates the order for the links.
- Links with a rating of 10 are at alphabetized at the top of the group, followed by 9 and so on down to 0.