Archive | /wp-includes/post-template.php RSS feed for this section

get_the_guid

Retrieve the Post Global Unique Identifier (guid).The guid will appear to be a link, but should not be used as an link to the post. The reason you should not use it as a link, is because of moving the blog across domains.

1833

Continue reading

get_post_class

Retrieve the classes for the post div as an array.The class names are add are many. If the post is a sticky, then the ‘sticky’ class name. The class ‘hentry’ is always added to each post. For each category, the class will be added with ‘category-‘ with category slug is added. The tags are the same way as the categories with ‘tag-‘ before the tag slug. All classes are passed through the filter, ‘post_class’ with the list of classes, followed by $class parameter value, with the post ID as the last parameter.

1581

Continue reading