get_current_site_name() (1 post)

  1. Simivar
    Posted 5 years ago #

    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.)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.