سرجمیں
The ‘Concat Parent Page Slugs’ add template file loading rule for ‘Pages’.
When loading the template of the child page, preferentially loading the template file that concatenated parent page slugs.
For example, create a page with slug ‘foo’, ‘bar’.
‘foo’ is the parent, ‘bar’ is the child.
Normally the template file for slug ‘bar’ will be ‘page-bar.php’, using this plugin adds parent slugs to child slug, like ‘page-foo.bar.php’.
Of course it is also possible to change the delimiter to ‘page-foo_bar.php’.
Sample.
[slug] : [template]
company : page-company.php
|- info : page-company.info.php
|- access : page-company.access.php
|- map : page-company.access.map.php
product : page-product.php
|- info : page-product.info.php
Concat Parent Page Slugs は、固定ページのテンプレートファイル読み込みルールを追加します。
子ページのテンプレートファイルを読み込む場合に、親ページのスラッグを連結したテンプレートファイルを優先的に読み込むようになります。
例えば、foo と bar というスラッグで固定ページを作成したと仮定します。 fooが親 で barが子 です。
通常であればスラッグ bar のテンプレートファイルは page-bar.php になりますが、このプラグインを使用すると親のスラッグが追加された page-foo.bar.php を読み込むようになります。
もちろん区切り文字を変更して page-foo_bar.php のようにすることも可能です。
انسٹالیشن
- Upload the plugin files to the
/wp-content/plugins/concat-parent-page-slugsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the
Settings->Concat Parent Page Slugsscreen to configure the plugin
جُست ءُ پُرس
- Installation Instructions
-
- Upload the plugin files to the
/wp-content/plugins/concat-parent-page-slugsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the
Settings->Concat Parent Page Slugsscreen to configure the plugin
- Upload the plugin files to the
جائزہ
اے پلگ ان ئے ہچ جائزہ نیستیں
کمک کنوک & دیمروئی کنوک
“Concat Parent Page Slugs” اوپن سورس سافٹ ویئر اِنت۔ اے پلگ ان ءِ تہا رند ءِ مردماں وتی کرد پیلو کتگ۔
کمک کار“Concat Parent Page Slugs” ءَ وتی زبان ءَ رجانک کن اِت۔
دیمروئی ءِ تہا دلچسپی داریت؟
کڈ ءَ براؤز کن اِت، SVN ءِ ذخیرہ ءَ بچار اِت، یا دیمروئی ءِ لاگ ءَ RSS ءِ وسیلہ ءَ سبسکرائب بہ کن اِت۔
چینج لاگ
0.5.1
- Delete unnecessary files.
0.5.0
- Initial release.

