Plugin Directory

Custom Fields Permalink

This plugin enable to make a permalink from custom field's value.

Usage

Custom permalink tags:

  • %cfp_a_customfield_name%
  • %cfp_a_customfield_name_or_page_id%
  • %cfp_a_customfield_name_or_pagename%

"a_customfield_name" can be replaced with an arbitrary field name.

Examples:

When a specification is as follows.

  • /%cfp_a_customfield_name%

    a entry has custom fields named "a_customfield_name":

    /a_value_of_customfield (a value of "a_customfield_name")

    a entry has not custom fields named "a_customfield_name":

    error!

When a specification is as follows.

  • /%cfp_a_customfield_name_or_page_id%

    a entry has custom fields named "a_customfield_name":

    /a_value_of_customfield (a value of "a_customfield_name")

    a entry has not custom fields named "a_customfield_name":

    /1 (page_id)

When a specification is as follows

  • /%cfp_a_customfield_name_or_pagename%

    a entry has custom fields named "a_customfield_name":

    /a_value_of_customfield (a value of "a_customfield_name")

    a entry has not custom fields named "a_customfield_name":

    /as_page_title (pagename)

Requires: 2.6 or higher
Compatible up to: 0.1.0.1
Last Updated: 2011-4-30
Downloads: 2,323

Average Rating

4 stars
(4 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
1 person says it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
0,1,0