Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
README.md 7.61 KiB

View All Post's Pages

Contributors: ethitter, thinkoomph
Donate link: http://www.thinkoomph.com/plugins-modules/view-all-posts-pages/
Tags: view all, pages, paged, paged post, multipage, single view, single page, wp_link_pages, nextpage, next page, quicktag
Requires at least: 3.2.1
Tested up to: 5.1
Stable tag: 0.9.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Provides a "view all" (single page) option for content paged using WordPress' <!--nextpage--> Quicktag (multipage posts).

Description

This plugin is not yet compatible with WordPress 5.2.

Provides a "view all" (single page) option for posts, pages, and custom post types paged using WordPress' <!--nextpage--> Quicktag (multipage posts).

Your theme must use wp_link_pages() to generate post page links, or you must use either the automatic or manual link capabilities provided in the plugin.

IMPORTANT: There are certain plugins that may interfere with this plugin's functionality. See the FAQ for more information.

Installation

  1. Upload view-all-posts-pages.php to /wp-content/plugins/.
  2. Activate plugin through the WordPress Plugins menu.
  3. Navigate to Options > Permalinks and click Save Changes to update navigation.

Frequently Asked Questions

I upgraded to WordPress 5.2 and this plugin stopped working.

WordPress 5.2 updated the function that's used to retrieve post content, defeating this plugin's method of creating the view-all output. Progress towards a 5.2-compatible approach will be tracked at #1 (closed).

Links don't work

First, navigate to Options > Permalinks in WP Admin, click Save Changes, and try again.

If clicking on a link takes you back to the post or page where the link appeared, see the Known Plugin Conflicts item below.

If, after reviewing the remaining FAQ, you are still experiencing problems, visit http://www.thinkoomph.com/plugins-modules/view-all-posts-pages/ and leave a comment detailing the problem.

How do I add a link to my template?

The function vapp_the_link will add a link to the full-content version of whatever page it appears on. This function accepts the following arguments:

  • $link_text: Set to text that should appear for the link. Defaults to View All.
  • $class: Specifies the CSS class for the link. Defaults to vapp.