-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
115 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Custom Fields Permalink 2 | ||
|
||
Plugin allows to use post's custom fields values in permalink structure by adding %field_fieldname%, for posts, pages and custom post types. | ||
|
||
--- | ||
|
||
* Contributors: <a href="https://github.com/athlan">athlan</a> | ||
* Plugin url: [http://athlan.pl/wordpres-custom-fields-permalink-plugin/](http://athlan.pl/wordpres-custom-fields-permalink-plugin/) | ||
* Tags: custom fields, permalinks, permalink, url, custom post types, post type, tax, taxonomy, types | ||
* Requires at least: 3.0.0 | ||
* Tested up to: 3.9.1 | ||
* Stable tag: 1.0 | ||
* License: MIT | ||
* License URI: http://opensource.org/licenses/MIT | ||
|
||
## Description | ||
|
||
Plugin allows to use post's custom fields values in permalink structure by adding `%field_fieldname%` rewrite tag. | ||
|
||
Examples: | ||
|
||
* `http://example.com/%field_event_date_from%/%postname%/` | ||
* `http://example.com/post-type/%field_event_date_from%/%postname%/` (with <a href="https://wordpress.org/plugins/custom-post-type-permalinks/">Custom Post Type Permalinks</a> plugin) | ||
|
||
You can also set different permalink structure depending on custom post type using <a href="https://wordpress.org/plugins/custom-post-type-permalinks/">Custom Post Type Permalinks</a> plugin. You can create own post types by using <a href="https://wordpress.org/plugins/custom-post-type-ui/">Custom Post Type UI</a> plugin. | ||
|
||
The plugin works for: | ||
|
||
* posts | ||
* pages | ||
* custom post types | ||
|
||
Plugin is also avaliable on GitHub: | ||
<a href="https://github.com/athlan/wordpress-custom-fields-permalink-plugin">https://github.com/athlan/wordpress-custom-fields-permalink-plugin</a> | ||
|
||
## Installation | ||
|
||
* Download the wordpress-custom-fields-permalink-plugin.zip file to your computer. | ||
* Unzip the file. | ||
* Upload the `wordpress-custom-fields-permalink-plugin` directory to your `/wp-content/plugins/` directory. | ||
* Activate the plugin through the 'Plugins' menu in WordPress. | ||
* Now you can use `%field_fieldname%` tag in Settings -> Permalinks. | ||
|
||
## Changelog | ||
|
||
### 1.0 | ||
* Plugin released. | ||
|
||
## Upgrade Notice | ||
|
||
No upgrade notices. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
=== Custom Fields Permalink 2 === | ||
Contributors: athlan | ||
Donate link: http://athlan.pl/wordpres-custom-fields-permalink-plugin/ | ||
Tags: custom fields, permalinks, permalink, url, custom post types, post type, tax, taxonomy, types | ||
Requires at least: 3.0.0 | ||
Tested up to: 3.9.1 | ||
Stable tag: 1.0 | ||
License: MIT | ||
License URI: http://opensource.org/licenses/MIT | ||
|
||
Plugin allows to use post's custom fields values in permalink structure by adding %field_fieldname%, for posts, pages and custom post types. | ||
|
||
== Description == | ||
|
||
Plugin allows to use post's custom fields values in permalink structure by adding `%field_fieldname%` rewrite tag. | ||
|
||
Examples: | ||
|
||
* `http://example.com/%field_event_date_from%/%postname%/` | ||
* `http://example.com/post-type/%field_event_date_from%/%postname%/` (with <a href="https://wordpress.org/plugins/custom-post-type-permalinks/">Custom Post Type Permalinks</a> plugin) | ||
|
||
You can also set different permalink structure depending on custom post type using <a href="https://wordpress.org/plugins/custom-post-type-permalinks/">Custom Post Type Permalinks</a> plugin. You can create own post types by using <a href="https://wordpress.org/plugins/custom-post-type-ui/">Custom Post Type UI</a> plugin. | ||
|
||
The plugin works for: | ||
|
||
* posts | ||
* pages | ||
* custom post types | ||
|
||
Plugin is also avaliable on GitHub: | ||
<a href="https://github.com/athlan/wordpress-custom-fields-permalink-plugin">https://github.com/athlan/wordpress-custom-fields-permalink-plugin</a> | ||
|
||
== Installation == | ||
|
||
* Download the wordpress-custom-fields-permalink-plugin.zip file to your computer. | ||
* Unzip the file. | ||
* Upload the `wordpress-custom-fields-permalink-plugin` directory to your `/wp-content/plugins/` directory. | ||
* Activate the plugin through the 'Plugins' menu in WordPress. | ||
* Now you can use `%field_fieldname%` tag in Settings -> Permalinks. | ||
|
||
== Frequently Asked Questions == | ||
|
||
= A question that someone might have = | ||
|
||
An answer to that question. | ||
|
||
= What about foo bar? = | ||
|
||
Answer to foo bar dilemma. | ||
|
||
== Screenshots == | ||
|
||
1. Pemralink settings | ||
|
||
== Changelog == | ||
|
||
= 1.0 = | ||
* Plugin released. | ||
|
||
== Upgrade Notice == | ||
|
||
No upgrade notices. |
4 changes: 2 additions & 2 deletions
4
custom-fields-permalink.php → wordpress-custom-fields-permalink-plugin.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters