Hat sich erledigt! Das Problem lag wohl an Wordpress selbst.
Beiträge von liiliii
-
-
Plugin verursacht auch nach Löschung dauerhafte Fehlermeldungen
Hallo zusammen,
ich hoffe, dass mir evtl. jemand von euch weiterhelfen kann: Ich habe vorhin das Plugin wpSEO (WP-Version 2.7.1) installiert, seitdem bekomme ich folgende Fehlermeldungen angezeigt:
Warning: include_once(/var/www/web772/html/wordpress/wp-content/plugins/inc/) [function.include-once]: failed to open stream: Success in /var/www/web772/html/wordpress/wp-settings.php on line 473
Warning: include_once() [function.include]: Failed opening '/var/www/web772/html/wordpress/wp-content/plugins/inc/' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/web772/html/wordpress/wp-settings.php on line 473
Löschen hat leider nichts gebracht. Zwar kann ich durch Deaktivieren von "display_errors" die Anzeige der Fehlermeldungen im Header und in der Wordpress-Übersicht ausstellen, damit ist das Problem aber ja trotzdem nicht gelöst. Liegt das überhaupt am Plugin bzw. hat jemand eine Lösung für mich?
Liebe Grüße
Lia -
Super, danke für die schnelle Hilfe :wink: ... ich probier das mal aus und melde mich nohmal, wenn ich's nicht hinkriegen sollte.
-
Hallo ihr Lieben,
ich hätte mal 'ne Frage zum Monochrome Theme von Graph Paper Press --> SCREENSHOT
Gibt es 'ne Möglichkeit, diese graue Box mit den fünf Posts unten und diese schwarze Box direkt darunter auf 100% Seitenbreite zu strecken?
Ich hab's hier schon mal mit jeweils width=100%; und position: absolute; versucht, allerdings war dann die schwarze Box über der Grauen und beide links immer noch eingerückt. (Auf dem Theme-Demo ist die Ansicht besser, die schwarze Box aber leider textlos und dazu sieht aus, als würde sie zum Hintergrund gehören, von dem her evtl. etwas verwirrend in der Ansicht, der kleine Screenshot zeigt die richtige Version)
PHP
Alles anzeigen#gray_bg { background:#ddd; padding:2em; margin:0 -2em 0 -2em; float:left; position: relative; } #dark_bg { background:#000; padding:2em; margin:0 -2em 0 -2em; color: #666; float:left; position: relative;Hier zum Abschluss nochmal 'n längeres Code-Stückchen aus dem Theme. Würde mich freuen, wenn mir jemand weiterhelfen könnte! Danke schon mal! LG
PHP
Alles anzeigen/* Theme Name: Monochrome Theme URI: http://www.graphpaperpress.com/ Description: A Wordpress magazine theme. Version: 1.2.1 Author: Thad Allender for Graph Paper Press Author URI: http://www.graphpaperpress.com/ License: GPL */ body { background: #eee url(images/bg.gif) repeat-x top; margin: 0; padding: 2em 0; opacity: .999; color:#000; } .container { background: #fff; padding: 1em 2em; } .container-bg { background: #fff; } blockquote { background: url('images/quote.png') .5em top no-repeat; color: #000; font-style: normal; padding: 0 0 0 0; } .five_posts h3 a { text-transform: uppercase; } .five_posts h4, h6.category_head { margin: 0 0 1em; padding: 0; text-transform: uppercase; color: #ff0000; font-size: .9em; font-weight: normal; border-bottom: 1px solid #000; } .five_posts h4 a, h6.category_head a { text-transform: uppercase; color: #ff0000; } .five_posts h4 a:hover, h6.category_head a:hover { color: #fff; background: #ff0000; } h6.category_more a { color: #000; background: #eee; padding: .3em; font-size: .9em; text-transform: uppercase; border: none; } h6.category_more a:hover { background: #333; color: #fff; } #gray_bg { background:#ddd; padding:2em; margin:0 -2em 0 -2em; float:left; position: relative; } #dark_bg { background:#000; padding:2em; margin:0 -2em 0 -2em; color: #666; float:left; position: relative; } #dark_bg ul li { list-style-image:none; border-bottom:1px solid #666; } #dark_bg a { color:#ff0000; } #dark_bg a:hover { color:#fff; } #dark_bg h2.widgettitle { margin: 0 0 1em; padding: 0; text-transform: uppercase; color: #666; border-bottom:1px solid #666; font-weight: normal; } .five_posts ul { margin:1em; } .five_posts ul li { color: #000; font-size: .9em; line-height: 1.8em; border-bottom: 1px #000 solid; list-style-image:none; margin: 0 0 0 -1em; } .five_posts ul li a { color: #000; } .five_posts ul li a:hover { color: #ff0000; } .post h2 { border-bottom: 1px solid #000; margin-bottom: 15px; } h2.category_page { background:#000; margin-bottom: 15px; color:#fff; text-transform:uppercase; text-align:center; padding:10px; } .post h2 a { color: #000; text-decoration: none; } #maincontent .post h2 { margin-bottom: 5px; } #maincontent .content { padding: 5px 47px 20px 48px; } #maincontent h2.pagetitle { border: none; text-transform: uppercase; } #feature h3 { margin-bottom: 0; padding: 0; } #feature p img { margin: 7px 0 2em 0; } .feature_text { margin-top: 2em; } #home_right .entry { padding: 0 0 2em 0; } .news h3 { text-transform: uppercase; } .content { margin: 0 0 1em 0; } ul#featurenav { margin-left: 0; padding-left: 0; white-space: nowrap; } #featurenav li { display: inline; list-style-type: none; } #featurenav a { padding: 1px 5px; } #featurenav a:link, #featurenav a:visited { background-color: #eee; border: 1px solid #000; color: #000; text-decoration: none; } #featurenav a:hover { background-color: #444; color: #fff; text-decoration: none; } .author { background: #eee; margin-bottom: 1.5em; padding: 1.5em; } .author img { float: left; padding: 0 1em 1em 0; } .author p { margin-left: 8em; } .author h6 { border-bottom: 1px #000 dotted; margin-left: 7em; } .navigation, .navigation a { color: #AAA; } .alignright { float: right; } .alignleft { float: left; } .post { margin-bottom: 25px; } .entry { padding-bottom: 25px; } #header { height: 50px; padding: 4px 0 0 0; width: 950px; } #header h1, #header .description { line-height: 1em; margin: 0; padding: 0; } h1 a.logo { text-transform: uppercase; } .entry #nav .content { margin: auto; padding: 0; } .entry #nav { background: #FFF; margin-bottom: 15px; } .entry #nav li a { background: #666; border-right: 1px solid #000; color: #FFF; } .entry #nav li.last a { border-right: none; } .entry #nav li a:hover { background: #333; color: #FFF; } #footer { font-size: .9em; margin: 0; text-align: center; } #footer a { text-decoration: none; } #search { float: right; } #search #s { background: transparent url('images/icons/search_grey.gif') 0px center no-repeat; color: #CCCCCC; font-size: 0.9em; margin-right: 0px; margin-top: 10px; padding: 2px 0 2px 17px; width: 135px; } #search #s:hover { color: #000; } .search-excerpt { margin: 0; } .commentlist li { padding: 8px 15px; } .comments-alt { background: #EEE; } .bottombar { } .bottombar h2 { font-size: 1em; font-weight: bold; line-height: 1em; margin: 1em 0 1em; } ul { list-style-type: none; margin-left: 1em; padding: 0; } ul li { background-repeat: no-repeat; line-height: 2em; list-style-image: url('images/icons/li.png'); margin: 0; padding: 0; } #top { margin: 0 auto; width: 950px; } #title { float: left; } #title h1 { margin: 0; } #title h1 a { color: #fff; font-weight: bold; letter-spacing: -.1em; line-height: 1.3em; text-transform: uppercase; } #title h1 a:hover { color: #eee; } #contents { background: #fff; border: 1px solid #ccc; border-top: none; clear: both; margin: 0px; padding: 15px; } -
Hallo zusammen,
ich verwende das Monochrome Pro Theme von Graph Paper Press und habe eine Frage zu Conditional Tags.Ich soll per Conditional Tag zwei unterschiedliche Codes in mein Theme einbauen (einmal für Unternehmenskommunikationsseiten wie Kontakt und Impressum und einmal für die Posts). Mir wurde empfohlen, die Abfrage der Tags in eine separate php-Datei zu packen und dann per Include die in die einzelnen Dateien zu integrieren.
Weil ich aber quasi null Ahnung von php hab und mein Theme nicht gleich zerstören will, wollte ich fragen, wie die separate php-Datei denn aussehen soll? Sollen da nur die Conditional Tags mit den Codes rein oder auch so ein Gerüst mit <head>, <body>, etc.? Und wie funktioniert das mit der Include-Funktion? In welche Dateien muss die (nur in post.php, pages.php, index.php oder auch in den Header, Footer und so?) dann eingefügt werden und vor allem an welcher Stelle?
Wäre toll, wenn mir jemand weiterhelfen und eine kleine Anleitung für Dummies geben könnte.
-
Und hier noch Teile des CSS-Codes:
Code
Alles anzeigen/* Structure */ #head { width:660px; margin:0px auto; margin-top:15px; padding:0px; font-size:0.7em; } #page { width:660px; margin:0px auto; padding:10px; background:transparent; font-size:0.7em; } .left, .alignleft { float:left; } .right, .alignright { float:right; } /* Content Page*/ #content { width:590px; background:#fff; padding:10px; font-size:1.05em; line-height:1.75em; float:right; min-height:400px; } #content .breadcrumbs, #content .breadcrumbs a { font-weight:bold; color:#333; } #content h2.title { font:2.2em Georgia; font-weight:bold; letter-spacing:-0.05em; border-bottom:1px solid #ddd; border-top:3px solid #ddd; padding:5px 0px; } .post { font-size:1.05em; line-height:1.75em; } .post p { margin-top:0px; } .post .clearfloat { border-bottom:1px dotted #ccc; margin:10px 0px; } .post ul, .post ol, #front-list ul, #front-list ol { margin-bottom:15px; } .post ul li, #front-list ul li { list-style:square; margin-left:30px; } .post ol li, #front-list ol li { list-style:decimal; margin-left:30px; } .post ol li ul li, #front-list ol li ul li { list-style:square; margin-left:20px; } .post img, .post a img, #front-list img, #archive img { border:1px solid #ccc; margin:0 10px 5px 0; padding:2px; } .post .ads { margin-top:10px; } .entry { margin-top:20px; } #stats { margin-top:0px; padding:4px 0px; text-transform:uppercase; font:0.8em Arial; display:block; } #stats span { padding: 0px 20px 0px 0px; } #stats span a:hover { background:none; } #stats span a { color:#333; } #stats img, #nav img { border:0px; margin:0px; padding:0px; } #tools { width:590px; height:25px; font-size:0.95em; } #tools a:hover { background:none; } .navigation { padding:5px 0px; text-align:Center; } /* Sidebar*/ #sidebar { width:320px; float:left; margin:0px 0px 0px 0px; } #sidebar h3 { font:1.1em Arial; font-weight:bold; background:#333; color:#fff; margin:10px 0px 5px 0px; padding:3px 10px; } #sidebar-top, #sidebar-bottom { width:300px; float:right; padding:0px 10px 10px 10px; background:#fff; } #sidebar-bottom, #sidebar-middle { margin-top:10px; } #sidebar-middle { width:320px; float:right; } #sidebar-left { width:135px; padding:0px 10px 10px 10px; float:left; background:#fff; } #sidebar-right { width:135px; padding:0px 10px 10px 10px; float:right; background:#fff; } #sidebar li { list-style:none; border-bottom:1px dotted #ccc; display:block; padding:2px 0px 2px 13px; background:url(images/sub.png) no-repeat 0 0px; } #sidebar li ul li:last-child{ list-style:none; border-bottom:0px dotted #ccc; display:block; padding:2px 0px 0px 13px; background:url(images/sub.png) no-repeat 0 0px; } #sidebar-ads { width:300px; float:right; margin-bottom:10px; padding:10px; background:#fff; } -
Hey,
ich würde gerne wissen, ob es funktioniert, bei Arthemia (http://michaelhutagalung.com/arthemia) die Sidebar von rechts nach links zu schieben?Ich hab schon versucht, in der CSS-Datei mit float:left rumzuwerkeln, bis jetzt hat sich aber nichts getan ... Hier mal der Code von sidebar.php, vielleicht kann mir ja jemand helfen?! Wär super!
PHP
Alles anzeigen<div id="sidebar"> <div id="sidebar-ads"> <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/banners/square.jpg" alt="" width="300px" height="250px" /> </div> <div id="sidebar-top"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?> <?php endif; ?> </div> <div id="sidebar-middle" class="clearfloat"> <div id="sidebar-left"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?> <?php endif; ?> <ul><?php wp_list_bookmarks('categorize=0&category=17&title_li=0&show_images=0&show_description=0&orderby=name'); ?></ul> </div> <div id="sidebar-right"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(3) ) : ?> <h3>Blogroll</h3> <ul> <li><a href="http://colorlabsproject.com">Colorlabs Project</a></li> <li><a href="http://michaelhutagalung.com">Michael Jubel</a></li> <li><a href="http://www.hannasyalala.com">Hanna Siahaan</a></li> <li><a href="http://majarimagazine.com">Majari Magazine</a></li> <li><a href="http://bloggerzine.majarikanayakan.com">The Bloggerzine</a></li> <li><a href="http://www.majarikanayakan.com">Majari Kanayakan</a></li> </ul> <?php endif; ?> </div> </div> <div id="sidebar-bottom"> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(4) ) : ?> <?php endif; ?> </div> </div> -
Hallo,
ich würde gerne das Unstandard Theme (WordPress The Unstandard Download - Derek Punsalan - 5ThirtyOne) benutzen und daran ein paar kleine Änderungen vornehmen. Hab schon ewig rumgesucht, bis jetzt aber noch keine Infos gefunden. Also ich würde gerne
- ein Hintergrundbild einfügen
- die Sidebar nach links und ein Stück nach unten verschiebenKann mir jemand sagen, was ich dafür wo im Code ändern muss?
Wär super - danke schon mal im VorausGrüße!