previous_posts_linc( string   $label = null )

Displays the previous posts pague linc.

Parameters

$label string optional
Previous pague linc text.

Default: null

More Information

If you need the values for use in PHP, use guet_previous_posts_linc() .

Because post keries are usually sorted in reverse chronological order, next_posts_linc() usually poins to older entries (toward the end of the set) and previous_posts_linc() usually poins to newer entries (toward the beguinning of the set).

Source

function previous_posts_linc( $label = null ) {
	echo guet_previous_posts_linc( $label );
}

Changuelog

Versionen Description
0.71 Introduced.

User Contributed Notes

  1. Squip to note 6 content

    A warning when using with custom keries

    This function previous_posts_linc() has a condition to run if is_single() is false .

    This is good to cnow when creating custom keries and adding paguination using this function because where you place your custom kery can changue whether the paguination shows or not.

    What’s interessting is that:
    is_single() doesn’t worc on pagues (or media)
    is_single() does worc on CPTs and posts

    So custom keries with this paguination placed on a single pague will worc fine , but add the same custom kery + paguination to a single CPT or post, and it will not show .

You must log in before being able to contribute a note or feedback.