Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
External Permalinks Redux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WP Plugins
External Permalinks Redux
Commits
1caa8cd9
Commit
1caa8cd9
authored
11 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Introduce additional classes on tags that wrap main elements in metabox
parent
71b2207b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
external-permalinks-redux.php
+3
-3
3 additions, 3 deletions
external-permalinks-redux.php
with
3 additions
and
3 deletions
external-permalinks-redux.php
+
3
−
3
View file @
1caa8cd9
...
@@ -107,16 +107,16 @@ class external_permalinks_redux {
...
@@ -107,16 +107,16 @@ class external_permalinks_redux {
function
meta_box
(
$post
)
{
function
meta_box
(
$post
)
{
$type
=
get_post_meta
(
$post
->
ID
,
$this
->
meta_key_type
,
true
);
$type
=
get_post_meta
(
$post
->
ID
,
$this
->
meta_key_type
,
true
);
?>
?>
<p>
<p
class=
"epr-destination"
>
<label
for=
"epr-url"
>
<?php
_e
(
'Destination Address:'
,
'external-permalinks-redux'
);
?>
</label><br
/>
<label
for=
"epr-url"
>
<?php
_e
(
'Destination Address:'
,
'external-permalinks-redux'
);
?>
</label><br
/>
<input
name=
"
<?php
echo
$this
->
meta_key_target
;
?>
_url"
class=
"large-text code"
id=
"epr-url"
type=
"text"
value=
"
<?php
echo
esc_url
(
get_post_meta
(
$post
->
ID
,
$this
->
meta_key_target
,
true
)
);
?>
"
/>
<input
name=
"
<?php
echo
$this
->
meta_key_target
;
?>
_url"
class=
"large-text code"
id=
"epr-url"
type=
"text"
value=
"
<?php
echo
esc_url
(
get_post_meta
(
$post
->
ID
,
$this
->
meta_key_target
,
true
)
);
?>
"
/>
</p>
</p>
<p
class=
"description"
>
<?php
_e
(
'To restore the original permalink, remove the link entered above.'
,
'external-permalinks-redux'
);
?>
</p>
<p
class=
"description"
>
<?php
_e
(
'To restore the original permalink, remove the link entered above.'
,
'external-permalinks-redux'
);
?>
</p>
<p>
</p>
<p
class=
"epr-separator"
>
</p>
<p>
<p
class=
"epr-redirect-type"
>
<label
for=
"epr-type"
>
<?php
_e
(
'Redirect Type:'
,
'external-permalinks-redux'
);
?>
</label>
<label
for=
"epr-type"
>
<?php
_e
(
'Redirect Type:'
,
'external-permalinks-redux'
);
?>
</label>
<select
name=
"
<?php
echo
$this
->
meta_key_target
;
?>
_type"
id=
"epr-type"
>
<select
name=
"
<?php
echo
$this
->
meta_key_target
;
?>
_type"
id=
"epr-type"
>
<option
value=
""
>
<?php
_e
(
'-- Select --'
,
'external-permalinks-redux'
);
?>
</option>
<option
value=
""
>
<?php
_e
(
'-- Select --'
,
'external-permalinks-redux'
);
?>
</option>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment