Title: function php not working
Last modified: August 24, 2016

---

# function php not working

 *  Resolved [rratcliffe](https://wordpress.org/support/users/rratcliffe/)
 * (@rratcliffe)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/function-php-not-working/)
 * Hi, I added the <?php echo… code as instructed on the post “using php code in
   template” but when I check on browser I get an error message that says:
    Fatal
   error: Call to undefined function DISPLAY_ULTIMATE_PLUS()
 * How can I define the function?
 * [https://wordpress.org/plugins/ultimate-social-media-plus/](https://wordpress.org/plugins/ultimate-social-media-plus/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [socialdude](https://wordpress.org/support/users/socialdude/)
 * (@socialdude)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/function-php-not-working/#post-6080270)
 * Could you please try without the “echo”, i.e. <?php DISPLAY_ULTIMATE_PLUS();?
   > as mentioned in the plugin?
 *  Thread Starter [rratcliffe](https://wordpress.org/support/users/rratcliffe/)
 * (@rratcliffe)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/function-php-not-working/#post-6080288)
 * yes I did as well and same error comes up:
    “Fatal error: Call to undefined function
   DISPLAY_ULTIMATE_PLUS() in /home/…”
 *  Thread Starter [rratcliffe](https://wordpress.org/support/users/rratcliffe/)
 * (@rratcliffe)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/function-php-not-working/#post-6080296)
 * Here is the whole code in the footer.php
 * <?php
    global $themeple_config;
 * wp_reset_postdata();
    $social_icons = themeple_get_option(‘social_icons’);
 * ?>
    [Scroll](https://wordpress.org/support/topic/function-php-not-working/?output_format=md#)
   <!– Social Profiles –>
 * <!– Footer –>
    </div>
 *  <div class=”footer_wrapper”>
 *  <footer id=”footer” class=”type_<?php echo themeple_get_option(‘footer_skin’)?
   >”>
 *  <div class=”inner”>
    <div class=”container”> <div class=”row-fluid ff”>
 *  <!– widget –>
    <?php
 *  $columns = themeple_get_option(‘footer_number_columns’);
    for($i = 1; $i <= 
   $columns; $i++){ ?> <div class=”span<?php echo 12/$columns ?>”>
 *  <?php if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Footer – column’.
   $i) ) : else : echo “<div class=’widget’>Add Widget Column $i</div>”; endif; ?
   >
 *  </div>
 *  <?php
    }
 *  ?>
 *  </div>
    </div> </div>
 *  <div id=”copyright”>
    <div class=”container”> <div class=”row-fluid”> <div class
   =”span12 desc”><?php echo themeple_get_option(‘footer_cp’); ?></div>
 *  </div>
    </div> </div><!– #copyright –>
 *  </footer><!– #footer –>
    </div>
 * <?php $layout = themeple_get_option(‘overall_layout’); if($layout == ‘boxed’):?
   >
    </div>
 * <?php endif; ?>
    <?php wp_footer(); ?> </body> </html>
 *  [socialdude](https://wordpress.org/support/users/socialdude/)
 * (@socialdude)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/function-php-not-working/#post-6080381)
 * Ok let us have a look at this
 *  [socialdude](https://wordpress.org/support/users/socialdude/)
 * (@socialdude)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/function-php-not-working/#post-6080605)
 * rratcliffe, could you please send me a screenshot of the error message to support
   at ultimatelysocial dot com?
 *  [socialdude](https://wordpress.org/support/users/socialdude/)
 * (@socialdude)
 * [11 years ago](https://wordpress.org/support/topic/function-php-not-working/#post-6080659)
 * I close this topic now – it the issue persists please get in touch with us again.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘function php not working’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-social-media-plus/assets/icon-128x128.png?rev=2230338)
 * [Social Share Icons & Social Share Buttons](https://wordpress.org/plugins/ultimate-social-media-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-social-media-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-social-media-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-social-media-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-social-media-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-social-media-plus/reviews/)

## Tags

 * [function error](https://wordpress.org/support/topic-tag/function-error/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 6 replies
 * 2 participants
 * Last reply from: [socialdude](https://wordpress.org/support/users/socialdude/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/function-php-not-working/#post-6080659)
 * Status: resolved