Title: offline mode
Last modified: August 21, 2016

---

# offline mode

 *  [hunter2](https://wordpress.org/support/users/hunter2/)
 * (@hunter2)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/offline-mode-1/)
 * Hi,
 * i´m looking for the offline modus. I uploaded two plug ins without working. Now
   I triad to put in this sequence:
    function wp_website_wartungsmodus() {
 *  if (!current_user_can(“edit_themes”) or !is_user_logged_in()) {
    wp_die(“Wartungsmodus!\
   n”. “Der Blog ist in Kürze wieder erreichbar.\n”); } } add_action(‘get_header’,‘
   wp_website_wartungsmodus’);
 * But too without working.
    I triad to brin it in the “function php” but where 
   du I have to put it in?
 * Please someone can show me the sentence bevore or after?
 * Many thanks and looking forward
    hunter2

The topic ‘offline mode’ is closed to new replies.

## Tags

 * [offline mode](https://wordpress.org/support/topic-tag/offline-mode/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 0 replies
 * 1 participant
 * Last reply from: [hunter2](https://wordpress.org/support/users/hunter2/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/offline-mode-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
