Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update content.php #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

slaweallx
Copy link

Article Tag (itemscope itemtype="http://schema.org/BlogPosting"):

Added to the <article> element to indicate it is a BlogPosting type.

Image Tag (itemprop="image" with itemscope itemtype="http://schema.org/ImageObject"):

Added to the anchor tag (<a>) that wraps the thumbnail image to specify it as an image object.
Includes <meta itemprop="url" content="..."> to indicate the URL of the image.

Comment Count (itemprop="commentCount"):

Added to the comments bubble link to specify the number of comments in a structured format.

Category (itemprop="articleSection"):

Applied to the category div to indicate the section of the article.

Title and URL (itemprop="headline" and itemprop="url"):

The <h2> title element is marked as headline, and the permalink is marked with itemprop="url".

Excerpt (itemprop="description"):

The excerpt div is marked with itemprop="description" for structured data.

Publish and Modified Dates (itemprop="datePublished" and itemprop="dateModified"):

Added to the date div and <meta> tags to indicate the publication and last modification dates.

Main Entity (itemprop="mainEntityOfPage"):

Applied to the "read more" link to indicate the main page entity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant