Software company in Nepal

WordPress Glossary Terms for Beginners

1168 Views Saturday, September 16th, 2017 at 3:36 pm   (3 years ago)   How To?, ICT News, Student-Teacher

What is: Admin Area

The Admin Area is the administrative area of a WordPress website. Usually it can be accessed by visiting the wp-admin directory in your web browser. Example: http://www.example.com/wp-admin/

The WordPress admin area is the administration center of a WordPress powered website. An administrator has full access to all the sections within the WordPress Admin Area. Users with other roles such as editor, contributor, or author have limited access to the admin area. Some users such as users with the subscriber role only have access to their profile page inside the admin area.

At the top of each administration screen is the toolbar or admin bar. It provides access to several administrative functions. On the left side is the main navigation that provides access to most of the WordPress management tools. Each major section typically comes with a sub-menu that can fly out and expand to show extra options.

The area in the middle of the screen is called the work area. This is where you can write, edit, and delete posts as well as adjust settings. At the bottom of each administration page is the footer. The footer contains links to WordPress and the version of WordPress that you currently have installed.

What is: Action

An action is a function in WordPress code that is run at certain points throughout the WordPress core. In WordPress code there are numerous pre-defined actions or hooks that allow developers to add their own code at these points. These are a part of what makes WordPress so extensible and most plugins depend on actions for their operation.

To give you an example of how they can be used to add code to a website let us assume that you want to add a copyright notice to your footer. In order to do this you could modify your footer template directly. In some cases this would be preferable but many times it is much easier, and better practice, to hook your code to a predefined action that is already being executed in the footer. To do this you can add your copyright code into a function in your functions.php file. You can then add this function to an action that is in the spot where you would like your copyright code to be executed.

1
2
3
4
function copyright_notice() {
   echo "Copyright All Rights Reserved";
}
add_action('wp_footer','copyright_notice');

In this example, copyright_notice is an action hooked into wp_footer hook. The function copyright_notice will be executed whenever the wp_footer() hook appears in a WordPress theme code.

What is: AJAX

AJAX or Asynchronous Javascript and XML, is a group of techniques used in web development which allows a web page to communicate with a server without reloading the page. Using AJAX, applications on the web can exchange data with the server without interfering with the existing web page. Although the “X” is intended to stand for XML, it is not necessary to use XML for the exchange of data. JSON can be used instead.

In computer programs, operations are ‘asynchronous’ if they operate independently of other processes. This is why the web page doesn’t have to be reloaded in order to send information to the server. The exact method for this uses something called an XMLHttpRequest object, which is effectively an interface that allows scripts to perform AJAX requests.

AJAX is not just one technology. All of these technologies work together to create a single HTTP or HTTPS request. According to Jesse James Garrett, who first coined the term, the following technologies are incorporated:

  • HTML
  • CSS
  • Document Object Model
  • XML
  • XMLHttpRequest Object
  • Javascript

In WordPress, AJAX can be seen in action in the post edit screen where you can add a new category while writing a post without reloading the page. Another example can be seen on the comments page where you can approve or delete a comment without reloading the page.

What is: Array

In computer programming languages, an array is a special variable that can hold more than one value under a single name. It is possible to then access the values by referring to an index number or a text key.

WordPress is written in the PHP programming language and hence as a WordPress user you may come across them while working on WordPress themes or plugins or by simply looking at the core WordPress code. In PHP, the array() function is used to create them. There are three types that can be created in PHP:

  • Indexed – use a numeric keys to access values
  • Associative – use text or string keys to access values
  • Multidimensional – contain more than one array

Many arrays are used to loop through a set of data and perform some sort of operation on each value. For example if you have three pieces of fruit you could store each as a separate variable like this:

1
2
3
$fruits1= "apple";
$fruits2= "orange";
$fruits3= "banana";

This can quickly get very messy. A better solution would be to put them all in an array like this:

1
$fruits= array("apple", "orange", "banana");

Now you can do things like use built in array functions to perform operations on the data. For example, count() would tell you how many elements are in your array. $fruits[2] would equal ‘banana’ (arrays start at zero).

Example in WordPress:

The $args variable is an array, storing a number of arguments. These are then passed in to the wp_list_categories function later on.

 

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
$args= array(
  'taxonomy'=> 'category',
  'orderby'=> 'name',
  'show_count'=> 0,
  'pad_counts'=> 0,
  'hierarchical'=> 1,
  'title_li'=> 'Categories'
);
?>
<ul>
<?php wp_list_categories( $args); ?>
</ul>

What is: Administrator

Administrator is a user role in WordPress. When a user installs WordPress, it creates a new user with the username and password defined during the installation. That first user is assigned the user role of administrator. They can perform all actions on a WordPress website and have full capabilities.

A user with administrator role can also add and remove other users with the same role. When assigning the administrator role to a user, it is important to remember that administrators have the ability to delete content.

Administrator is the only user role that has the ability to upgrade a WordPress blog. They can change themes and edit core WordPress files by using the built in theme editor. They also have the ability to add, delete, and modify any plugins on the the site in the same way.

In most cases there is only one administrator. In the case of a WordPress multisite installation, some of the capabilities of the admin role are assigned to the super admin role. The super admin could modify themes, add new users, add and remove plugins, and administer the site network while the roles of the admin would only be concerned with managing a single site.

What is: Attachment

The term attachment is used for files uploaded to WordPress from post edit screen. When a file is uploaded using the Add Media button from post edit screen, that file automatically becomes an attachment of that particular post. Files uploaded directly to the Media Library are not particularly attached to a post or page. An attachment can be any file that can be uploaded using the media upload.

Theme developers can use attachment feature using template tags and conditional template tags to manipulate the appearance of the posts with the attachments. One common example of developers using attachments in conjunction with posts is the use of Post Image; these images can be set to a default, a category image, or a new image for each post (which could be a attachment of that post displayed in the particular way that the theme is setup to display it).

Media Library sub panel can also be used to attach media to specific posts after having been uploaded into the media library. Media that is uploaded into a specific post, or referenced into a specific post automatically becomes attached to that post. Media that is attached to posts can also become unattached when the posts are deleted from WordPress. These posts can become re-attached to a new post in the same way that they were attached to the original post. Media can also be attached to multiple posts at the same time and become unattached to any one of the posts if needed.

What is: Autosave

Autosave is a feature in WordPress which automatically saves changes made to a post, page, or custom post type. It works on the Post Edit screen. Since version 3.6, WordPress also takes advantage of the local storage feature of user’s browser so that changes can be saved even if a user loses internet connectivity. This feature is extremely important and useful because it prevents the risk of losing data. For example, if you were working on a post and your browser crashed all the sudden, then your work will not be lost (thanks to autosave).

Source:http://www.wpbeginner.com/glossary/

Related Posts

  • img

    Python Tutorial

    April 5th, 2019 0responses

    Python is an object-oriented programming language created by Guido Rossum in 1989. It is...

  • img

    Artificial Intelligence Terms

    January 29th, 2019 0responses

    As artificial intelligence becomes less of an ambiguous marketing buzzword and more of a...

Hotel search in nepal Software company in Nepal

Recent News