誤植.JPの表示不具合解決
投稿日 : 2013年4月2日 |
カテゴリー :
日報
お悔やみ.com 記事5件投稿
誤植.JPで各ページでパンくずリストの中のカテゴリが表示されない問題を解決。
投稿画面では表示されていることに気づき、投稿画面のパンくずリスト部分を表示されていない画面のパンくずリストに入れ替える。
<{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}>
<a href=”<{$mod_url}>/index.php?cat_id=<{$parent_id}>”><{$parent_title_raw|escape}></a>
>
<{/foreach}>
具体的にはこの部分を
<a href=”<{$mod_url}>/index.php?cat_id=<{$category.id}>”><{$category.title}></a>
>
とした感じ。
たぶん、カテゴリが階層になっている場合に複数表示させる書式を現在のカテゴリのみ表示させるように変えたことになっていると思う。
このサイトではカテゴリが一層なので問題ないと判断したもの。
これで表示のおかしな部分はなくなっただろうか。
Fatal error: Uncaught Error: Call to undefined function spliti() in /home/users/0/digitalsphere/web/digitalsphere.info/wp-content/themes/biz-vektor/inc/theme-options.php:635
Stack trace:
#0 /home/users/0/digitalsphere/web/digitalsphere.info/wp-content/themes/biz-vektor/single.php(41): biz_vektor_snsBtns()
#1 /home/users/0/digitalsphere/web/digitalsphere.info/wp-includes/template-loader.php(74): include('/home/users/0/d...')
#2 /home/users/0/digitalsphere/web/digitalsphere.info/wp-blog-header.php(16): require_once('/home/users/0/d...')
#3 /home/users/0/digitalsphere/web/digitalsphere.info/index.php(17): require('/home/users/0/d...')
#4 {main}
thrown in
/home/users/0/digitalsphere/web/digitalsphere.info/wp-content/themes/biz-vektor/inc/theme-options.php on line
635