Skip to content

Commit

Permalink
Merge pull request #77 from jdevalk/jdv/improve-genesis
Browse files Browse the repository at this point in the history
improve Genesis detection
  • Loading branch information
tunetheweb authored Dec 2, 2024
2 parents 04d37cf + bc8fcb6 commit ed2167b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
Binary file added src/images/icons/genesis-blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 28 additions & 4 deletions src/technologies/g.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,16 +443,40 @@
"scriptSrc": "/wp-content/plugins/gp-premium/.+\\.js(?:\\?ver=(\\d+(?:\\.\\d+)+))?\\;version:\\1",
"website": "https://docs.generatepress.com/article/installing-gp-premium/"
},
"Genesis blocks": {
"cats": [
87
],
"description": "Premium block library & block editor enhancements from StudioPress.",
"icon": "genesis-blocks.png",
"requires": "WordPress",
"html": "<div[^>]+class=[\"']wp-block-atomic-blocks-*",
"dom": {
"link[href*='/wp-content/plugins/atomic-blocks']": {
"attributes": {
"href": "/wp-content/plugins/atomic-blocks/"
}
},
"link[href*='/wp-content/plugins/genesis-blocks']": {
"attributes": {
"href": "/wp-content/plugins/genesis-blocks/"
}
}
},
"scriptSrc": "/wp-content/themes/genesis-blocks/lib/js/",
"website": "https://www.studiopress.com/genesis-blocks/"
},
"Genesis theme": {
"cats": [
80
],
"description": "Genesis theme is a WordPress theme that has been developed using the Genesis Framework from Studiopress.",
"icon": "Genesis theme.svg",
"js": {
"genesisBlocksShare": "",
"genesis_responsive_menu": ""
},
"dom": [
"body[class*='theme-genesis']",
"body[class*='genesis-breadcrumbs-hidden']",
"body[class*='genesis-title-hidden']"
],
"requires": "WordPress",
"scriptSrc": "/wp-content/themes/genesis/lib/js/",
"website": "https://www.studiopress.com/themes/genesis"
Expand Down

0 comments on commit ed2167b

Please sign in to comment.