Posted By

hernanvionnet on 11/24/11


Tagged

post page wordpress name custom


Versions (?)

get Custom post page name


 / Published in: PHP
 

Custom post page name

  1. <?php $post_type = get_post_type_object( get_post_type($post) );
  2. echo $post_type->labels->singular_name ; ?>
  3.  
  4.  
  5. <a class="button blue" href="<? echo(get_page_link(get_page_by_title('Custom post page name')->ID)) ?>">Find out More</a>

Report this snippet  

You need to login to post a comment.