Enough info

WordPress theme Enough

この画面は、簡易表示です

Enough 0.23 レビュー審査依頼しました

Enough 0.23をレビュー審査に提出しました。

今回は、コメントリンクが有効に働いていなかったバグの修正

見た目の、変更を含みます。

ver 0.22の見た目を維持したい場合は、以下のように、カスタマイズしてください

style.css

変更前

 /*
 Theme Name: Enough
 Theme URI: https://www.tenman.info/wp3/enough/
 Description: Default template is only index.php and comments.php. Responsive theme. Enough is simple but if you can add a template and template part file whenever if you want. IE browser ? , Yes Responsive.
 Author: Tenman
 Author URI: https://www.tenman.info/wp3/
 Version: 0.23
 Tags:white,two-columns,custom-colors, custom-header, custom-background, custom-menu, editor-style, threaded-comments, sticky-post
 License: GNU General Public License v2.0
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 */

@import url("css/normalize.css");
@import url("css/articles.css");
@import url("css/comment.css");
@import url("css/ua.css");
@import url("css/colors.css");
@import url("css/base.css");
@import url("css/layout-fluid.css");
@import url("css/skin-example.css");

以下のように修正していただければ、ヘッダー画像以外は、ver.2.2の表示になります。

変更後

 /*
 Theme Name: Enough
 Theme URI: https://www.tenman.info/wp3/enough/
 Description: Default template is only index.php and comments.php. Responsive theme. Enough is simple but if you can add a template and template part file whenever if you want. IE browser ? , Yes Responsive.
 Author: Tenman
 Author URI: https://www.tenman.info/wp3/
 Version: 0.23
 Tags:white,two-columns,custom-colors, custom-header, custom-background, custom-menu, editor-style, threaded-comments, sticky-post
 License: GNU General Public License v2.0
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 */

@import url("css/normalize.css");
@import url("css/articles.css");
@import url("css/comment.css");
@import url("css/ua.css");
@import url("css/colors.css");
@import url("css/base.css");
@import url("css/layout-fluid.css");
/*@import url("css/skin-example.css");*/


bug report

コメントリンクの動作が正常に動作しないバグがありましたので、

修正方法を説明します

comments.phpを開いてください

htmlコードは以下のようになっています

<?php
 /**
 * Comments template file for WordPress theme Enough
 *
 *
 * License: GNU General Public License v2.0
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * @package Enough
 */
?>
<ul class="wp-list-comments"><?php wp_list_comments(); ?></ul>
<br class="clear vspacer-3" />
<div class="pagenate-comment-links">
<?php paginate_comments_links();?>
</div>
<?php comment_form();?>

以下のように、div要素を追加してください

<?php
 /**
 * Comments template file for WordPress theme Enough
 *
 *
 * License: GNU General Public License v2.0
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * @package Enough
 */
?>
<div id="comments">
<ul class="wp-list-comments"><?php wp_list_comments(); ?></ul>
<br class="clear vspacer-3" />
<div class="pagenate-comment-links">
<?php paginate_comments_links();?>
</div>
<?php comment_form();?>
</div>

このバグは、次回 ver 0.23 で修正予定です



bug report

PHP5.3以上をお使いの環境で、enoughテーマを使った場合で、エラーを表示する設定になっている場合、エラーが表示される事があります。

その場合、以下のURLから、対策用の、functions.php のコードを入手する事が出来ますので、ご利用ください

functions.phpの修正コード

さらに、0.21では、メニューが正常に動作しない不具合もあります。

上記のURLのコードを利用していただく事で、メニューも利用できるようになります。



このバグを修正した ver0.22は遅くても、今週中にレビュー審査に提出する予定です。



WordPress Enough Theme

Preview

Download WordPress theme directory

Download Github

index.phpとcomments.phpだけで構成したレスポンシブな公式テーマファイル

テーマの構成を理解しやすいので、カスタマイズも容易です

  • 水平に並んだメインメニューは、右端に行くと、左側にポップアップします
  • ブラウザのWindowサイズにとことん追従します
  • header.phpやfooter.phpやsidebar.phpも、テーマディレクトリに置くだけで、自動的にロードします
  • ブラウザを検知して、自動的にクラスを設定します
  • Window サイズを検知して、自動的にクラスを設定します
  • WordPress カスタムヘッダーサポート
  • WordPress カスタム背景サポート
  • もちろん ウィジェットも使える 意外と筋肉質なテーマでもあります
  • WordPress カスタムメニュー (ver 0.22 or later)

デザインがしゃしゃり出ないで、コンテンツをそのまま、伝える

探し出すのが困難なほど、シンプル



bug report ver 0.2

バグがありましたので、ご報告します

functions.php

124行目 function enough_theme_setup()に不具合がありました

if( !function_exists( 'enough_theme_setup' ) ){
 function enough_theme_setup(){
 register_nav_menus( $enough_register_nav_menus_args );
 register_sidebar( $enough_sidebar_args );
 add_theme_support( 'automatic-feed-links' );
 add_theme_support( 'post-thumbnails' );

お手数ですが、以下のように変更していただけますようお願いします。


if( !function_exists( 'enough_theme_setup' ) ){
 function enough_theme_setup(){
 global $enough_sidebar_args, $enough_register_nav_menus_args;
 register_nav_menus( $enough_register_nav_menus_args );
 register_sidebar( $enough_sidebar_args );
 add_theme_support( 'automatic-feed-links' );
 add_theme_support( 'post-thumbnails' );

現在Fixしたver0.21をレビュー審査提出中です




top