/ Published in: PHP

Custom post page name
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $post_type = get_post_type_object( get_post_type($post) ); echo $post_type->labels->singular_name ; ?> <a class="button blue" href="<? echo(get_page_link(get_page_by_title('Custom post page name')->ID)) ?>">Find out More</a>
Comments
