Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
A
Automatically Paginate Posts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WP Plugins
Automatically Paginate Posts
Commits
525498c3
Commit
525498c3
authored
Jun 03, 2012
by
Erick Hitter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure metabox appears on all supported posts types. Fixes
#3
.
parent
6eb90f6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
automatically-paginate-posts.php
automatically-paginate-posts.php
+3
-1
No files found.
automatically-paginate-posts.php
View file @
525498c3
...
...
@@ -59,7 +59,9 @@ class Automatically_Paginate_Posts {
* @return null
*/
function
action_add_meta_boxes
()
{
add_meta_box
(
'autopaging'
,
'Post Autopaging'
,
array
(
$this
,
'meta_box_autopaging'
),
'post'
,
'side'
);
foreach
(
$this
->
post_types
as
$post_type
)
{
add_meta_box
(
'autopaging'
,
'Post Autopaging'
,
array
(
$this
,
'meta_box_autopaging'
),
$post_type
,
'side'
);
}
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment