Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • “class?” :D

    Actually, I figured it out, I put the ajax.php in an _inc folder in my theme so it would work, and I got a fatal error: cannot re-declare, in the bp-themes/bp-default/_inc/ajax.php

    So that means I already have the ajax. Every ajax loader is working fine except the widgets.

    @djpaul, thanks, but I tried putting

    `// Load the AJAX functions for the theme
    require_once( TEMPLATEPATH . ‘/_inc/ajax.php’ );

    // Load the javascript for the theme
    wp_enqueue_script( ‘dtheme-ajax-js’, get_template_directory_uri() . ‘/_inc/global.js’, array( ‘jquery’ ) );`

    But I got: `Fatal Error: required_once. No such file in directory`

    And I did change the paths in the functions to match where they were and nothing changed.

    Thanks so much for the response!!! Yes, it’s my custom theme, the default works fine. I am wondering if it’s the bp default theme’s functions.php?

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar