Git Product home page Git Product logo

social-feeds-wp's Introduction

Social Feeds for WordPress

Social Feeds is a plugin which allows social media posts from Twitter, Instagram, and or a LinkedIn company page to be integrated with any WordPress site.

Usage

Once activated, the plugin will create a "Social Posts" custom post type for managing posts.

You can configure each network's feed independently by providing your own API credentials and adjusting what content should be pulled, and how often.

Use the "Select Posts" view to curate which posts will be published to the site and which will remain hidden as drafts. You also have the option of automatically publishing new posts when setting up a scheduled sync.

Post Type

The plugin does not currently provide any helpers for displaying the social feeds on the front-end. Instead, posts are saved to a custom post type. How these posts are displayed is left to the theme author. The following data is saved with each post:

Post Title: [Original post content]

Post Content: [Original post content (with linked URLs)]

Social Type (taxonomy): [Network]

Custom Fields:

  • social_post_created: [Original post timestamp]
  • social_post_details: [Original post JSON]
  • social_post_permalink: [Origial post URL]
  • social_post_username: [Origial post author]
  • social_post_image: [Origial post image (if any)]
  • social_post_video: [Origial post video (if any)]

Settings

Plugin settings are managed on the respective network's settings page, located under the "Social Posts" post type in the dashboard menu. You can also configure options by defining constants in your theme's functions.php or wp-config.php files.

Development

PHP dependencies are managed via Composer, and are included in the Git repository to simplify deployment.

Front-end dev dependencies (for the admin interface) are managed via NPM. The project includes a Gulp setup for compiling CSS from SCSS and bundling JavaScript using Browserify. After installing Node.js and Gulp, run npm install from the project directory to download the required tools. Once the dependencies are installed, you can run gulp to start the development task.

social-feeds-wp's People

Contributors

bengodfrey avatar scottpolhemus avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.