A plugin to enable Relevanssi research through WP_GraphQL.
This plugin requires Relevanssi >= 4.6.0 and WP_GraphQL >= 0.8.0.
| const express = require('express'); | |
| const next = require('next'); | |
| const sm = require('sitemap'); | |
| const axios = require('axios'); | |
| const port = parseInt(process.env.PORT, 10) || 3000; | |
| const dev = process.env.NODE_ENV !== 'production'; | |
| const app = next({ dev }); | |
| const handle = app.getRequestHandler(); |
A plugin to enable Relevanssi research through WP_GraphQL.
This plugin requires Relevanssi >= 4.6.0 and WP_GraphQL >= 0.8.0.
| <?php if (have_posts()): ?> | |
| <ul id="image-data-list"> | |
| <?php while(have_posts()): the_post(); ?> | |
| <li data-image-url="<?= your_post_image_url ?>"></li> | |
| <?php endwhile; ?> | |
| </ul> | |
| <?php endif; ?> |
| import React, { Component } from "react"; | |
| import { getFirstAndSecondAction } from "actions/getFirstAndSecondAction"; | |
| class MyComponent extends Component { | |
| static async getInitialProps({ store }) { | |
| // Trigger the saga sequence | |
| store.dispatch(getFirstAndSecondAction()); | |
| return {}; |
The image to apply the filter.
You can find it here: https://drive.google.com/file/d/1pr4Sih1vFw_Smqm1c86QFgT2nGO0O3gf/view?usp=sharing
You should ulpad it on this path yourtheme/assets/images/clut.jpg.
Getting started:
Related tutorials:
| { | |
| // Image Formats | |
| "jpg": "image/jpeg", | |
| "jpeg": "image/jpeg", | |
| "gif": "image/gif", | |
| "png": "image/png", | |
| "bmp": "image/bmp", | |
| "tiff": "image/tiff", | |
| "tif": "image/tiff", |
A clean workaround for running capybara tests on Rails with assets pipeline enabled.
Original: teamcapybara/capybara#500 (comment)
| /*! | |
| * pixi-filters - v2.0.2 | |
| * Compiled Thu, 21 Sep 2017 16:00:59 UTC | |
| * | |
| * pixi-filters is licensed under the MIT License. | |
| * http://www.opensource.org/licenses/mit-license | |
| */ | |
| (function(global, factory) { | |
| typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : |