Version Description
- Removed unnecessary codes from template files
Download this release
Release Info
Developer | Access Keys |
Plugin | AccessPress Twitter Feed – Twitter Feed for WordPress |
Version | 1.4.8 |
Comparing to | |
See all releases |
Code changes from version 1.4.7 to 1.4.8
accesspress-twitter-feed.php
CHANGED
@@ -4,7 +4,7 @@ defined('ABSPATH') or die('No script kiddies please!');
|
|
4 |
* Plugin Name: AccessPress Twitter Feed
|
5 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-twitter-feed/
|
6 |
* Description: A plugin to show your twitter feed in your site with various configurable settings
|
7 |
-
* Version: 1.4.
|
8 |
* Author: AccessPress Themes
|
9 |
* Author URI: http://accesspressthemes.com
|
10 |
* Text Domain: accesspress-twitter-feed
|
@@ -24,7 +24,7 @@ if (!defined('APTF_CSS_DIR')) {
|
|
24 |
define('APTF_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
|
25 |
}
|
26 |
if (!defined('APTF_VERSION')) {
|
27 |
-
define('APTF_VERSION', '1.4.
|
28 |
}
|
29 |
|
30 |
if (!defined('APTF_TD')) {
|
4 |
* Plugin Name: AccessPress Twitter Feed
|
5 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-twitter-feed/
|
6 |
* Description: A plugin to show your twitter feed in your site with various configurable settings
|
7 |
+
* Version: 1.4.8
|
8 |
* Author: AccessPress Themes
|
9 |
* Author URI: http://accesspressthemes.com
|
10 |
* Text Domain: accesspress-twitter-feed
|
24 |
define('APTF_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
|
25 |
}
|
26 |
if (!defined('APTF_VERSION')) {
|
27 |
+
define('APTF_VERSION', '1.4.8');
|
28 |
}
|
29 |
|
30 |
if (!defined('APTF_TD')) {
|
inc/frontend/templates/slider/template-2.php
CHANGED
@@ -22,16 +22,7 @@
|
|
22 |
if ($tweet->text) {
|
23 |
$the_tweet = ' '.$tweet->text . ' '; //adding an extra space to convert hast tag into links
|
24 |
$the_tweet = $this->makeClickableLinks($the_tweet);
|
25 |
-
|
26 |
-
Twitter Developer Display Requirements
|
27 |
-
https://dev.twitter.com/terms/display-requirements
|
28 |
-
|
29 |
-
2.b. Tweet Entities within the Tweet text must be properly linked to their appropriate home on Twitter. For example:
|
30 |
-
i. User_mentions must link to the mentioned user's profile.
|
31 |
-
ii. Hashtags must link to a twitter.com search with the hashtag as the query.
|
32 |
-
iii. Links in Tweet text must be displayed using the display_url
|
33 |
-
field in the URL entities API response, and link to the original t.co url field.
|
34 |
-
*/
|
35 |
|
36 |
// i. User_mentions must link to the mentioned user's profile.
|
37 |
if (is_array($tweet->entities->user_mentions)) {
|
@@ -48,14 +39,7 @@
|
|
48 |
}
|
49 |
}
|
50 |
|
51 |
-
|
52 |
-
// field in the URL entities API response, and link to the original t.co url field.
|
53 |
-
/* if (is_array($tweet->entities->urls)) {
|
54 |
-
foreach ($tweet->entities->urls as $key => $link) {
|
55 |
-
$the_tweet = preg_replace(
|
56 |
-
'`' . $link->url . '`', '<a href="' . $link->url . '" target="_blank">' . $link->url . '</a>', $the_tweet);
|
57 |
-
}
|
58 |
-
} */
|
59 |
|
60 |
echo $the_tweet . ' ';
|
61 |
?>
|
22 |
if ($tweet->text) {
|
23 |
$the_tweet = ' '.$tweet->text . ' '; //adding an extra space to convert hast tag into links
|
24 |
$the_tweet = $this->makeClickableLinks($the_tweet);
|
25 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
// i. User_mentions must link to the mentioned user's profile.
|
28 |
if (is_array($tweet->entities->user_mentions)) {
|
39 |
}
|
40 |
}
|
41 |
|
42 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
echo $the_tweet . ' ';
|
45 |
?>
|
inc/frontend/templates/slider/template-3.php
CHANGED
@@ -16,16 +16,7 @@
|
|
16 |
if ($tweet->text) {
|
17 |
$the_tweet = ' '.$tweet->text . ' '; //adding an extra space to convert hast tag into links
|
18 |
$the_tweet = $this->makeClickableLinks($the_tweet);
|
19 |
-
|
20 |
-
Twitter Developer Display Requirements
|
21 |
-
https://dev.twitter.com/terms/display-requirements
|
22 |
-
|
23 |
-
2.b. Tweet Entities within the Tweet text must be properly linked to their appropriate home on Twitter. For example:
|
24 |
-
i. User_mentions must link to the mentioned user's profile.
|
25 |
-
ii. Hashtags must link to a twitter.com search with the hashtag as the query.
|
26 |
-
iii. Links in Tweet text must be displayed using the display_url
|
27 |
-
field in the URL entities API response, and link to the original t.co url field.
|
28 |
-
*/
|
29 |
|
30 |
// i. User_mentions must link to the mentioned user's profile.
|
31 |
if (is_array($tweet->entities->user_mentions)) {
|
@@ -42,15 +33,7 @@
|
|
42 |
}
|
43 |
}
|
44 |
|
45 |
-
|
46 |
-
// field in the URL entities API response, and link to the original t.co url field.
|
47 |
-
/* if (is_array($tweet->entities->urls)) {
|
48 |
-
foreach ($tweet->entities->urls as $key => $link) {
|
49 |
-
$the_tweet = preg_replace(
|
50 |
-
'`' . $link->url . '`', '<a href="' . $link->url . '" target="_blank">' . $link->url . '</a>', $the_tweet);
|
51 |
-
}
|
52 |
-
}
|
53 |
-
*/
|
54 |
|
55 |
echo $the_tweet . ' ';
|
56 |
?>
|
16 |
if ($tweet->text) {
|
17 |
$the_tweet = ' '.$tweet->text . ' '; //adding an extra space to convert hast tag into links
|
18 |
$the_tweet = $this->makeClickableLinks($the_tweet);
|
19 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
// i. User_mentions must link to the mentioned user's profile.
|
22 |
if (is_array($tweet->entities->user_mentions)) {
|
33 |
}
|
34 |
}
|
35 |
|
36 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
echo $the_tweet . ' ';
|
39 |
?>
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: Access Keys
|
3 |
Tags: twitter, twitter feeds, twitter slider, twitter feeds slider, twitter plugin, twitter feed plugin, twitter tweets, tweets, twitter tweet plugin, recent tweets widget, recent tweets plugin, recent tweet feeds
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
-
Requires at least:
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -14,6 +14,8 @@ Display real-time Twitter feeds on your website. Update your website visitors wi
|
|
14 |
<strong>AccessPress Twitter Feed</strong> is a FREE Twitter plugin for WordPress. You can use this to display real time Twitter feeds on any where on your webiste by using shortcode or widgets. Display tweets as a feed or in slider. It just takes a few minute to set it up and use. Start strong Twitter integration right on your website and increase your social reach to next level.
|
15 |
|
16 |
|
|
|
|
|
17 |
= Free Features: =
|
18 |
|
19 |
* <strong>Fetch latest tweets from any account</strong>
|
@@ -105,8 +107,11 @@ Once you install the plugin , you can check some general documentation about how
|
|
105 |
|
106 |
|
107 |
== Changelog ==
|
|
|
|
|
|
|
108 |
= 1.4.7 =
|
109 |
-
* Added aptf_date_value filter for date
|
110 |
|
111 |
= 1.4.6 =
|
112 |
* Updated bxslider js
|
2 |
Contributors: Access Keys
|
3 |
Tags: twitter, twitter feeds, twitter slider, twitter feeds slider, twitter plugin, twitter feed plugin, twitter tweets, tweets, twitter tweet plugin, recent tweets widget, recent tweets plugin, recent tweet feeds
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
+
Requires at least: 4.0
|
6 |
+
Tested up to: 4.6
|
7 |
+
Stable tag: 1.4.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
14 |
<strong>AccessPress Twitter Feed</strong> is a FREE Twitter plugin for WordPress. You can use this to display real time Twitter feeds on any where on your webiste by using shortcode or widgets. Display tweets as a feed or in slider. It just takes a few minute to set it up and use. Start strong Twitter integration right on your website and increase your social reach to next level.
|
15 |
|
16 |
|
17 |
+
|
18 |
+
|
19 |
= Free Features: =
|
20 |
|
21 |
* <strong>Fetch latest tweets from any account</strong>
|
107 |
|
108 |
|
109 |
== Changelog ==
|
110 |
+
= 1.4.8 =
|
111 |
+
* Removed unnecessary codes from template files
|
112 |
+
|
113 |
= 1.4.7 =
|
114 |
+
* Added aptf_date_value filter for date formating
|
115 |
|
116 |
= 1.4.6 =
|
117 |
* Updated bxslider js
|