https://github.com/ubc/feed-shortcode
feed-shortcode
https://github.com/ubc/feed-shortcode
Last synced: 4 months ago
JSON representation
feed-shortcode
- Host: GitHub
- URL: https://github.com/ubc/feed-shortcode
- Owner: ubc
- Created: 2012-11-28T21:44:09.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T23:19:10.000Z (about 1 year ago)
- Last Synced: 2025-04-05T19:34:12.606Z (7 months ago)
- Language: PHP
- Size: 74.2 KB
- Stars: 1
- Watchers: 16
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
=== Feed Shortcode ===
Contributors: michaelha, ctlt-dev
Tags:
Requires at least: 3.4
Tested up to: 3.4
Stable tag: 1.0.1
==== Unit Test ====
Import unit-test.xml on your development server to test the shortcode
= Change Log =
Added month and year parameters so users can now specify which month and year to display. Does not work with UBC Events feeds.
Examples:
[feed url="https://mednet.med.ubc.ca/_layouts/listfeed.aspx?List=0c3c99dc-49a7-40b2-884b-19a7fb5d0a9c&View=22cfbe51-46cf-41c1-a561-a8b6b48933cb" view="cal" month="2" year="2016"]
[feed url="https://mednet.med.ubc.ca/_layouts/listfeed.aspx?List=0c3c99dc-49a7-40b2-884b-19a7fb5d0a9c&View=22cfbe51-46cf-41c1-a561-a8b6b48933cb" view="cal" month="feb" year="2015"]
[feed url="https://mednet.med.ubc.ca/_layouts/listfeed.aspx?List=0c3c99dc-49a7-40b2-884b-19a7fb5d0a9c&View=22cfbe51-46cf-41c1-a561-a8b6b48933cb" view="cal" month="February"]
* Added the twitter shortcode that displays the tweets in easter a slider or list format.
Examples :
[twitter secret="" key="" user="enej" view="slider"]
[twitter secret="" key="" search="enej" view="list"] list view is the default view
Key and Secret can be obtained by going to https://dev.twitter.com/apps, login in and creating a new application