Tags
Future
28 Monday Apr 2014
Posted Positive
in28 Monday Apr 2014
Posted Positive
inTags
24 Thursday Apr 2014
Did you know that you can increase chances of success by consciously choosing the right words? It’s true! Let’s say you’re motivated, excited even, to create change in your life. You’ve even gone so far as to put your well-formed goals down in writing. From there, you’ve determined your first steps to begin the process of changing your eating habits and exercising more. You’ve got enormous enthusiasm and know exactly what it is you’ re going to do. You choose your goal tomorrow, and then inadvertently cripple your success before you even start. You say, ” I’ll try.”
increase chances of success What does “I’ll try” mean? It means you’ve given yourself an out. Should some obstacle surface, you now have a built-in escape route that gets you off the hook. The word presupposes failure. It lacks intention and confidence. You are sowing doubt in your own mind. It says, “Alright, I’ll give it a go, but I can’t really see it working out.”
Now observe what is feels like to sat “I am”. For example, “I am now committed to feeling good by honoring my decision to walk 20 minutes today.” If it doesn’t feel right, then you’ve selected a goal that is something other than your natural first step. Back up and find the action step you are ready to undertake. It doesn’t matter how small and insignificant it may seem at the time. You’ re better off starting with something teeny- tiny and achieving success, than starting with something you already know you’ re not ready for. The wise Lao-Tzu once started, “A journey of a thousand miles must begin with a single step.” Make sure you are able to complete your first step.
Perhaps having revised your initial starting point, again notice what it feel like to say, “I am now”. This phrase directs you and says that you have power and intention. It says that you believe in what you are saying and you will find a way to make it happen. You’ve made a commitment to yourself that you’ve chosen to honor. It says that you will find a way to get it done even if things get in the way. It means that even if difficulties pop up, you’ll find some way to stick to your intent.
increase chances of success
Once you find a plan of action that seems doable, forget trying to do it. To try to do something is to not do it. Instead, declare whole-heartedly, “I am now achieving this!”
Make your success inevitable.
http://www.goal-setting-for-success.com/increase-chances-of-success.html
23 Wednesday Apr 2014
Tags
Family is not just a word. It’s who you are, where you came from and where you will always belong.
21 Monday Apr 2014
Posted WordPress
in19 Saturday Apr 2014
Posted WordPress
instr_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ), 'format' => '?paged=%#%', 'current' => max( 1, get_query_var('paged') ), 'total' => $wp_query->max_num_pages, 'show_all' => False, 'end_size' => 1, 'mid_size' => 5, 'prev_next' => True, 'prev_text' => __('PREV'), 'next_text' => __('NEXT'), 'type' => 'plain', 'add_args' => False, 'add_fragment' => '' ) ); ?>
18 Friday Apr 2014
Posted WordPress
in/* Custome Post Type */ add_action( 'init', 'wp_product' ); function wp_product() { register_post_type( 'wp_product', array( 'labels' => array( 'name' => __( 'WP Catalogue' ), 'singular_name' => __( 'Product' ), 'search_items' => __( 'Search Product' ), 'parent_item' => __( 'Parent Product' ), 'parent_item_colon' => __( 'Parent Product:' ), 'edit_item' => __( 'Edit Product' ), 'update_item' => __( 'Update Product' ), 'add_new_item' => __( 'Add New Product' ), 'new_item_name' => __( 'New Product Name' ), ), 'public' => true, 'has_archive' => true, 'rewrite' => array('slug' => 'products'), 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'comments' ), ) ); } /*------------------------------------------------------------------------------------------------------*/ /* Custome Taxonomy Type */ function add_product_taxonomies() { register_taxonomy('p_category', 'wp_product', array( // Hierarchical taxonomy (like categories) 'hierarchical' => true, // This array of options controls the labels displayed in the WordPress Admin UI 'labels' => array( 'name' => _x( 'Product Category', 'taxonomy general name' ), 'singular_name' => _x( 'Category', 'taxonomy singular name' ), 'search_items' => __( 'Search Categories' ), 'all_items' => __( 'All Categories' ), 'parent_item' => __( 'Parent Categories' ), 'parent_item_colon' => __( 'Parent Categories:' ), 'edit_item' => __( 'Edit Categories' ), 'update_item' => __( 'Update Categories' ), 'add_new_item' => __( 'Add New Categories' ), 'new_item_name' => __( 'New Categories Name' ), 'menu_name' => __( 'Categories' ), ), // Control the slugs used for this taxonomy 'rewrite' => array( 'slug' => 'p_category', // This controls the base slug that will display before each term 'with_front' => false, // Don't display the category base before "/locations/" 'hierarchical' => true // This will allow URL's like "/locations/boston/cambridge/" ), )); } add_action( 'init', 'add_product_taxonomies', 0 );
17 Thursday Apr 2014
15 Tuesday Apr 2014
Posted PHP
in14 Monday Apr 2014
Posted WordPress
inIn This file Simple create registration form and submit by using AJAX
<!DOCTYPE html> <html> <head> http://code.jquery.com/jquery-1.9.1.js http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js <script> $(document).ready(function(){ $('#myForm').on('submit',function(event) { $.ajax({ url:'success.php', //target file data:$(this).serialize(), //translate data structure and object type:'POST', success:function(data){ console.log(data); $("#success").show(); // Show Success Message== }, error:function(data){ $("#error").show().fadeOut(5000); //===Show Error Message==== } }); event.preventDefault(); //To Avoid Page Refresh and Fire the Event "Click" }); }); </script> </head> <body> <h2 >Registration Form</h2> <table align:center> <form id="myForm" method="POST" action="" > <tr> <tr><td>Name :</td><td><input type="text" name="name" required></td></tr> <tr><td>SarName :</td><td><input type="text" name="sarname" required></td></tr> <tr><td>Birthday :</td><td><input type="date" name="bday" required></td></tr> <tr><td>E-mail :</td><td><input type="email" name="email" required></td></tr> <tr><td>Password :</td><td><input type="password" name="password" required></td></tr> <tr><td>re-Password :</td><td><input type="password" name="passward" required></td></tr> <tr><td><button type="submit" name="submit" id="submit">submit</button></td> </tr> </tr> <span id="error" style="display:none; color:#F00">Some Error!Please Fill form Properly </span> <span id="success" style="display:none; color:#0C0">All the records are submitted!</span> </form> </table> <?php ?> </body> </html>
View original post 100 more words
13 Sunday Apr 2014
Posted WordPress
inCopy this line and add in your theme header.php file.
Path : projectname/wp-content/themes/yourtheme/header.php
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri(); ?>/js/script.js"></script>
Add the script.js file here :
projectname/wp-content/themes/yourtheme/js/script.js
12 Saturday Apr 2014
Posted WordPress
inCopy this line and add in your theme header.php file.
Path : projectname/wp-content/themes/yourtheme/header.php
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/style/media.css" media="screen" />
Add the media.css file here :
projectname/wp-content/themes/yourtheme/style/media.css
11 Friday Apr 2014
Posted WordPress
in<?php
query_posts('meta_key=post_views_count&orderby=meta_value_num&order=DESC');
if (have_posts()) : while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php
endwhile; endif;
wp_reset_query();
?>
10 Thursday Apr 2014
Display a list of 5 posts selected randomly by using the MySQL RAND() function for the orderby parameter value:
<ul> <?php $args = array( 'posts_per_page' => 5, 'orderby' => 'rand' ); $rand_posts = get_posts( $args ); foreach ( $rand_posts as $post ) : setup_postdata( $post ); ?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endforeach; wp_reset_postdata(); ?> </ul>
09 Wednesday Apr 2014
Posted WordPress
in<?php the_permalink(); ?>
For Homepage Url
<?php bloginfo('url'); ?>
For Image Source Or File Path
<?php bloginfo('template_directory'); ?>/folder-name/
For Get Header Menu
<?php wp_nav_menu('Menu=headermenu' ); ?>
For Get Footer Menu
<?php wp_nav_menu( array('menu' => 'footermenu' )); ?>
Make The “Read More” Link To The Post
Place this in a theme’s functions.php to make the “read more” link to the post
function new_excerpt_more( $more ) { return ' <a href="'. get_permalink( get_the_ID() ) . '">Read More</a>'; } add_filter( 'excerpt_more', 'new_excerpt_more' );
09 Wednesday Apr 2014
Posted WordPress
inજેને કશું કામ કરવા ના હોય એ નવરો બેઠો બેઠો બ્લોગ લખે.
#WCAhmedabad
Hinal Sanghvi
A Blog for Tutorials, Free Videos, and Updates on Courses, Talks and Workshops
love nature, and all things creative
beautiful nerdy bookish things
Trying to be Useful, one post at a time!
Dreaming, believing, learning then achieving