Posted By

i-am-andy on 10/04/12


wordpress conditional statement

Versions (?)

Wordpress Conditional statement for Singular Custom Post Type

 / Published in: PHP


Suppose you wanted to check if a user was viewing a singular post with the post type of testimonial. You can use the next code sample to perform this check.

Report this snippet  

You need to login to post a comment.