Skip to main content
Improved title, formatting, tags
Source Link
Jan Fabry
  • 30.5k
  • 4
  • 90
  • 136

query_post get the Get permalink and title by post name?

In the theme there is a custom post type called faqfaq

I just want to get certain post by its name (NOT by id cause no id exist).

 
<?php query_posts('post_type=faq') ?>

how to get the_tile()the_tile() and the_permalink()the_permalink() by its name?

thanks in advance!

query_post get the permalink and title by name

In the theme there is a custom post type called faq

I just want to get certain post by its name (NOT by id cause no id exist).

 

how to get the_tile() and the_permalink() by its name?

thanks in advance!

Get permalink and title by post name?

In the theme there is a custom post type called faq

I just want to get certain post by its name (NOT by id cause no id exist).

<?php query_posts('post_type=faq') ?>

how to get the_tile() and the_permalink() by its name?

Post Migrated Here from stackoverflow.com (revisions)
Source Link
Cam
Cam

query_post get the permalink and title by name

In the theme there is a custom post type called faq

I just want to get certain post by its name (NOT by id cause no id exist).

how to get the_tile() and the_permalink() by its name?

thanks in advance!