Sunday, February 12, 2012

Some Important Wordpress Function

Some Important Wordpress Function 

<?php  the_content(); // get  content in wordpress ?>

<?php the_excerpt (); //get part of content in wordpress ?>

<?php the_title();  // get title of page and post  ?>

<?php edit_post_link('Edit');  // edit link when wp-admin login ?>

<?php bloginfo('home'); //http://localhost/myproject ?>

<?php bloginfo('template_url'); //http://localhost/myproject/wp-content/themes/mythem  ?>

<?php bloginfo('stylesheet_url'); //get style.css file from youe them ?>

<?php bloginfo('name');  // name of your site  ?>


No comments:

Post a Comment

If you Satisfied , Please Leave a comment