Design Our Job I I: Education Program Manual
Design Our Job I I: Education Program Manual
education program
education manual
program
DISCLAIMER:
“Any communication or publication related to the action, made by the benefi-
cieries jointly or individually in any form and using any means, shall indicate that
it reflecst only on author’s view and that the Agency or Commission are not re-
sponsible for any use that may be made from information it contains.”
Why HTML5 ?
Semantics, offline storage, device access, multimedia, 3d graphics.
6 7
1
UI/UX P r a c t i c e s
HTML and CSS
Introduction:
- to best UI/UX practices
- to HTML and CSS
Introduction:
- to best UI/UX practices
- in to HTML and CSS W1 UI/UX P r a c t i c e s
HTML and CSS
A document is usually a text file structured using a markup language And this is what we get in browser:
— HTML is the most common markup language,
but you will also come across other markup languages such as SVG or XML.
Presenting a document to a user means converting it into a usable form for your audience.
Browsers, like Firefox, Chrome or Internet Explorer, are designed to present documents
visually, for example, on a computer screen, projector or printer.
Web browsers apply CSS rules to a document to affect how they are displayed.
A CSS rule is formed from:
A set of properties, which have values set to update how the HTML content is displayed,
for example I want my element’s width to be 50% of its par-
ent element, and its background to be red.
A selector, which selects the element(s) you want to apply the updated property values
to. For example, I want to apply my CSS rule to all the paragraphs in my HTML document.
A set of CSS rules contained within a stylesheet determines how a webpage should look.
How CSS look like: CSS3 is current impletementation that is widely used
although in some cases we can see older variants as well.
Search engine optimization (SEO) is the process of affecting the visibility of a website
or a web page in a web search engine’s unpaid results—often referred to as natural,
organic, or earned results.
In general, the earlier (or higher ranked on the search results page),
and more frequently a site appears in the search results list, the more visitors it will
receive from the search engine’s users; these visitors can then be converted into customers.
LECTURE:
Recommended reading:
https://www.youtube.com/watch?v=D5KYLmXzuhU&feature=youtu.be
http://www.wpbeginner.com/beginners-guide/what-is-the-dif-
ference-between-posts-vs-pages-in-wordpress/
http://www.wpbeginner.com/glossary/page/
http://www.wpbeginner.com/beginners-guide/how-to-add-a-
new-post-in-wordpress-and-utilize-all-the-features/
http://www.wpbeginner.com/glossary/category/
10 11
We have a link in the additional reading section, that explains how to Basic entities in WordPress: categories, pages, posts, links
set up online hosting. We play the video on the projector
and the participants follow the instructions and set up everything. Category is predefined taxonomy in Wordpress.
After we filled required fields we can log on to our fresh WordPress installation. It is used to sort and group content into different sections.
In order to have good organization of our content we need Default category in Wordpress is Uncategorized.
to know which pages we want to create.
Adding category
For start we will need: HOME, NEWS(blog), ABOUT, CONTACT. We can add category in Wordpress in a few ways. We can create categories before
Now we can create pages that we are going to use. adding posts or during post creation we can select created categories or add new one.
Edit category
We can edit category in Wordpress when we navigate to
Next we need to do are basic settings.
Posts > Categories and when we mouse over one of them edit link will appear.
We will go to Settings tab and finish basic set up there.
After we are done click on Save Changes button.
12 13
2 W2
Introduction to WordPress Introduction to WordPress
[ basic set up & settings ] [ basic set up & settings ]
Working on WordPress Working on WordPress
[ pages, posts & categories ] [ pages, posts & categories ]
WORDPRESS 1 WORDPRESS 1
Page in WordPress refers to the page post type. Posts are content entries listed in reverse chronological order on your blog’s
Key differences between pages and posts are: home page. Due to their reverse chronological order, your posts are
meant to be timely.
Older posts are archived based on month and year.
Posts are timely content part of a series of posts in a blog. Pages are static one-off type As the post gets older, the deeper the user has to dig to find it.
of documents which are not tied to the blog’s reverse chronological order of content. Posts encourage conversation.
They have a built-in commenting feature that allows users to
Pages can be hierarchical, which means a page can have sub pages, for comment on a particular topic.
example, a parent page titled About us can have a sub-page called Our history.
On the other hand posts are not hierarchical. Creating Post
Posts are created under Posts > Add New
By default posts in WordPress can be sorted into taxonomies Categories and Tags.
Pages do not have categories or tags. Editing Post
When we are on Posts tab mouseover post that we want to edit and click on edit.
Pages can utilize custom page templates. Posts can not utilize this feature
by default in WordPress. Post types:
WordPress posts are displayed in RSS feeds while Pages are excluded from feeds. Standard – The default post format
Aims: WORDPRESS 2
Learning to create and position Menus;
60sec
Add and use media and create and manage users.
of
Intro to website hierarchy - 10min
Creating a new user - 5min
Practical work with the participants - 35min
Q’s and A’s - 10min
PLANKs
Expected workshop duration: 85min
Recommended reading:
Boris Negeli https://codex.wordpress.org/WordPress_Menu_User_Guide
reflection&energizer expert http://www.wpbeginner.com/glossary/media/
http://www.wpbeginner.com/beginners-guide/where-
does-wordpress-store-images-on-your-site/
http://www.wpbeginner.com/beginners-guide/
wordpress-user-roles-and-permissions/
https://codex.wordpress.org/Roles_and_Capabilities
17
3
WORDPRESS 2
Working on WordPress
[ menus, navigation, media, users ]
Working on WordPress
[ menus, navigation, media, users ]
W3 WORDPRESS 2
Media is part of WordPress dashboard which is used to manage user uploads
In our current theme we can add Menus to two locations: (images, audio, video, and other files).
Under the Media menu, there are two screens. The first screen Library lists all the
1. Top Menu files in the media library. These files can be edited and deleted from the library.
2. Social Links Menu (it is intended for social links) The second screen is Add New, which allows users to upload files.
Remember users can also upload media (images, videos, etc) while
Also we have option in menus to automatically add new top-level pages. writing a post or page. However, the Add New link under allows
If we want that just check the checkbox and we are done. users to upload files without attaching them to a specific post or page.
We can also add custom links or posts to our menus. All media files are stored and organized based on the year and month
they were uploaded in a folder called /wp-content/uploads/.
Also we can add Menus in Sidebar and other widget areas it is just a matter of You can search the media files by using your WordPress admin menu,
options of theme that we currently use. We need to go to Appearance > Widgets and but there is no way to store media files in specific folders.
add Custom Menu item that will appear wherever we have that widget field active.
Removing and editing menu is simple just select menu that we want Wordpress has powerfull user management system already built in.
to edit or delete and edit or delete items or whole menu. This means that we can define what specific user can and can not do on our website.
Defining user permissions on our website means we need to define a role
for specific user. WordPress comes with five default user roles:
Administrator
Editor
NOTES: Author
Contributor
Subscriber
18 19
W4
Working on WordPress
[ plugins, widgets, themes,
forms & social media ]
B E H o L D Aims:
Learning how to install and use plugins, widgets, themes,
including adding style and functionality to a website
Timeframe & Methods:
Recall of the last day lesson - 5min
Introduction to Wordpress plugins and widgets - 10min
WORDPRESS 3
STUDENTS ARE
Theoratical and practical (in Laptops)
presentation in WordPress for WordPress forms and social media - 20min
Q’s and A’s - 10min
Expected workshop duration: 90min
BECOMING LECTURE:
Recommended reading:
http://www.wpbeginner.com/glossary/plugin/
THE
http://www.wpbeginner.com/category/plugins/
https://wordpress.org/plugins/
https://codex.wordpress.org/WordPress_Widgets
http://www.wpbeginner.com/beginners-guide/how-
to-add-and-use-widgets-in-wordpress/
http://www.wpbeginner.com/showcase/25-most-use-
TEACHERS !
ful-wordpress-widgets-for-your-site/
https://wordpress.org/themes/browse/popular/
http://www.wpbeginner.com/showcase/best-free-wordpress-blog-themes/
http://www.wpbeginner.com/beginners-guide/how-to-install-a-wordpress-theme/
20 21
4
WORDPRESS 3
Working on WordPress
[ plugins, widgets, themes,
forms & social media ]
Working on WordPress
[ plugins, widgets, themes,
forms & social media ] W4WORDPRESS 3
A plugin is a piece of software containing a group of functions that can be added Theme decides how our WordPress will look and feel. So choosing right theme
to a WordPress website. They can extend functionality or add new features to your for our Wordpress web site is crucial. In most cases themes that you get with Wordpress
WordPress websites. will do the job but you can always try new themes and make even better product.
WordPress plugins are written in the There are thousands and thousands of themes available online.
PHP programming language and integrate seamlessly with WordPress. There are free and premium themes. Free themes will be good for most cases but
if you need extra customization and support check out premium themes (paid).
As a site administrator, you can install/uninstall plugins from the admin area.
You can also download and manually install them using an FTP client. Installing themes is easy in Wordpress. There are few ways to do this.
Because the vast majority of plugins are free, it is important to note that they usually First one is easy and we need to navigate to Appearance > Themes and click
do not come with tech support. For this reason it is important to be on Add New button. After install is complete we can activate new theme.
careful when choosing which ones you want to install on your site. Second option is to upload theme throug WordPress dashboard.
Although there are plugins that can do virtually anything, some are much Download theme to your computer and navigate to Appearance > Themes
higher quality than others. In order to choose the right ones, you should ask and click on Upload Theme button.
yourself a few questions. How long has it been since it was updated? Third way is copying theme to our theme directory but for this we need
Is it compatible with the latest version of WordPress? to have FTP access to our server which is not always the case.
Are people getting answers to their support questions?
What type of rating does it have? WordPress does not have form management built in out of the box.
Widgets in WordPress are designed to add new features to our sidebars. For that we need to install plugin which will take care of that. We will
We can see that with default widgets that we get when we install WordPress. take a look on several plugins that are known to work well.
Widgets were originally designed to provide a simple and easy-to-use way of 1. WPForms
giving design and structure control of the WordPress Theme to the user, 2. Gravity Forms
which is now available on properly widgetized WordPress Themes to include 3. Pirate Forms
the header, footer, and elsewhere in the WordPress design and structure. 4. Ninja Forms
Widgets require no code experience or expertise. 5. Formidable Pro
They can be added, removed, and rearranged in 6. Contact Form 7
Appearance > Widgets in the WordPress dashboard. Choice which to use depends what we need out of forms on our WordPress web site.
We will introduce Pirate Forms as it is easy to use and set up.
We can add new widgets in form of plugin and there are First we need to install plugin from Plugins tab in dashboard.
many to explore and use for all kind of situations. After installation we can proceed to settings of our plugin which can
Widgets usually live in WordPress sidebar but they can be also be accessed from Plugins tab or Settings tab in dashboard.
used in footer like in our Twenty Seventeen theme.
When we are on settings page for our forms we can see ways how to
add contact form to our page. We will use shortcode method to add contact form.
Just copy and paste shortcode to desired page and we have working nice contact form.
22 23
4
WORDPRESS 3
Working on WordPress
[ plugins, widgets, themes,
forms & social media ]
Working on WordPress fine tuning
[ intro to Wordpress SEO,
maintenance & security ]
Aims:
W5 WORDPRESS 4
Learning basics of WordPress SEO, maintenance and security.
Additional settings are available on other tabs on Pirate Forms Settings page.
Forms are used in number of situations: for subscription, registration, e-commerce etc.
Timeframe & Methods:
Recall of the last day lesson - 5min
Every web site should have social media presence.
Introduction to WordPress SEO - 10min
That does not mean just creating social media profiles for your web site.
Theoratical and practical (in Laptops)
We need to have our WordPress connected and communicating with social
presentation in WordPress for WordPress SEO - 10min
media profiles. WordPress has limited options regarding social media out of the box.
Intro to WordPress maintenance - 10min
We have mostly options in theme to add links to our social profiles.
Practical examples - 10min
Intro to WordPress security - 10min
Most of time it is enough but there are other things that we can do.
Practical examples - 10min
Social media connection to our WordPress also has big influence on our SEO.
Q’s and A’s - 10min
So if we want to have best results we need to add Social media plugin.
Expected workshop duration: Homework
75min explanation - 10min
Expected workshop duration: 110min
Main issue with most of social media plugins is performance. Like all plugins they need
omework review - 15min
to load additional resources like style sheets, scripts etc. which can slow down web site
response. So we need to have a balance between features and user experience.
LECTURE:
Good practice is to use only few social media profiles connected to Wordpress.
Social media plugins allow you to show social icons in sidebar, below
article, before article, etc. so we need to decide how we would like to
display them on our site and if the plugin supports that option. Recommended reading:
http://www.wpbeginner.com/wordpress-seo/
https://moz.com/blog/optimizing-your-wordpress-blog-posts
https://yoast.com/wordpress-seo/
1.EA Share Count
https://static.googleusercontent.com/media/www.google.com/en//
2.Sassy Social Share
webmasters/docs/search-engine-optimization-starter-guide.pdf
3.AddtoAny https://blog.kissmetrics.com/simple-guide-to-seo
4.Wordpress to Buffer https://www.sitepoint.com/definitive-guide-to-wordpress-maintenance/
5.Simple Social Icons http://www.wpbeginner.com/plugins/how-to-put-
6.Social Icons Widget by WPZoom your-wordpress-site-in-maintenance-mode/
7.WordPress Social Login https://codex.wordpress.org/WordPress_Backups
8.Revive Old Post https://yoast.com/wordpress-security/
9.Instagram Feed https://codex.wordpress.org/Hardening_WordPress
http://www.wpbeginner.com/wordpress-security/
24
5 Working on WordPress fine tuning
[ intro to Wordpress SEO,
maintenance & security ]
Working on WordPress fine tuning
[ intro to Wordpress SEO,
maintenance & security ] W5 WORDPRESS 4
WORDPRESS 4
WordPress maintenance is often seen as waste of time and resources.
It is extremely important to keep your Wordpress up to date, clean, secure and fast.
We were already talk about SEO optimization in our starting chapters. Regular maintenance is essential for stable and fast WordPress web site.
SEO is broad subject and there are many tools that can reduce time and effort. When dealing with maintenance in Wordpress we assume that you have Administrator
There are several plugins for SEO however our focus will be on Yoast SEO plugin. access to WordPress.
We need to install Yoast SEO plugin in Plugins tab and activate plugin itself.
After that we will get new things in our dashboard. WordPress maintenance include:
1. Maintenance mode
SEO is important for static pages and for our posts on blog. There is a subtle difference 2. Backups
between these two and we will focus on our blog posts SEO. 3. WordPress updates
4. Comment spam
Basic WordPress SEO: 5. Database maintenance and optimization
6. Health and security monitoring
7. Centralized management (for mutltiple WordPress instances/sites)
1.Permalink structure
2.www vs non-www
Maintenance mode should be used whenever there are some changes done that can af-
3.Stop words
fect user experience. WordPress has native maintenance mode when updates are being
4.SSL or no SSL
applied however there are plugins that can inform users even better than native solution.
5.Optimize titles for SEO
Backups are very important and they are frequently negclected.
6.Optimize descriptions
Using automatic solutions for backup is way to go as it can save time and money.
7.Image optimization
Manual backups are also recommended when you have time to do so.
8.XML sitemaps
There are many plugins that do the job so it depends what type of backup we need.
Wordpress updates are released in a timely manner and major release updates
must be applied especially if they fix security issues. Updates are available on:
1. WordPress core
2. Plugins
3. Themes
NOTES:
And so every time we want to update we need to check will it work with our current setup.
Comment spam is something that need your attention because
without moderation it can start to affect your Wordpress speed.
Best antispam tool is Akismet and it is present with WordPress core installation.
27
5
WORDPRESS 4
Working on WordPress fine tuning
[ intro to Wordpress SEO,
maintenance & security ]
Developing in
local environment:
Installing MAMP
Aims:
W6
MAMP
Teaching participants how to set up an environment
WordPress security is process that can be done in few stages depending on for local development.
what are we holding as data. So there is a difference between security on
personal blog and ecommerce web site with thousands of users and their data. Timeframe & Methods:
Basic security in WordPress is easy and it is recommended to take some time for that. Recall of the last day lesson - 5min
Basic security consists of few things that become best practic- Introduction to MAMP and what we get by installing it - 5min
es long time ago when there was no good plugins for security. Downloading, Installing MAMP- 20min
Configuring MAMP - 20min
1. Do not use admin as username Downloading, configuring WordPress - 20min
2. Use strong password Configuring WordPress - 20min
3. Stay up to date Q’s and A’s - 10min
Expected workshop duration: 100min
Other things that are also good practice and can be done are:
For two factor authentication we can use Google Authenticator plugin or smiliar. NOTES:
28 29
6 MAMP
Developing in
local environment:
Installing MAMP
Developing in
local environment:
Installing MAMP
4. Enter name for database that is going to be used by
W6 MAMP
WordPress and under Collation dropdown select utf8_unicode_ci
We have two main enviroments in which we run WordPress.
Those are development(local) and production(server) enviroment. We will focus on
local enviroment as it is more safe to develop, modify and change WordPress without
consequences. Also we can work in local enviroment even without internet connection.
We need to know requirements for our local enviroment.
Requirements are: Apache, PHP and MySQL
We will use MAMP as it is easy to use solution for Windows and MAC OS X.
MAMP takes the role of a server in our local enviroment.
1. Download MAMP
2. Install MAMP
3. Start MAMP
4. Configure MAMP
30 31
6 MAMP
Developing in
local environment:
Installing MAMP
Developing in
local environment:
Installing MAMP
W6 MAMP
Our enviroment is ready and we can proceed with Wordpress installation. Now we can check that our MySQL and Apache servers are running under
First we need to download latest stable version of Wordpress from wordpress.org. MAMP and we can go to url of our WordPress: localhost:80/wordpress/ ,
if everything went well we will have welcome screen to continue with WordPress
After download we can unpack content of archive and copy it to proper location for local installation in our browser tab. We need to finish installation in order to access WordPress
development. In our case since we use MAMP that location is: dashboard where we will do most of our setup and work.
C > MAMP > htdocs
After we filled required fields we can log on to our fresh WordPress installation.
When copy is finished we need to configure In order to have good organization of our content we need to know which pages we
WordPress to use database that we created eariler. want to create. For start we will need: HOME, NEWS(blog), ABOUT, CONTACT
We can create now pages that are we going to use.
Caution: In some cases port 80 can be already used so you
will need to change port for Apache to something else.
Next we need to do basic settings. We will go to Settings tab and finish
In order to change port for Apache or MySQL we need to go to settings in basic set up there.
MAMP and change what we need to. This is also case for MySQL so you will After we are done click on Save Changes button.
need to change port for that. By default we will use port 80 for Apache.
There are two ways of doing this. First and easy one is to go to
localhost:80/wordpress/ and follow the steps.
Second way is to edit wp-config-sample.php manually and we will do like that.
In WordPress folder we have file that is called wp-config-sample.php
and we need text editor to open that file and alter a few things.
Under DB_NAME we will put wpproject as that is our chosen database name.
Under DB_USER we will use root and under DB_PASSWORD also root.
NOTE: These are settings for local enviroment!!! NOTES:
32
To all the things I’ve lost on you
Oh oh
Oooooo
When you get older, plainer, saner
When you remember
all the danger
we came from?
PRESENTATION OF THE WEBSITES
Aims:
Presentation of the websites created by the participants
OOoooooOo
Baby is that
lost on you
NOTES:
Under the mentorship and guidance of Boris Negeli and Nikola Radman.
Front and Back Cover designed by Dijana Makijević
Handbook layout and design by Jovana Dragaš
36
‘’ very nice ‘’
MIHAEL NIKOLIC
Prince of Room no. 308 Tanja Mirkovic
‘’ .. back to purity
.. back to simplicity ‘’
Dieter Rams
</html> ..
.. and the END is always near
http:// www.designyourjob.org /
o
so
‘ .. so on and 2017
BORIS NEGELI