Forum Replies Created
-
AuthorPosts
-
netprojectParticipant
According to Google's Structured Data Testing Tool changing the Itemtype to Article, TechArticle or Blogposting will require further attributes/itemprops in order to receive a results free from errors or warnings. I was able to add the Itemprop Headline and change Itemprop Text into ArticleBody.
But, what would be the filter & function to add further Itemprops using your code above, please? An example code would help me a lot here 🙂
- datePublished
- image
- publisher
- dateModified
- dateModified
- mainEntityOfPage
- mainEntityOfPage
I already tried genesis-attr_entry-modified-time or genesis-attr_entry-published-time without getting results.
Thanks a lot for a hint
Best MarkJanuary 19, 2018 at 5:06 am in reply to: How do I change the default Schema from CreativeWork to TechArticle? #215527netprojectParticipantAccording to Google's Structured Data Testing Tool changing the Itemtype to Article, TechArticle or Blogposting will require further attributes/itemprops in order to receive a results free from errors or warnings. I was able to add the Itemprop Headline and change Itemprop Text into ArticleBody.
But, what would be the filter & function to add further Itemprops using your code above, please? An example code would help me a lot here 🙂
- datePublished
- image
- publisher
- dateModified
- dateModified
- mainEntityOfPage
- mainEntityOfPage
I already tried genesis-attr_entry-modified-time or genesis-attr_entry-published-time without getting results.
Thanks a lot for a hint
Best MarkDecember 31, 2017 at 12:05 pm in reply to: Disable Plugins From Loading on Specific Pages – Multiple URLs #214992netprojectParticipantJust wondering, if anyone has got more ideas on this?
December 21, 2017 at 7:47 am in reply to: Disable Plugins From Loading on Specific Pages – Multiple URLs #214720netprojectParticipantThanks Brad!
As said, I'm not a developer, so I tried to follow the W3Schools example, and how the array is being used for the multiple plugins within the code example above, but not sure.
Would the array for the URL sequence look like this?
function kinsta_option_active_plugins( $plugins ){ global $request_uri; $is_contact_page = array(); { $is_contact_page = strpos( $request_uri, '/contact/' ); $is_contact_page = strpos( $request_uri, '/contact1/' ); $is_contact_page = strpos( $request_uri, '/contact2/' ); } . . .
Thanks Mark
-
AuthorPosts