jal_democracy (1 post)

  1. frogy6
    Posted 6 years ago #

    Hi im newbie have some wp site but still work my head around.

    I have a problem, i create a theme from scratch (not template) and have form with php validation working, now i try change the style with copying same theme and altered the css and adding some page. i move the form to different page. which i think it should not cause a problem.

    when i try my new theme the form function not working :( it says:

    Error 404 - Not Found
    Fatal error: Call to undefined function jal_democracy() in ......./sidebar.php on line 5

    i dont understand why?

    this is whats on sidebar.php

      <?php /* Widgetized sidebar, if you have the plugin installed. */
      if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

    • <?php jal_democracy(1)?>
    • <?php endif; ?>

    and this is whats on function.php

    if ( function_exists('register_sidebar') )
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',


Topic Closed

This topic has been closed to new replies.

About this Topic