Skip to content

Commit be5e310

Browse files
committed
Merge branch 'feature-readme'
2 parents 4c15892 + e67b74c commit be5e310

File tree

4 files changed

+115
-2
lines changed

4 files changed

+115
-2
lines changed

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Custom Fields Permalink 2
2+
3+
Plugin allows to use post's custom fields values in permalink structure by adding %field_fieldname%, for posts, pages and custom post types.
4+
5+
---
6+
7+
* Contributors: <a href="https://github.com/athlan">athlan</a>
8+
* Plugin url: [http://athlan.pl/wordpres-custom-fields-permalink-plugin/](http://athlan.pl/wordpres-custom-fields-permalink-plugin/)
9+
* Tags: custom fields, permalinks, permalink, url, custom post types, post type, tax, taxonomy, types
10+
* Requires at least: 3.0.0
11+
* Tested up to: 3.9.1
12+
* Stable tag: 1.0
13+
* License: MIT
14+
* License URI: http://opensource.org/licenses/MIT
15+
16+
## Description
17+
18+
Plugin allows to use post's custom fields values in permalink structure by adding `%field_fieldname%` rewrite tag.
19+
20+
Examples:
21+
22+
* `http://example.com/%field_event_date_from%/%postname%/`
23+
* `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)
24+
25+
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.
26+
27+
The plugin works for:
28+
29+
* posts
30+
* pages
31+
* custom post types
32+
33+
Plugin is also avaliable on GitHub:
34+
<a href="https://github.com/athlan/wordpress-custom-fields-permalink-plugin">https://github.com/athlan/wordpress-custom-fields-permalink-plugin</a>
35+
36+
## Installation
37+
38+
* Download the wordpress-custom-fields-permalink-plugin.zip file to your computer.
39+
* Unzip the file.
40+
* Upload the `wordpress-custom-fields-permalink-plugin` directory to your `/wp-content/plugins/` directory.
41+
* Activate the plugin through the 'Plugins' menu in WordPress.
42+
* Now you can use `%field_fieldname%` tag in Settings -> Permalinks.
43+
44+
## Changelog
45+
46+
### 1.0
47+
* Plugin released.
48+
49+
## Upgrade Notice
50+
51+
No upgrade notices.

assets/screenshot-1.png

30.7 KB
Loading

readme.txt

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
=== Custom Fields Permalink 2 ===
2+
Contributors: athlan
3+
Donate link: http://athlan.pl/wordpres-custom-fields-permalink-plugin/
4+
Tags: custom fields, permalinks, permalink, url, custom post types, post type, tax, taxonomy, types
5+
Requires at least: 3.0.0
6+
Tested up to: 3.9.1
7+
Stable tag: 1.0
8+
License: MIT
9+
License URI: http://opensource.org/licenses/MIT
10+
11+
Plugin allows to use post's custom fields values in permalink structure by adding %field_fieldname%, for posts, pages and custom post types.
12+
13+
== Description ==
14+
15+
Plugin allows to use post's custom fields values in permalink structure by adding `%field_fieldname%` rewrite tag.
16+
17+
Examples:
18+
19+
* `http://example.com/%field_event_date_from%/%postname%/`
20+
* `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)
21+
22+
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.
23+
24+
The plugin works for:
25+
26+
* posts
27+
* pages
28+
* custom post types
29+
30+
Plugin is also avaliable on GitHub:
31+
<a href="https://github.com/athlan/wordpress-custom-fields-permalink-plugin">https://github.com/athlan/wordpress-custom-fields-permalink-plugin</a>
32+
33+
== Installation ==
34+
35+
* Download the wordpress-custom-fields-permalink-plugin.zip file to your computer.
36+
* Unzip the file.
37+
* Upload the `wordpress-custom-fields-permalink-plugin` directory to your `/wp-content/plugins/` directory.
38+
* Activate the plugin through the 'Plugins' menu in WordPress.
39+
* Now you can use `%field_fieldname%` tag in Settings -> Permalinks.
40+
41+
== Frequently Asked Questions ==
42+
43+
= A question that someone might have =
44+
45+
An answer to that question.
46+
47+
= What about foo bar? =
48+
49+
Answer to foo bar dilemma.
50+
51+
== Screenshots ==
52+
53+
1. Pemralink settings
54+
55+
== Changelog ==
56+
57+
= 1.0 =
58+
* Plugin released.
59+
60+
== Upgrade Notice ==
61+
62+
No upgrade notices.

custom-fields-permalink.php renamed to wordpress-custom-fields-permalink-plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/*
33
Plugin Name: Custom Fields Permalink 2
4-
Plugin URI: http://athlan.pl/custom-fields-permalink
5-
Description: This plugin enable to make a permalink from custom field's value.
4+
Plugin URI: http://athlan.pl/wordpress-custom-fields-permalink-plugin
5+
Description: Plugin allows to use post's custom fields values in permalink structure by adding %field_fieldname%, for posts, pages and custom post types.
66
Author: Piotr Pelczar
77
Version: 2.0
88
Author URI: http://athlan.pl/

0 commit comments

Comments
 (0)