Support » Fixing WordPress » Error in home Call to undefined function dfd_link_pages()

  • Resolved rcarabelli


    I am having a problem with my page, it says the following message:

    Fatal error: Call to undefined function dfd_link_pages() in /home/nutrafood/public_html/ on line 4

    That file (content-page.php) has this content:
    <?php if ( ! defined( ‘ABSPATH’ ) ) { exit; } ?>
    <?php while (have_posts()) : the_post(); ?>
    <?php the_content(); ?>
    <?php dfd_link_pages(); ?>
    <?php endwhile; ?>

    Exactly the same it had 2 days ago (when it was working) and the same it has another similar page I made.

    I’ve checked in the functions file ( wp-content/themes/ronneby/inc/components.php ) and found that the function is correctly defined

    * Paginate
    function dfd_link_pages() {
    wp_link_pages(array(‘before’ => ‘<nav class=”post-pagination”>’, ‘after’ => ‘</nav>’));

    /* ———————————————————-

    What could be the error?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rcarabelli


    I have just uploaded a backup from 3 days ago and it works well now, but the same problem appears at

    Moderator James Huff


    Volunteer Moderator

    Since that is a commercial theme, we ask that you please go to their official support channel, so you can get support from the people who know it best:

    Forum volunteers are not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

    Thread Starter rcarabelli


    Sorry James, I followed links in this forum and clicked about this specific theme and ended here.
    I will go to their page.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error in home Call to undefined function dfd_link_pages()’ is closed to new replies.