Giter Club home page Giter Club logo

firepress's Introduction

Brave Firepress

License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

Description

Brave Firepress synchronises all your wordpress posts with a Firebase real-time database. After setting up the link between WordPress and Firebase, you can choose which posts to write across, the root path for all WordPress posts (defaults to '/wp/') and which fields of the posts should be copied across to Firebase and how they should appear in the Firebase database. Post meta, terms and taxonomies are supported and can either be saved into a 'terms'/'meta' key for each post, or merged into the main key for that post. Advanced Custom Fields are also natively supported and can either be saved to a 'fields' key for each post, or merged into the main key for that post.

A list of field mappings is given to allow you to customise how your WordPress post data shows up in Firebase, and which fields to include or exclude.

Installation

  • Install the plugin as per usual, through the WordPress plugin repository or by uploading the zip file manually to your site and activate it.
  • Once activated, you can find the plugin under Settings -> Firepress
  • Go to your Firebase Console and navigate to the Service Accounts tab in your Firebase project's settings page.
  • Select your Firebase project. If you don't already have one, click the Create New Project button. If you already have an existing Google project associated with your app, click Import Google Project instead.
  • Click the Generate New Private Key button at the bottom and download the .json file provided.
  • Upload your .json credential files to the wp-content/plugins/brave-firepress/accounts/ directory.
  • Go to the plugin's settings page and:
    • Enter your Firebase install's URL - you can find it on your Real Time Database's page inside the Firebase console.
    • Select your .json credential file from the dropdown provided after you've copied it into the plugin's /accounts/ directory.
    • Select post types which you'd like to synchronise to your Firebae database.
    • Select how you would like WordPress to synchronise your post types into your Firebase database.
    • Save your settings. If all goes well, you should see a message informing you that your Firebase and WordPress installs are successfully connected together.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.