WordPress.org

Support

Support » Plugins and Hacks » Hacks » get_current_site_name()

get_current_site_name()

  • I wanted to use a get_current_site_name(); function in my archive.php. So i’ve got code like this:

    $getsit = get_current_site_name( $current_site );
    		printf(__('W podanej %d nie ma żadnych wpisów, które możnaby wyświetlić. Proponujemy przejście na stronę główną, bądź zapoznanie się z innymi tagami i kategoriami', 'selgo'), $getsit);

    and I got a error:
    Fatal error: Call to undefined function get_current_site_name() in /homez.139/forumfis/selena/wp-content/themes/selstyle/archive.php on line 36

    what i have to do to get the site_name or site_type?

    (I want print in %d a type of archive, e.g. Tag, Category, Author etc.)

  • The topic ‘get_current_site_name()’ is closed to new replies.
Skip to toolbar