-
General
-
- How to Find the Latest Versions of PublishPress Plugins
- Changelogs for Free PublishPress Plugins
- Changelogs for PublishPress Authors
- Changelogs for PublishPress Blocks
- Changelogs for PublishPress Capabilities
- Changelogs for PublishPress Checklists
- Changelogs for PublishPress Future
- Changelogs for PublishPress Permissions
- Changelogs for PublishPress
- Changelogs for PublishPress Revisions
- Changelogs for PublishPress Series
- Changelogs for the PublishPress Theme
-
PublishPress Authors
-
PublishPress Blocks
-
- Advanced Accordion Block
- Advanced Button Block
- Advanced Icon Block
- Advanced Image Block
- Advanced List Block
- Advanced Table Block
- Advanced Tabs Block
- Advanced Video Block
- Columns Manager Block
- Content Display Block
- Contact Form Block
- Countdown Block
- Count Up Block
- Images Slider Block
- Info Box Block
- Login / Register Form Block
- Map Block
- Newsletter Block
- Search Bar Block
- Social Links Block
- Summary Block
- Testimonial Block
- Woo Products Block
- Feature List block
- Pricing Table block
- Core Blocks
-
PublishPress Capabilities
-
- The Admin Menus Screen
- Control Access to WooCommerce Admin Menus
- Control Access to Contact Form 7 Admin Menus
- Control Access to Yoast SEO Admin Menus
- Control Access to Elementor Admin Menus
- Control Access to Jetpack Admin Menus
- Control Access to WPForms Admin Menus
- Control Access to The Events Calendar Admin Menus
- Control Access to Gravity Forms Admin Menus
-
PublishPress Checklists
-
- Number of characters in title
- Numbers of words in content
- Number of categories
- Number of tags or taxonomy terms
- Number of characters in excerpt
- Number of internal links in content
- Number of external links in content
- All links use a valid format
- ALT Text for all images
- Featured image
- Latin characters in permalink
- Approved by a user in this role
- Yoast SEO tasks
- WooCommerce product tasks
- Featured image height and width
-
PublishPress Future
- Introduction to PublishPress Future
- Ways to Expire Posts
- Defaults for Post Types
- PublishPress Future Email Notifications
- Shortcodes to Show Expiration Date
- Automatic Footer Display for Expiry Dates
- Scheduling in PublishPress Future: Cron Jobs
- Technical Details for PublishPress Future
- Troubleshooting in PublishPress Future
-
PublishPress
-
- Getting Started With Notifications in PublishPress
- Understanding the PublishPress Notification Options
- Get PublishPress Notifications by Email or Slack
- How to Customize PublishPress Notifications With Shortcodes
- How to Use Reminder Notifications
- Notify Me: How to Manually Add Yourself to Notifications
- The PublishPress Notifications Log
- Hooks and Filters for Notifications
- Troubleshooting Email Notifications in PublishPress
-
PublishPress Permissions
-
- Control Access to Custom Post Types
- Control Viewing Access to Specific Categories
- Allow Editing of Specific Pages
- Force Users to Create Posts in a Category or Parent Page
- Block Users from Seeing Non-Editable Posts
- Control Viewing Permissions for WordPress Content
- Control Editing Permissions for WordPress Content
- Block Access to WordPress Category and Tag Archives
- Configure Who Can See Other People's Posts
-
- Developer Information for Permission Groups
- PublishPress Permissions Database Tables and Settings
- pp_create_group()
- pp_delete_group()
- pp_get_group()
- pp_get_group_by_name()
- pp_get_metagroup
- pp_get_groups()
- pp_get_group_members()
- pp_get_groups_for_user()
- pp_add_group_user()
- pp_remove_group_user()
- pp_update_group_user()
- ppc_get_roles()
- ppc_assign_roles()
- ppc_get_exceptions()
- ppc_assign_exceptions()
-
PublishPress Revisions
-
- Does My Plugin Support PublishPress Revisions?
- A List of Some Plugins Supported by PublishPress Revisions
- PublishPress Revisions Pro and The Events Calendar
- PublishPress Revisions Pro and WooCommerce
- PublishPress Revisions Pro and Advanced Custom Fields
- PublishPress Revisions Pro and WPML
- PublishPress Revisions Pro and Custom Post Type UI
- PublishPress Revisions Pro and Yoast SEO
- PublishPress Revisions Pro and the PODS Framework
- Submit and Moderate Revisions with the Divi Theme
- Create Revisions Using an API
- PublishPress Revisions Pro and Elementor
- PublishPress Revisions Pro and Beaver Builder
-
PublishPress Series
-
PublishPress Theme
-
How-to Guides
-
- A WordPress Editorial Workflow for Writing, Reviewing and Publishing
- A WordPress Workflow for Editing and Reviewing
- Create a Workflow for University Departments in WordPress with PublishPress
- Create a Multi-Step Workflow in WordPress
- How to Create a Publishing Workflow for Authors in WordPress
- How to Get 2 People to Approve Content in WordPress
-
- How to Allow WordPress Admin Area Access for WooCommerce Users
- How to Manage Permissions for WooCommerce Products
- Allow WooCommerce Users to Edit Only One Product
- How to Approve and Schedule Changes to WooCommerce Products
- WooCommerce Users Can Edit Products Only in Some Categories
- How Create WooCommerce Users Who Can Only View and Edit Products
- How to Create and Schedule Revisions for WooCommerce Products
- How to Control Who Can Duplicate WooCommerce Products
- Create WooCommerce Users Who Can Only View Reports
- How to Control Who Can Access WooCommerce Coupons
- How to Create WooCommerce Users Who Can Only View and Edit Orders
- How to Manage Permissions for WooCommerce Orders
- How to Control Permissions for WooCommerce Refunds
- How to Create Checklists with WooCommerce
-
-
WordPress Permissions
-
- activate_plugins
- add_users
- create_users
- delete_others_pages
- delete_others_posts
- delete_pages
- delete_posts
- delete_plugins
- delete_private_pages
- delete_private_posts
- delete_published_pages
- delete_published_posts
- delete_themes
- delete_users
- edit_dashboard
- edit_others_pages
- edit_others_posts
- edit_pages
- edit_plugins
- edit_posts
- edit_private_pages
- edit_private_posts
- edit_published_pages
- edit_published_posts
- edit_theme_options
- edit_themes
- edit_users
- erase_others_personal_data
- export
- export_others_personal_data
- import
- install_plugins
- install_themes
- list_users
- manage_categories
- manage_links
- manage_options
- manage_privacy_options
- moderate_comments
- promote_users
- read
- read_private_pages
- read_private_posts
- remove_users
- switch_themes
- unfiltered_html
- unfiltered_upload
- update_core
- update_plugins
- update_themes
- upload_files
Create a Table of Contents for Groups
Out-of-the-box, the PublishPress Series Groups feature does not provide any frontend templates for displaying the series group information. This document gives some basic instructions for how to create a Table of Contents listing all your series groups and the series in each groups.
There are many ways that this could be done but for this tutorial, we're going to go with a page template. You can learn more about WordPress page templates on the WordPress codex and a read of that will be a good start for this tutorial.
Every page template has common code with whatever is found in the page.php file in your theme. Here's the opening few tags in the one we're using for our example. NOTE: this is only a snippet of the relevant code in a template, not the entire thing.
<?php /* Template Name: OrgSeries Grouping Table of Contents */ ?> <?php get_header(); ?> <div id="contentwrap"> <div id="content"> <div id="content-area">
Notice that I've called the Page Template “OrgSeries Grouping” this is so when I create the page I can easily tell that this is the template for the Table of Contents.
Next up is the actual series grouping code. We'll step through this bit by bit:
$args = array('include' => array( '22', '6' ), 'order' => 'DESC' ); $get_series_args = array( 'hide_empty' => 1); $groups = get_series_groups( $args );
Notice that I'm setting a $groups
variable and assigning the results of the get_series_groups
function to that variable. get_series_groups()
is a function used to get a list of groups data. Notice that I set the $args
variable to include groups with the id's of '22' and ‘6'. These are the id's for the “Setup” and “Usage” series group. So what I'm telling the code is I want to get the information on the Usage Groups and Series Groups and have that info returned in a descending order. The $get_series_args
variable will come in later when we start to call the series that belong with each group. Up next:
foreach ( $groups as $group ) { echo '<div>'; echo '<h3 id="group-title-'.$group->term_id.'">'.$group->name.'</h3>'; $get_series = get_series_in_group($group->term_id, $get_series_args); $series_args = array( 'include' => $get_series, 'order' => 'DESC' ); wp_serieslist_display(false, $series_args); echo '</div>'; }
What we are doing here is beginning to output the layout of group and series information on the page by looping through each group object that we obtained via get_series_groups()
. Notice that we are also using the get_series_in_group()
function to get a list of series that are found in the current group in the loop. I'm sending to that function the $get_series_args
that I set earlier. Then I'm using the array of series ids returned using the get_series_in_group()
function to set the $series_args
for sending to the wp_serieslist_display()
template function. This function is from the core Series plugin and will output the information for each series in $get_series
according to the information set in the Series Table of Contents Listing Template on the Series Options page. Finally,
</div> <!-- end #content-area --> <?php get_sidebar(); ?> <?php get_footer(); ?>
This closes off the template with the code that matches the theme's page.php page.
You can view this example template in its entirety here. Remember that this is specific to a given theme so you will need to adjust the HTML container structure to work with your active theme.