March 28, 2019

How to finishing your To Do Task list?




First we discuss some points which effected on failure of your To Do List.

1. Misunderstand The #Goal
2. Assign #Deadlines
3. Task list too long
4. Tasks are not attached to specific goals
5. To Do list complete time
6. Divided task phase wise

Now we discuss most important To Do Lost system

1. Masure and define all task list
2. Task + Start Date + End Date
3. Project based system
4. Used matrix system
5. Break projects individual tasks
6. Assign deadline to each task
7. Weekly reviews

Enjoy!

January 31, 2019

Angular JS: Cannot set property '_DT_CellIndex' of undefined


- This is datatable error not Angular, So you need to check datatable js file included (latest version),

- And then check table structure like no of <th> and no of <td> both must be same,

Enjoy!

December 9, 2018

How to post a blog from wordpress admin?

   
      Basically wordpress used for blog posting for any business. Its very easily so non technical person can post blogs with content, images and video also. Here I try to explain how to post a blog from wordpress in easy way.

     If you new for wordpress please follow my previous post to download and install latest version of wordpress on localhost system using xampp.


Step: 1

- Login in your wordpress admin using username/password and you can see admin dashboard and left side menu for posts.

- First you need to create category for different type of posts. You need to enter category name, slug name and select parent category if needed.



Step: 2

- When you click on All Posts its display list of all posts with Edit, Trash and View option, So you can easily edit and view any post


Step: 3

- Now for add new post you have following basic options:

- Title
- Full Description
- Short Description(Excerpt)
- Tags
- Select Category
- Set Featured Image


Step: 4

- At last Publish post and view your blog preview on front end side

I hope this post is help for post blog in wordpress.

Enjoy!

December 1, 2018

How to download and install latest version of wordpress on localhost syste usgin xampp?

Step: 1
  - First you need to Download XAMPP and install in your local sysmte.

   - Now you need to Download latest version of Wordpress.


Step: 2
   - Start your Apache and MySQL services from XAMPP Controler Panel.



Step: 3
   - After start success MySQL service open phpMyAdmin in browser and create new database.



Step: 4
   - Now unzip downloaded wordpress zip file here: c://xampp/htdocs/your_folder/

Step: 5
   - After unzip file you have one wp-config-sample.php file, rename this file name to wp-config.php.

   - Open wp-config.php file in any editor for change databse details. And change following details on this file (by default username: 'root', password: '', hostname: 'localhost')

/** The name of the database for WordPress */
define('DB_NAME', 'wordpress_demo');

/** MySQL database username */
define('DB_USER', 'root');

/** MySQL database password */
define('DB_PASSWORD', '');

/** MySQL hostname */
define('DB_HOST', 'localhost');


Step: 6
   - Need some other wordpress configuration, So open this path in browser http://localhost/your_folder and you have option for select language and press continue button

Step: 7
   - Now you need to insert wordpress admin details like Site tile, username, password and email address, So fill this details and install wordpress


Step: 8
  - After wordpress installed you get successfully message and wordpress admin login link to access wp-admin.

Spte: 9
  - On wordpress admin page you should enter username and password to access wordpress admin.




Enjoy! And my next tutorial is How to post a blog from wordpress admin?


September 23, 2018

How to draw different type of pyramid in PHP using short code?



To draw a simple pyramid:
Example:

<pre>
<?php
 $no = $i = 5;
 while ($i--)
    echo str_repeat(' ', $i).str_repeat('*', $no - $i)."\n";
?>
</pre>

Output:

    *
   **
  ***
 ****
*****

Note: If you want display in middle like below

    *
   * *
  * * *
 * * * *
* * * * *

- You need just give space after start in while loop in ablove example like:
Example:
<pre>
<?php
 $no = $i = 5;
 while ($i--)
    echo str_repeat(' ', $i).str_repeat('* ', $no - $i)."\n";
?>
</pre>


- The next example for display below pyramid:
Example:

<?php
$num=1;
for($i=1;$i<5;$i++){
   for($j=1;$j<=$i;$j++){
       echo $num;
       $num=$num+1;
   }
   echo "<br />";
}
?>

Output:
1
23
456
78910

1980s Photo Prompts: Easy Online Copy & Paste

Are you on a quest to enhance your photography projects with a touch of nostalgic flair? Look no further than 1980s photo prompts. These car...