Commit c06c7306 authored by Erick Hitter's avatar Erick Hitter

Grunt tasks

parent 786b5da0
Pipeline #805 passed with stages
in 2 minutes and 33 seconds
......@@ -9,7 +9,7 @@ module.exports = function( grunt ) {
addtextdomain: {
options: {
textdomain: 'external_permalinks_redux',
textdomain: 'external-permalinks-redux',
},
update_all_domains: {
options: {
......
# External Permalinks Redux #
**Contributors:** ethitter, thinkoomph
**Donate link:** http://www.thinkoomph.com/plugins-modules/external-permalinks-redux/
**Tags:** link, redirect, external link, permalink
**Requires at least:** 3.0
**Tested up to:** 5.2
**Stable tag:** 1.1
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
Allows you to point WordPress objects (posts, pages, custom post types) to a URL of your choosing.
## Description ##
Allows users to point WordPress objects (posts, pages, custom post types) to a URL of their choosing, which is particularly useful for injecting non-WordPress content into loops. The object appears normally in any loop output, but visitors to the object will be redirected to the specified URL. The plugin also allows you to choose the type of redirect, either temporary (302), or permanent (301).
Through a filter, the External Permalinks Redux meta box can easily be added to custom post types. There is also a function available for use with WordPress' `add_meta_box` function.
This plugin was originally written for use on WordPress.com VIP. It is inspired by and backwards-compatible with Mark Jaquith's Page Links To plugin, meaning users can switch between plugins without risk of losing any existing external links.
This plugin is translation-ready.
## Installation ##
1. Upload external-permalinks-redux.php to /wp-content/plugins/.
2. Activate plugin through the WordPress Plugins menu.
## Frequently Asked Questions ##
### How can I add support for my custom post type? ###
Using the `epr_post_types` filter, one can modify the default array of object types (`post` and `page`) to include additional custom post types or remove the plugin from one of the default post types.
### What other filters does this plugin include? ###
* `epr_meta_key_target` - modify the meta key associated with the external URL
* `epr_meta_key_type` - modify the meta key associated with the redirect type
* `epr_status_codes` - modify array of available status codes used when redirect is issued
## Changelog ##
### 1.1 ###
* Introduce a filter to change the metabox title for clarity. Does break translation for that string if used.
* Add additional HTML classes in the metabox to aid customization.
* Coding standards and PHPDoc cleanup.
### 1.0.4 ###
* Implement singleton pattern for instantiation. Thanks batmoo.
### 1.0.3 ###
* Increase priority of `init` action to ensure that the filters it contains are available to other plugins. Thanks batmoo.
### 1.0.2 ###
* Add status codes filter. Thanks [danielbachhuber](http://wordpress.org/support/topic/plugin-external-permalinks-redux-support-custom-status-codes).
* Correct translation string implementation, removing variable name.
* Miscellaneous cleanup, such as whitespace removal.
### 1.0.1 ###
* Add shortcut function for registering meta box on custom post types. This is included as an alternative to the `epr_post_types` filter discussed in the FAQ.
### 1.0 ###
* Initial release in WordPress.org repository.
* Rewrote original WordPress.com VIP plugin into a class and added support for custom post types.
## Upgrade Notice ##
### 1.0.4 ###
Implements singleton pattern for instantiation. No functional changes are included in this release.
### 1.0.3 ###
Ensures that filters are available to plugins and themes. Recommended for anyone trying to hook to those filters.
# Copyright (C) 2019 Erick Hitter & Oomph, Inc.
# This file is distributed under the same license as the External Permalinks Redux package.
msgid ""
msgstr ""
"Project-Id-Version: External Permalinks Redux 1.1\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/external-permalinks-redux\n"
"POT-Creation-Date: 2019-04-14 05:26:23+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"X-Generator: grunt-wp-i18n 0.5.4\n"
"X-Poedit-KeywordsList: "
"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-Country: United States\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-Basepath: ../\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-Bookmarks: \n"
"X-Textdomain-Support: yes\n"
#: external-permalinks-redux.php:77
msgid "Temporary (302)"
msgstr ""
#: external-permalinks-redux.php:78
msgid "Permanent (301)"
msgstr ""
#. Plugin Name of the plugin/theme
msgid "External Permalinks Redux"
msgstr ""
#: external-permalinks-redux.php:127
msgid "Destination Address:"
msgstr ""
#: external-permalinks-redux.php:131
msgid "To restore the original permalink, remove the link entered above."
msgstr ""
#: external-permalinks-redux.php:136
msgid "Redirect Type:"
msgstr ""
#: external-permalinks-redux.php:138
msgid "-- Select --"
msgstr ""
#. Plugin URI of the plugin/theme
msgid "http://www.thinkoomph.com/plugins-modules/external-permalinks-redux/"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Allows users to point WordPress objects (posts, pages, custom post types) "
"to a URL of your choosing. Inspired by and backwards-compatible with <a "
"href=\"http://txfx.net/wordpress-plugins/page-links-to/\">Page Links To</a> "
"by Mark Jaquith. Written for use on WordPress.com VIP."
msgstr ""
#. Author of the plugin/theme
msgid "Erick Hitter & Oomph, Inc."
msgstr ""
#. Author URI of the plugin/theme
msgid "http://www.thinkoomph.com/"
msgstr ""
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment