
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@webmaeistro/gatsby-theme-graphql-wp
Advanced tools
The idea behind this theme is making a one-stop solution for a WordPress blog owner who wants to switch to Gatsby powered frontend. Simple to configure that works out of the box. For a common use scenario - standard WordPress installation, basic posts and pages content - only a source url is needed.
{
resolve: '@webmaeistro/gatsby-theme-graphql-wp',
options: {
wordPressUrl: 'https://your.wordpress.site/',
},
}
This theme uses GraphQL API to source WordPress content. Therefore the source WordPress site must use the wpgraphql plugin.
yarn add @webmaeistro/gatsby-theme-graphql-wp
{
resolve: '@webmaeistro/gatsby-theme-graphql-wp',
options: {
wordPressUrl: 'https://your.wordpress.site/',
menuLocation: 'MENU_1',
},
},
wordPressUrl
- source site.
uploadsUrl
- (optional) WordPress uploads folder. Uses default if this option not set.
processPostTypes
- (optional) post types to process. You can include custom post types as defined in wpgraphql however CPTs also need to have some code added to create pages on Gatsby site. And that is currently outside of this theme's scope.
useWebp
- (optional) if true uses WebP images. Default is false.
menuLocation
- WordPress menu location slug. Sanitized.
A build would break if menuLocation
was not cofigured right. The location slug comes from register_nav_menus
function call in functions.php
(example) of your WordPress theme.
siteMetadata: {
title: 'Site title',
author: 'Author name',
description: 'Site description',
social: [
{
name: 'twitter',
url: 'https://twitter.com/your_twitter',
},
],
},
<img>
tags to Gatbsy <Img>
component.<Img>
component.<Link>
component.This theme utilizes the gatsby-wpgraphql-inline-images plugin for most of the content processing.
{
resolve: '@webmaeistro/gatsby-theme-graphql-wp',
options: {
wordPressUrl: 'https://examplecom',
},
},
Special thanks for inspiration and some borrowed code go to:
https://github.com/jlengstorf
https://github.com/jasonbahl
https://wordpress.org/themes/juliet/
Demo site uses images by Unsplash and text content from Wikipedia.
FAQs
Gastby theme for wordpress in the back
We found that @webmaeistro/gatsby-theme-graphql-wp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.