Forums

wp_link_pages() if/else (8 posts)

  1. eddie-miller
    Member
    Posted 3 years ago #

    I want a
    tag show IF the wp_link_pages() is displayed.....

    <?php if wp_link_pages() ;
    echo '
    ';
    else
    echo ''; ?>

  2. ubergiant
    Member
    Posted 3 years ago #

    I'd like to also know this. It'd be a tremendous help if someone could quickly come up with a solution.

  3. ubergiant
    Member
    Posted 3 years ago #

    Can someone give a suggestion? Knowing this will help me remove images and the author bio that repeats itself on each page for the same post. It would be cool to have more control over the display of paginated posts.

  4. ubergiant
    Member
    Posted 3 years ago #

    Anyone please.

  5. ubergiant
    Member
    Posted 3 years ago #

    I haven't gotten any further in a solution for this. Only, I was thinking wordpress must use some boolean variable to know to display the paginated links. I don't know.

  6. ubergiant
    Member
    Posted 3 years ago #

    Here's my last plea for any input, before giving up on this.

  7. elfin
    Moderator
    Posted 3 years ago #

    try if (function_exists('wp_link_pages')) {

  8. idevgames
    Member
    Posted 2 years ago #

    This sounds interesting an similar to what I want to do.

    I want to show the author's bio only on the last page.

    But I am stumped.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.