Code Monkey home page Code Monkey logo

wp-twitter's Introduction

WP Twitter

Twitter plugin that uses Twitter API, cron job and shortcodes.

Description

This is bare bones at the moment. But it works. Once you've activated plugin you can input your twitter api key etc and set a cron job for updating the feed.

Use [xtweets] shortcode for displaying tweets.

At the minute shortcode only accepts 1 argument; number of tweets. Default is 4.

e.g.

[xtweets count=2]

You can edit mark-up output for tweets by copying public/partials/templates/xtweets--single.php to your-theme/xtweets/xtweets--single.php

There is no styling to date. This was always meant to be a companion to developers to quickly add a custom twitter feed to projects. I plan to add basic styling soon. Although there will be an option to disable.

Installing

This section describes how to install the plugin and get it working.

  1. Upload this folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Add access token, token secret, consumer key and consumer secret via Settings -> Twitter
  4. Set cron job (this is how often feed is updated, results are cached in tweets.json file)
  5. Place [xtweets] shortcode in your templates

FAQs

Coming soon

Screenshots

Comming soon

Changelog

  • 1.0.0 - Basic functionality in place and ready to launch
  • 1.0.1 - Tweet caching now runs on initial settings save

wp-twitter's People

Contributors

mrcarllister avatar differentlister avatar

Watchers

James Cloos 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.