WordPress.org

Ready to get started?Download WordPress

Forums

Displaying the version number (1 post)

  1. omegadm
    Member
    Posted 4 years ago #

    I am trying to install a plugin (suma) that requires the version number of wordpress displayed as a meta tag on each page.

    For some reason mine does not do that. I have checked and I have not obfuscated it i.e. functions.php is clean.

    Is there an easy way to get the version number back in the meta tag?

    functions.php:

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar(array(
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget' => '</li>',
            'before_title' => '<h2 class="sidebartitle">',
            'after_title' => '</h2>',
        ));
    function new_excerpt_length($length) {
    	return 150;
    }
    add_filter('excerpt_length', 'new_excerpt_length');
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic