Monthly Archives: May 2018

For workshop lecturers: editing lecture and exercise pages and posting files

The lecturers in the workshop have been given the password enabling them to add pages to the blog, or to edit pages on the blog, or to post files and make links to them. They should start each session by logging into the blog using, not their own username, but the group username that they were given and the password for that account. They will see a WordPress editing page with a black border on the left and at the top. Go to “My Sites” in the upper-left corner of the page, hover your cursor over it to get the menu of sites, and choose the “Evolutionary Quantitative Genetics Workshop” as the site.


Adding a new lecture or exercise web page

This can be done using the  +New  tab in the top area of the Dashboard, or the  Add New menu item in the left column of the Dashboard.   Some things to do:

  1. In the box at the top, type in the name of the web page.  It must start with the year, followed by a blank space.  Thus if it is a page for Exercise 3.4, it will look like this:  “2019 Exercise 3.4”.  This is important — the year must be there to allow us to retain pages from previous years, and not overwrite them.
  2. You want to have a link to the next page in sequence (the next one in the Schedule).  This is a small link in the upper-right part of the page.  You can make this by figuring out the name of the next page, and then going into Text mode and inserting as the first line in the page a line like the following:
    <p style=”text-align: right”><a href=””>Lecture 2.1</a> →</p>
    (you could just copy this one, paste it in, and then change it to the correct year, to be “lecture” or “exercise”, whichever the next page is, and to have the right numbers).
  3. It is best to be in Visual mode when typing in most page content. When you finish doing that, it is essential to push the Publish button in the right-hand column of your browser page. You may need to scroll there to find it.  If you do further editing while still editing the page, be sure to push the Update button (which will have replaced the Publish button once the page is published).  Forgetting these will cause your carefully crafted content to be lost.
  4. If you are making a new version of last year’s page for a lecture, you should open that previous year’s page and select all of its contents.  Then paste them into the new page.  This can be done using the Edit menu in Visual mode or by using right-Click (or in MacOS, control-click) on your mouse and choosing the appropriate menu option.  Make sure that you copy from last year’s page and then change to this year’s page before pasting.
  5. Once you have last year’s stuff in, you are ready to edit it, add stuff, etc.
  6. You probably want to link to PDF or PPT files of slides, to files of R exercises, and other media.  Do <em>not put them in this blog</em>, but instead post those files to the Google Drive for the fhleqg Gmail account.  Use the instructions below for “posting files to be linked to from the web page” and also the instructions below it for obtaining the link for each such file to make a link from the web page that you are creating in this list of instructions.
  7. Save your changes using the  Update or Publish  button in the right column of the browser page
  8. You will also want to go to the Schedule page and create a new line for the new page, with a link to it. Before you go there, copy the URL for the new page. It can be copied from the “permalink” that appears at the top of the editing page when you were finished editing the page content, after you had Published or Updated the page.


Editing an existing web page on the blog

Once you have created a web page for a lecture or exercise for this year, you may want to edit it further in another session.  Here is how:

  1. Make sure you have logged in to the blog’s WordPress site (for example, using the Login page of the blog).  In the upper-right corner of the page, you should see “Howdy, fhleqg”
  2. Find the blog page by using the Schedule and clicking on the lecture or exercise link for that page.
  3. Click on the Edit link, which is visible near the bottom of the page, or becomes visible on moving your cursor over the page name in a list of pages, or which may appear in the stripe at the top of the Dashboard.
  4. If you can’t find the page that way, go to the Dashboard, choose My Sites, and in its menu choose the one which is Evolutionary Quantitative Genetics Workshop.  Then look on the menu at the left for Pages and choose All Pages, or look at Posts and choose All Posts. It might be in either of those lists. Then go through that list, moving to new pages of that list till you find the one you want.
  5. Once the page opens for editing, you may want to choose the Visual tab (upper right area).  Then you can type in text, and then mark it and boldface or italicize it with the usual B and buttons, right/left/center justify using the usual buttons for that, or choose a new font or change the font size for the marked text.
  6. … or you can choose Text mode — then you’re typing raw HTML, so you’d better know what you are doing.
  7. Save your changes using the  Update  button in the right column of the browser page — you may need to scroll some to see it.  Unless you  Update  all recent changes will get lost when you are done.


Posting files to be linked to from the web page

Files such as lecture projections (PPT or PDF), or supplementary documents, or R exercises, or audio recordings, are not to be posted on the workshop blog.  Instead, open the Google Drive for the  fhleqg  account, which is not a gmail account but a  account.  It has the password we mentioned above.

Find the “Shared folder” and open it, then find the folder for this year (such as “2019”) and open that.  Find the folder for the lecture or exercise, and open that.  If it does not exist, right-click or Ctrl-click and choose New Folder, and give it the appropriate name such as  Lecture 4.3.

Then you should be able to tow the file from your system onto that Drive screen and drop it there.  You can change its name once it is there, if you want.


Getting the link for one of those files

But there is still the matter of getting the address of the file, and posting a link to it on the appropriate lecture or exercise web page.

  1.  Open a window with the Google Drive page, with you logged in appropriately.
  2. Find the folder with the file, and open that folder.
  3. (You may need to do this only once)  The files you put in the Google Drive folders should be accessible by anyone who has the link.  This ensures that clicking on the link in the blog reaches the file.  To make that select the file and click on the icon above and to the right that looks a person with a + sign on their shoulder.  Choose the setting that states that “anyone with the link can view” the file (not just anyone at UW with a link).
  4. Right-click or Crtl-click on the file name.
  5. A menu will open.  Choose “Get Sharable Link”.
  6. A box will open with the URL address for the link.  Select it and copy it.
  7. Now go to the Edit screen for the blog page, in Visual mode.  Have the text that will indicate the link selected.
  8. Choose the symbol for Insert/Edit Link, which looks like a little chain with three links.
  9. Insert the URL in the box provided.
  10. Press the return-arrow button which immediately follows the URL field.
  11. Don’t forget to Publish or Update the web page after that.