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

JSON-LD Meta: Add support for "CourseInstance.CourseSchedule" #1420

Closed
PiessensLander opened this issue Feb 19, 2024 · 3 comments
Closed

JSON-LD Meta: Add support for "CourseInstance.CourseSchedule" #1420

PiessensLander opened this issue Feb 19, 2024 · 3 comments

Comments

@PiessensLander
Copy link

Is your feature request related to a problem? Please describe.

I'm integrating the meta info for a Courses page using the JSON-LD function. When trying to add a courseSchedule, nothing happens because the property doesn't exist in the SEOMatic codebase.

Describe the solution you would like

Add support for the courseSchedule in /src/models/jsonld/CourseInstance.php

Describe alternatives you have considered

Manually adding the required properties, but this doesn't work.

Additional context

More info about CourseInstance: schema.org

@khalwat
Copy link
Collaborator

khalwat commented Feb 19, 2024

It must be a relatively newly added property for schema.org. Do you know what version it was added in?

@PiessensLander
Copy link
Author

@khalwat looks like it was added in version 17.0 back in May 2023: schemaorg/schemaorg#3314

@khalwat
Copy link
Collaborator

khalwat commented Feb 20, 2024

Addressed via the commits above

Craft CMS 3:

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-seomatic": "dev-develop as 3.4.72”,

Then do a composer clear-cache && composer update

…..

Craft CMS 4:

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-seomatic": "dev-develop-v4 as 4.0.41”,

Then do a composer clear-cache && composer update

…..

Craft CMS 5:

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-seomatic": "dev-develop-v5 as 5.0.0-beta.5”,

Then do a composer clear-cache && composer update

@khalwat khalwat closed this as completed Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants