Website Development Prices

Website Development Prices

Sunday, February 16, 2020

How to add new user to Wordpress?

If you want to give other people access to your website you need to add new user(s). WordPress has five different user roles. They are:

  • Administrator has access to all the administration features within a single site.
  • Editor can publish and manage posts including the posts of other users.
  • Author can publish and manage their own posts.
  • Contributor can write and manage their own posts but cannot publish them.
  • Subscriber can only manage their profile.

1) Administrator user role can: write and edit Posts, create Pages, create Categories, moderate Comments, manage Plugins, manage Themes, and manage other Users, by assigning a specific role to each of the users.
2) Editor user role can: create, edit, delete and publish posts, even those belonging to other users. They also can edit and delete comments.
3) Author user role: create, edit, delete and publish their own posts. They can also upload media files.
4) Contributor user role can: edit and their own posts.
5) Subscriber user role can read all posts on the website.

To add new user:

1) Login to your wordpress website.
2) On left side, on Dashboard, hover over Users and from dropdown list click on All Users. 


3) You’ll have one user, administrator, who was created when you installed wordpress.  Administrator has the strongest role.
4) Click on Add new user button to create new user.
5) At the top of the page click on Add new button to add new user. In the Username field type the username, in this example, police1. In the email field type the users email. In the field First name and Last name, type first and last name of user. In the field Website type the website url of the user, if any, in this example, https://www.marijarikic.com/en/index.html. In the field Password click on the Show password button. WordPress will generate strong password. Make sure to make copy of this password to your computer and then on external hard drive or USB. Check field Send User Notification. And for the Role from dropdown menu pick one role for your new user, in this example, Editor.


6) Click on the Add new user button to create new user.


7. Tadaaaaa :)

Saturday, December 21, 2019

How to create child theme in wordpress

There is one main reason why I like to create child theme in Wordpress - if I make some changes in theme, for example, css or to the theme, when next update of theme comes and I update a theme, all changes will be gone. Unless I have a copy somewhere else, except on website, I would need to start over. While to keep a copy of website is good practice, it's also good practice to create a child theme.
The other reason is, whatever you have in child theme will overwrite what's in parent theme.   

Note: this child theme will be created locally - on my computer, not live website and I will be using twentyseventeen theme as an example. 

1) Go to your themes folder. Local Disk (C:) -> xampp -> htdocs -> police-dept-1 (this is the name of your database when you installed Wordpress) ->wp-content -> themes.




2) In folder themes create new folder, name it like your theme-child, in this example, twentyseventeen-child. You can name it however you want, but it's recommended this way.


Wednesday, July 24, 2019

How to set up a basic HTML page to redirect to another page

Place this code in the head section.

You can use both meta, and JavaScript code:

<!DOCTYPE HTML>
<html lang="en-US">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="refresh" content="0; url=http://marijarikic.com/en/index.html">
        <script type="text/javascript">
            window.location.href = "http://marijarikic.com/en/index.html"
        </script>
        <title>Page Redirection</title>
    </head>

    <body>

    </body>
</html>

Instead of marijarikic.com/en/index.html place your link.



Wednesday, November 22, 2017

How to make simple animated banner in GIF with GIMP

We'll make simple animated banner using images and text. And we'll add border to background. 

If you have ready images/pictures/photos you can start from step 25.
To compress GIF file start from step 28.

0. Prepare images that you want to use for making banner. Look at the image dimension. Right click on image and from drop down menu click on Properties. 



Then choose tab Details and write down dimensions. Click X to close image. 


You will need it for the size of the document in the Gimp. All pictures should be of the same dimensions.

1. Click File then New or on your keyboard (press CTRL and N at the same time). 



2. Type dimensions from previous step and click OK button.




Tuesday, July 25, 2017

How to cut the background from an image in Gimp

We'll cut the background from an image in Gimp and also we will make a transparent background.

1. Click File than Open or (CTRL and O).



2. Navigate to the image you want and press Open button. 



Volkswagen Golf VI of Serbian Border Police and Serbian police force 
This image is neither created nor endorsed by Boris Dimitrov in any way. Boris Dimitrov do not endorse me and/or my use of the work in any way.

2b. From top bar click File, then Save As (Shift+CTRL+S), to save your file. Type the name of the file and click the Save button.