Changeset 1823205
- Timestamp:
- 02/16/2018 06:20:17 AM (8 years ago)
- Location:
- newsplugin
- Files:
-
- 2 edited
- 4 copied
-
tags/1.0.16 (copied) (copied from newsplugin/trunk)
-
tags/1.0.16/news-plugin-widget.php (copied) (copied from newsplugin/trunk/news-plugin-widget.php)
-
tags/1.0.16/news-plugin.php (copied) (copied from newsplugin/trunk/news-plugin.php) (6 diffs)
-
tags/1.0.16/readme.txt (copied) (copied from newsplugin/trunk/readme.txt) (2 diffs)
-
trunk/news-plugin.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
newsplugin/tags/1.0.16/news-plugin.php
r1778367 r1823205 5 5 Description: Create custom newsfeeds for your website. Choose keywords, number of articles and other settings, put the feed wherever you want using widgets or shortcodes, and watch the fresh relevant news headlines appear on your pages (or approve and publish them manually). You can always shape the news right from your website, remove unwanted articles or star the good ones. Thanks for using the NewsPlugin, and we hope you like it. 6 6 Author: newsplugin.com 7 Version: 1.0.1 57 Version: 1.0.16 8 8 Author URI: http://newsplugin.com/ 9 9 */ … … 554 554 $v = $this->get_with_default($style_news, 'newsfeed_title', 'font_family', ''); 555 555 echo '<option value="'.$v.'">'.$v.'</option>'; 556 if($v) { 557 echo '<option value="">Unchanged (theme default)</option>'; 558 } 556 559 foreach( $font_family as $fonts) { 557 560 if($fonts==$v){} … … 579 582 $v = $this->get_with_default($style_news,'article_headline','font_family',''); 580 583 echo '<option value="'.$v.'">'.$v.'</option>'; 584 if($v) { 585 echo '<option value="">Unchanged (theme default)</option>'; 586 } 581 587 foreach( $font_family as $fonts) { 582 588 if($fonts==$v){} … … 604 610 $v = $this->get_with_default($style_news,'article_abstract','font_family',''); 605 611 echo '<option value="'.$v.'">'.$v.'</option>'; 612 if($v) { 613 echo '<option value="">Unchanged (theme default)</option>'; 614 } 606 615 foreach( $font_family as $fonts) { 607 616 if($fonts==$v){} … … 643 652 $v = $this->get_with_default($style_news,'article_date','font_family',''); 644 653 echo '<option value="'.$v.'">'.$v.'</option>'; 654 if($v) { 655 echo '<option value="">Unchanged (theme default)</option>'; 656 } 645 657 foreach( $font_family as $fonts) { 646 658 if($fonts==$v){} … … 681 693 $v = $this->get_with_default($style_news,'article_sources','font_family',''); 682 694 echo '<option value="'.$v.'">'.$v.'</option>'; 695 if($v) { 696 echo '<option value="">Unchanged (theme default)</option>'; 697 } 683 698 foreach( $font_family as $fonts) { 684 699 if($fonts==$v){} -
newsplugin/tags/1.0.16/readme.txt
r1778367 r1823205 4 4 Requires at least: 3.9 5 5 Tested up to: 4.9.1 6 Stable tag: 1.0.1 56 Stable tag: 1.0.16 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 72 72 73 73 == Changelog == 74 75 = 1.0.16 = 76 Release Date: February 16, 2018 77 78 * Added explicit option of no font 74 79 75 80 = 1.0.15 = -
newsplugin/trunk/news-plugin.php
r1778367 r1823205 5 5 Description: Create custom newsfeeds for your website. Choose keywords, number of articles and other settings, put the feed wherever you want using widgets or shortcodes, and watch the fresh relevant news headlines appear on your pages (or approve and publish them manually). You can always shape the news right from your website, remove unwanted articles or star the good ones. Thanks for using the NewsPlugin, and we hope you like it. 6 6 Author: newsplugin.com 7 Version: 1.0.1 57 Version: 1.0.16 8 8 Author URI: http://newsplugin.com/ 9 9 */ … … 554 554 $v = $this->get_with_default($style_news, 'newsfeed_title', 'font_family', ''); 555 555 echo '<option value="'.$v.'">'.$v.'</option>'; 556 if($v) { 557 echo '<option value="">Unchanged (theme default)</option>'; 558 } 556 559 foreach( $font_family as $fonts) { 557 560 if($fonts==$v){} … … 579 582 $v = $this->get_with_default($style_news,'article_headline','font_family',''); 580 583 echo '<option value="'.$v.'">'.$v.'</option>'; 584 if($v) { 585 echo '<option value="">Unchanged (theme default)</option>'; 586 } 581 587 foreach( $font_family as $fonts) { 582 588 if($fonts==$v){} … … 604 610 $v = $this->get_with_default($style_news,'article_abstract','font_family',''); 605 611 echo '<option value="'.$v.'">'.$v.'</option>'; 612 if($v) { 613 echo '<option value="">Unchanged (theme default)</option>'; 614 } 606 615 foreach( $font_family as $fonts) { 607 616 if($fonts==$v){} … … 643 652 $v = $this->get_with_default($style_news,'article_date','font_family',''); 644 653 echo '<option value="'.$v.'">'.$v.'</option>'; 654 if($v) { 655 echo '<option value="">Unchanged (theme default)</option>'; 656 } 645 657 foreach( $font_family as $fonts) { 646 658 if($fonts==$v){} … … 681 693 $v = $this->get_with_default($style_news,'article_sources','font_family',''); 682 694 echo '<option value="'.$v.'">'.$v.'</option>'; 695 if($v) { 696 echo '<option value="">Unchanged (theme default)</option>'; 697 } 683 698 foreach( $font_family as $fonts) { 684 699 if($fonts==$v){} -
newsplugin/trunk/readme.txt
r1778367 r1823205 4 4 Requires at least: 3.9 5 5 Tested up to: 4.9.1 6 Stable tag: 1.0.1 56 Stable tag: 1.0.16 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 72 72 73 73 == Changelog == 74 75 = 1.0.16 = 76 Release Date: February 16, 2018 77 78 * Added explicit option of no font 74 79 75 80 = 1.0.15 =
Note: See TracChangeset
for help on using the changeset viewer.