WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Ambrosite Next/Previous Post Link Plus]: Call to undefined function

[Resolved] [Plugin: Ambrosite Next/Previous Post Link Plus]: Call to undefined function

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author ambrosite

    @ambrosite

    Are you sure the plugin is activated? The plugin consists of only one PHP file, and the previous_post_link_plus function is defined at line 204. I have heard of people getting an undefined function notice after they uninstall the plugin, but never while it is activated.

    My apologies… I ended up with the page-link-plus plugin instead of the post-link-plus one :S Very confusing, not sure how that happened!

    Dasha

    I did the same thing! Need to change the names! Too similar LOL

    Plugin Author ambrosite

    @ambrosite

    I know the plugin names are similar, but I am using the same terms (“post” and “page”) that WordPress uses. I think if I were to create my own terminology to refer to posts and pages, it would make things even more confusing. The next time I update the plugins, I’ll put a big bold notice at the top of the documentation alerting people to the difference, and to make sure they are using the right one.

    ambrosite, yes it’s better to stick to WP terminology!
    Big bold notice sounds good!

    Thanks for the great plugins 🙂

    Dasha

    I’m getting “Fatal error: Call to undefined function pevious_post_link_plus()” after installing and activating Ambrosite Next/Previous Post Link Plus

    This is the code I’m using on my single.php

    <div id="nav-below" class="navigation">
    	<div class="nav-previous left"><?php pevious_post_link_plus( array('order_by' => 'custom', 'meta_key' => 'item_image2') ); ?></div>
        <div class="nav-next right"><?php next_post_link_plus( array('order_by' => 'custom', 'meta_key' => 'item_image2') ); ?></div>
    </div><!-- #nav-below -->

    Plugin Author ambrosite

    @ambrosite

    You have the function name spelled wrong. It’s “previous”, not “pevious”.

    I am getting “Fatal error: Call to undefined function pevious_post_link_plus()”

    I am using the correct function for posts and the plugin is active.

    Plugin Author ambrosite

    @ambrosite

    You have to spell the function name correctly — “previous”, not “pevious”!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] [Plugin: Ambrosite Next/Previous Post Link Plus]: Call to undefined function’ is closed to new replies.