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  ?>




 

Comments

Popular posts from this blog

Call PHP Function In JavaScript Using Ajax

List of Post Category Wise in wordpress