Week 21 Vocab / Terminology

  • ‘Skip to…’ links to should be the first content to appear in the body of your web page.
  • There has to be ‘Skip to…’ links to every major div that contains content some one may want to read. So if you have a navigation, content, sidebar and footer divs that there is information some one may want to read, it needs a link.
  • AccessKeys are code that allow people to easily navigate links on your website using hotkeys. They are a separate part of WCAG from ‘Skip to…’ links, but they should appear on them.
  • AccessKeys should be on each ‘Skip to…’ link with letters that are appropriate to what they link to. For example navigation = ‘n’ and content = ‘c’.
  • AccessKeys should also appear on your links in the main nav bar and footer. Use these numbers according to the UK government standards: homepage (1) link, blog / news (2), sitemap (3),  FAQ / about us (5) and contact form / page (9).
  • The first step to installing a wordpress website after uploading it to your server, is to change the options in the wp-config-sample.php file and rename it to wp-config.php.
  • All of the content / themes / plugins that we upload for us in wordpress go into sub folders according to their use in the wp-content folder.
  • When creating your own theme, the first step is to create a folder without spaces in the theme folder.
  • Inside your theme folder there has to be a style.css file in the root. This file needs to contain a comment at the top with ‘Theme Name:‘, ‘Theme URI:‘, ‘Description:‘ and ‘Author:‘.
  • When creating a theme you can use the bloginfo() function in PHP to display options and information from your site. You can find all the options here.
  • Inside you theme folder in wordpress, you will have a functions.php that allows you to set options for your theme and overwrite wordpress defaults.
  • When creating a theme, ‘The Loop‘ is used to display posts and pages. ’The Loop’ is basically a if / while statement that can echo off the title, content, date etc… of each post or single page based on what the author wrote.
  • To allow wordpress to make changes to the server without typing in your ftp password each time, you will have to add the following line to your wp-config.php file.
    define(‘FS_METHOD’, ‘direct’);
    This will tell wordpress to upload to the server using php rather than ftp.
 
 
copyright © 2004 - 11 cawd by steven herr. all rights reserved