Version Description
*
Download this release
Release Info
Developer | hidaka.bizplugin |
Plugin | What's New Generator |
Version | 1.11.1 |
Comparing to | |
See all releases |
Code changes from version 1.11.0 to 1.11.1
- readme.txt +5 -2
- whats-new-generator.php +2 -2
- whats-new.css +7 -10
- whatsnew-view.php +3 -3
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== What's New Generator ===
|
2 |
-
Contributors:
|
3 |
Donate link:
|
4 |
Tags: what's new, update Post page
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.11.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -39,6 +39,9 @@ What’s New Generatorは、投稿、固定ページ、ウィジェットに新
|
|
39 |
|
40 |
== Changelog ==
|
41 |
|
|
|
|
|
|
|
42 |
= 1.11.0 =
|
43 |
* 最新記事の件数を1-30まで設定できるようにしました
|
44 |
|
1 |
=== What's New Generator ===
|
2 |
+
Contributors: WP-BizPlugin
|
3 |
Donate link:
|
4 |
Tags: what's new, update Post page
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.11.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
39 |
|
40 |
== Changelog ==
|
41 |
|
42 |
+
= 1.11.1 =
|
43 |
+
* 軽微な不具合を修正しました
|
44 |
+
|
45 |
= 1.11.0 =
|
46 |
* 最新記事の件数を1-30まで設定できるようにしました
|
47 |
|
whats-new-generator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: What's New Generator
|
4 |
Plugin URI: http://residentbird.main.jp/bizplugin/
|
5 |
Description: What's New(新着情報)を指定した固定ページや投稿に自動的に表示するプラグインです。
|
6 |
-
Version: 1.11.
|
7 |
Author:Hideki Tanaka
|
8 |
Author URI: http://residentbird.main.jp/bizplugin/
|
9 |
*/
|
@@ -13,7 +13,7 @@ new WhatsNewPlugin();
|
|
13 |
|
14 |
class WNG
|
15 |
{
|
16 |
-
const VERSION = "1.11.
|
17 |
const SHORTCODE = "showwhatsnew";
|
18 |
const OPTIONS = "whats_new_options";
|
19 |
|
3 |
Plugin Name: What's New Generator
|
4 |
Plugin URI: http://residentbird.main.jp/bizplugin/
|
5 |
Description: What's New(新着情報)を指定した固定ページや投稿に自動的に表示するプラグインです。
|
6 |
+
Version: 1.11.1
|
7 |
Author:Hideki Tanaka
|
8 |
Author URI: http://residentbird.main.jp/bizplugin/
|
9 |
*/
|
13 |
|
14 |
class WNG
|
15 |
{
|
16 |
+
const VERSION = "1.11.1";
|
17 |
const SHORTCODE = "showwhatsnew";
|
18 |
const OPTIONS = "whats_new_options";
|
19 |
|
whats-new.css
CHANGED
@@ -27,14 +27,6 @@ div.wn-head {
|
|
27 |
-webkit-border-top-right-radius: 3px;
|
28 |
border-top-right-radius: 3px;
|
29 |
}
|
30 |
-
div.wn-head .wn-title {
|
31 |
-
font-weight: bold;
|
32 |
-
font-size: 100%;
|
33 |
-
text-align: left;
|
34 |
-
float: left;
|
35 |
-
overflow: hidden;
|
36 |
-
width: auto;
|
37 |
-
}
|
38 |
div.wn-head .wn-postlist {
|
39 |
background: transparent url("./image/list.png") left center no-repeat;
|
40 |
font-weight: normal;
|
@@ -42,7 +34,13 @@ div.wn-head .wn-postlist {
|
|
42 |
text-align: right;
|
43 |
cursor: pointer;
|
44 |
float: right;
|
45 |
-
width:
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
}
|
47 |
|
48 |
div.wn-item {
|
@@ -62,7 +60,6 @@ div.wn-item .wn-date {
|
|
62 |
white-space: nowrap;
|
63 |
}
|
64 |
div.wn-item .wn-article {
|
65 |
-
margin: 0 0 0 8.1em;
|
66 |
padding: 0 2px;
|
67 |
overflow: hidden;
|
68 |
}
|
27 |
-webkit-border-top-right-radius: 3px;
|
28 |
border-top-right-radius: 3px;
|
29 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
div.wn-head .wn-postlist {
|
31 |
background: transparent url("./image/list.png") left center no-repeat;
|
32 |
font-weight: normal;
|
34 |
text-align: right;
|
35 |
cursor: pointer;
|
36 |
float: right;
|
37 |
+
width: 4.2em;
|
38 |
+
}
|
39 |
+
div.wn-head .wn-title {
|
40 |
+
font-weight: bold;
|
41 |
+
font-size: 100%;
|
42 |
+
text-align: left;
|
43 |
+
overflow: hidden;
|
44 |
}
|
45 |
|
46 |
div.wn-item {
|
60 |
white-space: nowrap;
|
61 |
}
|
62 |
div.wn-item .wn-article {
|
|
|
63 |
padding: 0 2px;
|
64 |
overflow: hidden;
|
65 |
}
|
whatsnew-view.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<div class='whatsnew'>
|
2 |
<div class='wn-head'
|
3 |
<?php echo "style='background-color: {$info->background_color}; color : {$info->font_color};'" ; ?>>
|
4 |
-
<div class='wn-title'>
|
5 |
-
<?php echo $info->title; ?>
|
6 |
-
</div>
|
7 |
<?php if (!empty($info->postlist_url)): ?>
|
8 |
<div class='wn-postlist'>
|
9 |
<a href="<?php echo $info->postlist_url; ?>">一覧へ</a>
|
10 |
</div>
|
11 |
<?php endif; ?>
|
|
|
|
|
|
|
12 |
</div>
|
13 |
<?php foreach($info->items as $item): ?>
|
14 |
<div class='wn-item'>
|
1 |
<div class='whatsnew'>
|
2 |
<div class='wn-head'
|
3 |
<?php echo "style='background-color: {$info->background_color}; color : {$info->font_color};'" ; ?>>
|
|
|
|
|
|
|
4 |
<?php if (!empty($info->postlist_url)): ?>
|
5 |
<div class='wn-postlist'>
|
6 |
<a href="<?php echo $info->postlist_url; ?>">一覧へ</a>
|
7 |
</div>
|
8 |
<?php endif; ?>
|
9 |
+
<div class='wn-title'>
|
10 |
+
<?php echo $info->title; ?>
|
11 |
+
</div>
|
12 |
</div>
|
13 |
<?php foreach($info->items as $item): ?>
|
14 |
<div class='wn-item'>
|