Title: Concat Parent Page Slugs
Author: nashiko
Published: <strong>October 27, 2017</strong>
Last modified: October 27, 2017

---

Search plugins

![](https://ps.w.org/concat-parent-page-slugs/assets/banner-772x250.jpg?rev=1753656)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/concat-parent-page-slugs/assets/icon-256x256.jpg?rev=1753656)

# Concat Parent Page Slugs

 By [nashiko](https://profiles.wordpress.org/nashiko/)

[Download](https://downloads.wordpress.org/plugin/concat-parent-page-slugs.0.5.1.zip)

 * [Details](https://wordpress.org/plugins/concat-parent-page-slugs/#description)
 * [Reviews](https://wordpress.org/plugins/concat-parent-page-slugs/#reviews)
 *  [Installation](https://wordpress.org/plugins/concat-parent-page-slugs/#installation)
 * [Development](https://wordpress.org/plugins/concat-parent-page-slugs/#developers)

 [Support](https://wordpress.org/support/plugin/concat-parent-page-slugs/)

## Description

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 のようにすることも可能です。

## Screenshots

[⌊screenshot-1.png⌉⌊screenshot-1.png⌉[

screenshot-1.png

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/concat-parent-page-slugs` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the `Settings->Concat Parent Page Slugs` screen to configure the plugin

## FAQ

  Installation Instructions

 1. Upload the plugin files to the `/wp-content/plugins/concat-parent-page-slugs` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the `Settings->Concat Parent Page Slugs` screen to configure the plugin

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Concat Parent Page Slugs” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ nashiko ](https://profiles.wordpress.org/nashiko/)

[Translate “Concat Parent Page Slugs” into your language.](https://translate.wordpress.org/projects/wp-plugins/concat-parent-page-slugs)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/concat-parent-page-slugs/),
check out the [SVN repository](https://plugins.svn.wordpress.org/concat-parent-page-slugs/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/concat-parent-page-slugs/)
by [RSS](https://plugins.trac.wordpress.org/log/concat-parent-page-slugs/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.5.1

 * Delete unnecessary files.

#### 0.5.0

 * Initial release.

## Meta

 *  Version **0.5.1**
 *  Last updated **9 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **4.8.28**
 * Tags
 * [concat](https://wordpress.org/plugins/tags/concat/)[hierarchy](https://wordpress.org/plugins/tags/hierarchy/)
   [page](https://wordpress.org/plugins/tags/page/)[Parent](https://wordpress.org/plugins/tags/parent/)
   [single](https://wordpress.org/plugins/tags/single/)
 *  [Advanced View](https://wordpress.org/plugins/concat-parent-page-slugs/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/concat-parent-page-slugs/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/concat-parent-page-slugs/reviews/)

## Contributors

 *   [ nashiko ](https://profiles.wordpress.org/nashiko/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/concat-parent-page-slugs/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.amazon.co.jp/gp/registry/wishlist/33D4HIJ4X945K/)