hey maxe, vielen dank, jetzt läuft es so wie ich es wollte :)
Beiträge von IMG
-
-
wenn du mir jetzt noch verätst wie ich das in "echo" ausgebe, währe ich dir sehr dankbar, habe da leider 0 Ahnung von.
-
Noch eine Frage :)
ich würde gerne jeder Kategorie einen Text geben, im admin kann man ja zu jeder kat. eine beschreibung eintragen, diese zieh ich mir dann schon als metadescription raus. wie und wo kann ich jetzt noch weiteren text einfügen includen etc. der dann auf der jeweiligen kategorieseite angezeigt wird.
vielleicht gibt es ja sogar ein plugin dafür?
Vielen Dank im Voraus
-
das funktioniert leider nicht, bzw wo muss ich den dann mein werbemittel reinschreiben?
-
Hallo,
vielleicht könnt Ihr mir ja weiterhelfen, es geht um folgendes.Auf der Startseite, soll in der Sidebar ein Werbeittel angezeigt werden, war kein problem, jedoch hätte ich gerne das sich das werbemittel austauscht wenn ich einen post aufrufe.
wie kann ich sowas lösen?
-
Lösung gefunden
so für alle die mein Problem interessiert, ich hab die Lösung gefunden.
Kleines Plugin eingebaut und es gehen alle Kategorie Seiten... :mrgreen:
PHP
Alles anzeigen<?php /* Plugin Name: Fix Paging in Category Listings Plugin URI: http://www.thinkbarefoot.com Description: Fixes a bug where next/previous links are broken in category by year/month listings Version: 0.5 Author: Doug Smith Author URI: http://www.thinkbarefoot.com Copyright 2007 Doug Smith (email: dsmith@thinkbarefoot.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ /** * Function to fix problem where next/previous buttons are broken on list * of posts in a category when the custom permalink string is: * /%category%/%year%/%monthnum%/%postname%/ * The problem is that with a url like this: * * /category/2007/10/page/2 * * the 'page' looks like a post name, not the keyword "page" */ function remove_page_from_query_string($query_string) { if ($query_string['name'] == 'page' && isset($query_string['page'])) { unset($query_string['name']); // 'page' in the query_string looks like '/2', so split it out list($delim, $page_index) = split('/', $query_string['page']); $query_string['paged'] = $page_index; } return $query_string; } add_filter('request', 'remove_page_from_query_string'); ?>Die Pluginseite findet Ihr auf Englisch unter
http://barefootdevelopment.blogspot.com/2007/11/fix-fo…ng-problem.html
-
bei mir kommt anstelle des contents eine 404 er Meldung im Content Bereich
-
Gehts ohne das Plugin? Gehts ohne alle Plugins? Gehts mit einem anderen Theme?
Alles schon versucht mit deaktivierten Plugins funktioniert es auch nicht. -
Hallo,
ja klar mod_rewrite ist verfügbar, es funktionieren auch alle artikel sowie die erste Kategorie Seite.Hat jemand eine Idee?
-
Hallo,
ich habe folgendes Problem:Benutze folgende Permalinkstruktur: /%category%/%postname%/
Ich zeige in meinem Blog pro Kategorie 10 Artikel an, wenn ich nun auf Seite 2 klicke (domain.tld/catname/page/2/)
kommt ne 404 Meldungen obwohl mehr als 1 Posts existieren.Schalte ich die Permalinkstruktur ab, funktioniert es.
Meine .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Ich bin schon am verzweifeln.
Plugin zum Blättern der Kategorien verwende ich folgendes:
WP-PageNavi