Hallo liebe WPler,
ein seltsames Problem ist mir heute aufgefallen, als ich im Zuge meines Redesigns meine Plugins mal wieder durchgegangen bin: Wenn ich das (veraltete) Plugin wp-table deaktiviere oder deinstalliere führt das dazu, dass auf meinem Blog nur noch der Hintergrund geladen wird. Aktiviere ich das Plugin wieder, funktioniert alles wie gehabt. Nehme ich ein anderes Theme her (default etc.), hat das Deaktivieren keinerlei Auswirkungen.
Interessant dabei:
- Ich nutze kein Table mehr, sie sind alle gelöscht.
- Soweit ich das noch überblicke, musste wp-table damals eigentlich in keine Datei integriert werden, das bloße Installieren und Aktivieren hat afaik gereicht. Somit verstehe ich nicht, welcher Teil im Moment darauf zugreift.
Dieses Problem scheint mir wirklich seltsam zu sein, ich wüsste nicht, welcher Teil meiner Seite noch auf den Spaß zugreifen sollte.
Was meint ihr dazu?
Angehängt: wp-config.php, header.php, index.php, style.css
wp-config.php
PHP
<?php
@ini_set("memory_limit",'32M');
// ** MySQL Einstellungen ** //
define('WP_CACHE', true); //Added by WP-Cache Manager
define('DB_NAME', '---); // Der Name der Datenbank, die du benutzt.
define('DB_USER', '---'); // Dein MySQL-Datenbank-Benutzername.
define('DB_PASSWORD', '---'); // Dein MySQL-Passwort.
define('DB_HOST', '---'); // In 99% der Fälle musst du hier nichts ändern.
define('DB_CHARSET', '');
define('DB_COLLATE', '');
$table_prefix = 'wp_'; // Nur Zahlen, Buchstaben und Unterstriche bitte!
define ('WPLANG', 'de_DE');
if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); require_once(ABSPATH . 'wp-settings.php'); ?>
Alles anzeigen
Header.php
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archiv <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<style type="text/css" media="screen" />
<meta name="blogpartei" content="blogpartei - ein münchener musikblog" />
<?php if (is_home()) { ?><meta name="description" content="Ein Münchener Musikblog" /><?php } ?>
<meta name="ICBM" content="48.128,11.571" />
<?php wp_head(); ?>
</head>
<body>
<div class="wrapper">
<div class="head" onclick="location.href='http://blogpartei.de';" style="cursor: pointer;"></div>
Alles anzeigen
index.php
PHP
<?php get_header(); ?>
<div id="wrapper">
<div class="content">
<div class="latestright">
<?php { query_posts('cat=1161&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a rel="nofollow" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<div class="latestright">
<?php { query_posts('cat=1&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a rel="nofollow" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<div class="latestleft">
<?php { query_posts('cat=367&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a rel="nofollow" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<br class="clear" />
<div class="latestright">
<?php { query_posts('cat=48&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a rel="nofollow" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<div class="latestright">
<?php { query_posts('cat=608&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a rel="nofollow" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<div class="latestleft">
<?php { query_posts('cat=986&showposts=1'); } ?>
<?php while (have_posts()) : the_post(); ?>
<h1><a rel="nofollow" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(''); ?>
</div>
<?php endwhile; ?>
<br class="clear" />
<!-- ?php query_posts('cat=1400&showposts=5');?> -->
<!-- <?php while (have_posts()):the_post();?> -->
<!-- <a rel="nofollow" href="<?php echo get_post_meta($post->ID, 'link', true); ?>" title="<?php echo get_post_meta($post->ID,'title', true); ?>"><img src="<?php echo get_post_meta($post->ID, 'image', true); ?>" alt="Zum Stream"height="50"/></a>-->
<!-- <?php endwhile ;?> -->
<!-- Stop editing categories here. -->
</div>
</div>
<?php get_footer() ?>
Alles anzeigen
style.css
PHP
/*
Theme Name: Icky
Theme URI: http://www.blogpartei.de
Description: Grid-based home, blogesque arcticle view
Version: 1.0
Author: Thomas Liesch
Author URI: http://www.blogpartei.de
/* 00 - GLOBAL ELEMENTS
/* ----------------------------------------------*/
body {
margin:0; padding:0;
width:auto; height:auto;
background: #1c0c01 url(images/bg_png.png) repeat;
color:#c1a045;
font-size: 11px;
line-height: 15px;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
}
.wrapper {
margin-left: auto;
margin-right: auto;
width: 950px;
}
.content {
margin-left: auto;
margin-right: auto;
width: 950px;
}
.head {
background: url(images/bck.png) no-repeat;
width: 950px;
margin: 0 0 20px 0;
height: 170px;
}
.sidebar {
float: right;
padding: 0 0 0 75px;
width: 275px;
}
.footer {
width: 950px;
margin: 0;
padding: 0;
}
blockquote, {
margin:0; padding:10px 20px;
background:#f1eddb;
border:1px solid #e0d9b9;
font color:#928071;
}
.post-date {
margin:10px 0 -20px -85px; padding:0;
width:50px; height:50px;
background:url(images/date.gif) no-repeat top center;
position:absolute !important; position:relative; float:left;
display:inline;
text-align:center;
}
.stream {
display: block;
margin: 0 auto;
}
/* -- submit --*/
.text {
margin:0; padding:4px;
background:url(images/input.gif);
border:1px solid #c1a045;
font:9px Arial, Helvetica, sans-serif; color:#c1a045;
}
/* 01 - BEFEHLE
/* ----------------------------------------------*/
.latestleft { float:left; padding-right: 36px; width:280px; }
.latestright { float:right; padding-right: 36px; width:280px; }
.clear { clear:both;margin-top:20px;padding-top:50px; }
.clearfloat {
clear: both;
}
.clearfix { display: inline-block; }
.left {
float: left;
}
.right {
float: right;
}
.rssdown {
vertical-align: sub;
}
.block {
display:block;
}
.post {
margin:25 0 25px 0; padding:0 0 35px 0;
background:url(images/post.gif) no-repeat bottom left;
}
...gekürzt, Rest Typographie und Co.
Alles anzeigen