Hallo,
ich habe das Plugin Automatic Seo Links:
Automatic SEO Links - 1.4 | CVS Projects
Das Plugin ist spitze. Es ersetzt bestimmte Wörter mit gewünschten Urls. Wenn es z.B. das Wort Auto in einem Beitrag findet, wird dieses ersetzt.
Jetzt kommt jedoch das Problem: Wenn das Wort Auto mehr als 1x vorkommt im Beitrag wird das Wort leider nur 1x ersetzt. Bestimmt kann man in der php Datei diesen Wert ausbessern. Aber nur, wenn man sich auskennt. Und das tue ich leider nicht. Kannst du mir helfen?
Ich hänge die php Datei als Anhang im .zip Format dazu, da diese leider zu groß ist um sie hier zu publizieren.
Hoffe auf deinen Rat ...:oops:
Lg
Prokik
Beiträge von prokik
-
-
Ist das 100%-ig der Grund? Oder mache ich etwas falsch? Weil ich habe ja nichtmal die aktuelle Version von WP... :cry:
-
Fataler Fehler - Plugin Aktivierung
Hallo,
soeben wollte ich das Aflinks Plugin aktivieren, jedoch kam folgende Meldung:
Das Plugin konnte nicht aktiviert werden, da es einen fatalen Fehler verursacht hat.
Ich habe lt. Installationsanleitung den Pluginordner hochgeladen. Dann habe ich /work mit CHMOD 0777 versehen.
Kann mir jemand einen Rat geben? Würde das Plugin gerne einsetzen.
Derzeit verwende ich WP 2.6.2.
Lg
Prokik -
Danke für die Hilfe. Wo genau in der page.php muss ich diese Zeile einfügen?
Lg
Prokik -
Unterschiede erkannt?
Ja. Klappt nun. Danke dir!
Könntest du mir noch helfen wegen meinen Wünschen bezüglich der statischen Seiten:
[size=8]Mir ist noch was aufgefallen bei den statischen Seiten wie z.B. [/SIZE][size=8]dieser[/SIZE][size=8]:[/SIZE]
[size=8]- Die Seitenüberschrift ist in so einem hellblauen Ton auf einmal.[/SIZE]
[size=8]- Wäre es möglich, dass auch bei den statischen Seiten die H1 Überschrift die Seitentitelüberschrift ist? (also nicht der Blogname)[/SIZE]
[size=8]Das wäre spitze.... :smile:[/SIZE]
Vielen, vielen Dank :oops:
Prokik -
Was soll stattdessen passieren? Kein Untertitel? Haupttitel nur einzeilig, Rest abschneiden? Header vergrößern? Kleinere Schrift im Haupttitel?
Gute und berechtigte Frage :-?
In dem Fall wäre es am Schönsten, wenn der Untertitel verschwinden würde, wenn das möglich ist. Oder was sagst du aus deiner Erfahrung? :confused:
Lg
Prokik -
Mir ist noch was aufgefallen bei den statischen Seiten wie z.B. dieser:
- Die Seitenüberschrift ist in so einem hellblauen Ton auf einmal.
- Wäre es möglich, dass auch bei den statischen Seiten die H1 Überschrift die Seitentitelüberschrift ist? (also nicht der Blogname)
Das wäre spitze.... :-) -
Wären diese Änderungen noch möglich?
Klappt!
Folgende Änderungen wären aber noch prima:
- Wenn man auf die neue H1 Überschrift (Beitragstitel) klickt sollte man direkt auf die Startseite kommen
- wie kann ich es anstellen, dass der Untertitel nicht überschrieben wird wie das hier passiert ist?
Du hast mir sehr geholfen, danke dir dafür! :-D
Lg
Prokik -
Hallo marX,
hier die beiden Dateien:
hier die single php:
PHP
Alles anzeigen<?php get_header(); ?> <?php adsense_deluxe_ads('header'); ?> <?php if (function_exists('ls_getinfo')) : ?> <?php if (ls_getinfo('isref')) { ?> <div class="landingsites"> <h2>Deine Suche nach: <?php ls_getinfo('terms'); ?></h2> <p>Du kommst von <?php ls_getinfo('referrer'); ?> und suchst nach <em><?php ls_getinfo('terms'); ?></em>.<br> Folgende Beiträge könnten von Interesse für dich sein:</p> <ul> <?php STP_RelatedPosts() ?> </ul> </div> <?php } ?> <?php endif; ?> <div id="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="post-date"><span class="post-month"><?php the_time('M') ?></span> <span class="post-day"><?php the_time('d') ?></span></div> <div class="post-title"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> <span class="post-cat"><?php the_category(', ') ?></span> <?php if(function_exists('wp_print')) { print_link(); } ?> <?php if(function_exists('wp_email')) { email_link(); } ?> <span class="mini-add-comment"><a href="#respond">Meinung/Erfahrung schreiben</a></span> </div> <div class="entry"> <?php the_content('Weiterlesen »'); ?> <?php link_pages('<p><strong>Seiten:</strong> ', '</p>', 'number'); ?> <br><?php if(function_exists('wp_email')) { email_link(); } ?> <br><br><br> <?php edit_post_link('EDIT', '', ''); ?> </div> <?php comments_template(); ?> <?php endwhile; else: ?> <p>Nichts gefunden.</p> <?php endif; ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?> </div><!--/post --> </div><!--/content --> <?php get_sidebar(); ?> <?php get_footer(); ?>
und hier die header php:
PHP
Alles anzeigen<!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"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php if (function_exists('seo_title_tag')) { seo_title_tag(); } else { bloginfo('name'); wp_title();} ?></title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" type="text/css" media="print" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_head(); ?> </head> <body> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-1106970-7"); pageTracker._trackPageview(); </script> <div id="page"> <div id="header"> <div id="headerimg"> <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <div class="description"><?php bloginfo('description'); ?></div> </div> <ul id="nav"> <li class="page_item"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li> <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?> </ul> </div> <!--/header -->
Danke für deine Hilfe!
Lg
Prokik -
Wenn du Probleme beim Einbau hast, dann poste bitte die beiden genannten Template-Dateien. ;-)
Hallo marX,
du bist ein echter Profi. Danke für deine schnelle Hilfe. Ich werde dir die beiden Dateien posten, da da noch ein anderer Code dabeisteht. Sonst verbocke ich es noch... :-?
Danke
Prokik -
Hallo,
ich bin ein absoluter Anfänger bezüglich CSS und Design. Ich würde dich um deinen Rat bitten.
Ich möchte bei meinem Blog ganz oben im Headerbereich folgende Änderung:
- statt Blogname den Namen des jeweiligen Beitrages (wie funktioniert das allerdings, wenn der User die Startseite direkt besucht?)
In welchen Dateien (header.php, ....) muss ich was und wie umstellen?
Wahrscheinlich ist das Ganze gar nicht so schwer. Zumindest, wenn man sich auskennt... :oops:
Danke für deinen Rat!
Lg
Prokik -
Hallo,
ich möchte gerne WP im Intranet installieren. Leider bin ich ein absoluts Newbie auf diesem Gebiet. Ich bitte dich daher um deinen Rat.
Wie installiere ich WP im Intranet? Gibt es wo eine Anleitung? Ich selbst habe bei den Recherchen im Netz nur diese Site gefunden, werde aber nicht ganz schlau daraus.
Muss man einfach statt der Domain die Serveradresse vom Intranet in den WP Einstellungen eintragen?
Lg
Prokik -
Hallo,
habe ein seltsames Problem. Wenn ich eine "alte" Seite bearbeiten möchte, kann ich diese leider nicht zur Gänze tun. Normalerweise sollte unterhalb von der Überschrift "Erweiterte Einstellungen" noch einiges an Punkten kommen. Sieh dir bitte mal meinen Screenshot an, da kannst du sehen, dass unterhalb alles leer ist.
Was kann ich tun, damit ich in Zukunft die Seiten wieder vollständig bearbeiten kann?
Bitte um deinen Ratschlag... :cry:
Ich verwende WP 2.6.2.
Lg
Prokik -
Hallo,
ich würde gerne die automatische Registrierungs-Mail verändern. Den Text darin meine ich. Wie kann ich das bei WP 2.6.2 machen?
Lg
prokik -
Danke für deine hilfreiche Antwort.
Lg
Prokik -
Hallo,
wie kann ich die Farbe der Hyperlinks in meinem Template verändern. Habe leider keinen Schimmer davon.
Hier die style.css:
/*/
body {
font: 75%/150% Arial, Geneva, Helvetica, sans-serif;
color: #333333;
background: #FFFFFF url(images/main-bg.gif);
margin: 0px;
padding: 0px 0px 30px;
}
a {
color: #CC6600;
text-decoration: none;
}
a:visited {
color: #CC6633;
text-decoration: none;
}
a:hover {
color: #FF6600;
text-decoration: underline;
}
img {
border: none;
}
p {
padding: 0px 0px 15px;
margin: 0px;
}
h1 {
margin:0px;
background: url(images/header-icon.gif) no-repeat;
padding-left: 70px;
height: 60px;
font: bold 36px/100% Arial, Geneva, Helvetica, sans-serif;
color: #c9eefe;
}
h1 a, h1 a:visited{
color: #c9eefe;
text-decoration: none;
}
h1 a:hover{
color: #ffffff;
text-decoration: none;
}
h2 {
color: #59770e;
margin: 0px 0px 2px;
border-bottom: 1px dotted #CCCCCC;
letter-spacing: -1px;
font: normal 190%/100% Arial, Geneva, Helvetica, sans-serif;
padding-bottom: 3px;
}
h2 a, h2 a:visited {
color: #59770e;
text-decoration: none;
}
h2 a:hover {
color: #FF6600;
text-decoration: none;
}
h3 {
font: normal 140%/100% Arial, Geneva, Helvetica, sans-serif;
color: #758d38;
margin: 10px 0px 5px;
}
h4 {
font: normal 130%/100% Arial, Geneva, Helvetica, sans-serif;
color: #758d38;
margin: 10px 0px 5px;
}
form {
margin:0px;
padding:0px;
}
#page {
margin: 0px auto;
width: 760px;
border-bottom: 5px solid #d5e6eb;
border-left: 5px solid #d5e6eb;
border-right: 5px solid #d5e6eb;
background: #FFFFFF url(images/content-bg.gif) repeat-y;
}
/* header area */
#header {
background: #0FACEA url(images/taufoase.jpg) no-repeat;
height: 130px;
border-bottom: 3px solid #59780a;
position: relative;
}
#headerimg {
position: relative;
padding: 30px 0px 0px 40px;
height: 60px;
}
#headerimg .description{
position: absolute;
left: 110px;
bottom: 3px;
color: #c9eefe;
font-size: 14px;
}
#nav {
list-style: none;
margin: 0px;
position: absolute;
right: 10px;
bottom: 0px;
}
#nav li {
float: left;
margin-left: 5px;
}
#nav .current_page_item a, #nav .current_page_item a:visited{
color: #000000;
text-decoration: none;
}
#nav .page_item a{
color: #ffffff;
text-decoration: none;
background: #5c8d0c url(images/nav-button-bg.gif) repeat-x;
padding: 5px 15px;
font: bold 14px/100% Arial, Geneva, Helvetica, sans-serif;
border-top: 1px solid #E6EED0;
border-left: 1px solid #AFCD69;
border-right: 1px solid #AFCD69;
display: block;
}
#nav .page_item a:hover {
color: #000000;
}
/* content area */
#content {
padding: 10px 0px 30px 20px;
float: left;
width: 485px;
overflow: hidden;
}
.post {
clear:both;
padding-top: 15px;
}
.post-date {
width: 45px;
height: 49px;
float:left;
background: url(images/date-bg.gif) no-repeat;
}
.post-month {
font-size: 11px;
text-transform: uppercase;
color: #FFFFFF;
text-align: center;
display:block;
line-height: 11px;
padding-top: 2px;
margin-left: -3px;
}
.post-day {
font-size: 18px;
text-transform: uppercase;
color: #999999;
text-align: center;
display:block;
line-height: 18px;
padding-top: 7px;
margin-left: -3px;
}
.post-title {
float: left;
margin-left: 10px;
width: 430px;
}
.entry {
clear: both;
padding-top: 10px;
}
.post-cat {
background: url(images/mini-category.gif) no-repeat;
padding-left: 20px;
float:left;
font-size: 95%;
color: #999999;
}
.post-comments {
background: url(images/mini-comments.gif) no-repeat;
padding-left: 20px;
float: right;
font-size: 95%;
}
.post-calendar {
background: url(images/mini-calendar.gif) no-repeat;
padding-left: 20px;
float: right;
font-size: 95%;
color: #999999;
}
.mini-add-comment {
background: url(images/mini-down-arrow.gif) no-repeat;
padding-left: 18px;
float: right;
}
.navigation {
clear: both;
padding: 10px 0px;
}
.navigation a, .navigation a:visited {
color: #59770e;
}
.previous-entries a {
float: left;
padding-left: 18px;
background: url(images/mini-nav-left.gif) no-repeat left center;
}
.next-entries a {
float: right;
padding-right: 18px;
background: url(images/mini-nav-right.gif) no-repeat right center;
}
/* comments area */
#comments, #respond {
border-bottom: 1px dotted #CCCCCC;
padding: 10px 0 5px 0;
clear: both;
}
.commentlist {
margin: 10px 0px;
padding-left: 20px;
line-height: 130%;
}
.commentlist li{
padding: 5px 10px;
}
.commentlist .alt {
background: #f1fedb;
}
.commentlist cite {
font-weight: bold;
font-style: normal;
font-size: 120%;
color: #CC6600;
}
.commentlist cite a, .commentlist cite a:visited {
color: #CC6600;
}
.commentlist small {
margin-bottom: 5px;
display: block;
font-size: 87%;
}
#commentform {
margin-top: 10px;
font: 110% Arial, Geneva, Helvetica, sans-serif;
}
#commentform p {
padding: 6px 0px;
margin: 0px;
}
#commentform label{
color: #787878;
font-size: 87%;
}
#commentform input{
width: 200px;
background:#f1fedb;
border: 1px solid #bdd77f;
padding: 3px;
margin-top: 3px;
}
#commentform textarea{
width: 478px;
height: 115px;
background:#f1fedb;
border: 1px solid #bdd77f;
padding: 2px;
margin-top: 3px;
}
#commentform textarea:focus, #commentform input[type="text"]:focus {
background: #ffffff;
}
#commentform #submit{
background: url(images/btn-bg.gif) no-repeat;
font: bold 12px Arial, Geneva, Helvetica, sans-serif;
color: #FFFFFF;
border: none;
float:right;
width: 144px;
height: 28px;
cursor: pointer;
}
/*sidebar */
#sidebar {
float: right;
padding: 0px 10px 20px 0px;
width: 220px;
color: #666666;
overflow: hidden;
}
/*sidebar title (h2) */
#sidebar h2, #sidebar .sidebartitle{
font: normal 140%/100% Arial, Geneva, Helvetica, sans-serif;
color: #758d38;
margin: 20px 0px 2px;
border-bottom: 1px solid #CFE1AC;
}
/*sidebar text styles */
#sidebar a, #sidebar a:visited{
color: #495233;
text-decoration: none;
}
#sidebar a:hover{
color: #FF6600;
text-decoration: none;
}
/*sidebar list level1 */
#sidebar ul {
margin: 0;
padding: 0;
}
#sidebar ul li {
list-style: none;
margin: 0;
padding: 0;
border: none;
}
/*sidebar list level2 */
#sidebar ul li ul {
padding: 0;
margin: 0;
}
#sidebar ul li ul li{
padding: 2px 0 2px 0px;
border-bottom: 1px solid #dceeb7;
}
/*sidebar list level3 */
#sidebar ul li ul li ul li{
padding: 1px 0 1px 10px;
border: none;
}
/*blogroll */
ul.list-blogroll li{
background: url(images/mini-blogroll.gif) no-repeat !important;
padding-left: 16px !important;
}
/*category widget */
ul.list-cat li, li.widget_categories li{
background: url(images/mini-category.gif) no-repeat !important;
padding-left: 20px !important;
}
/*archives widget */
ul.list-archives li, li.widget_archives li{
background: url(images/mini-monthly-archive.gif) no-repeat !important;
padding-left: 20px !important;
}
/*pages widget */
ul.list-page li, li.widget_pages li, li.widget_recent_entries li{
background: url(images/mini-page.gif) no-repeat !important;
padding-left: 20px !important;
}
/*sub-pages */
ul.list-page li ul li, li.widget_pages li ul li{
background: url(images/mini-page-arrow.gif) no-repeat !important;
padding-left: 10px !important;
}
/*recent comments widget */
li.widget_recent_comments li{
background: url(images/mini-recent-comments.gif) no-repeat !important;
padding-left: 20px !important;
}
/*calendar widget */
li.widget_calendar td {
padding: 1px 7px;
}
/*text widget */
.textwidget {
padding-top: 5px;
}
/*search form */
#searchform {
margin: 15px 0 0;
}
#searchform br {
display: none;
}
#searchform #s {
border:1px solid #203346;
width: 135px;
height: 22px;
padding: 4px 5px 0px 5px;
border: 1px solid #bed881;
background: #fff;
margin-right: 2px;
color: #000000;
font-weight: normal;
}
/* search form button - to specify button only use input[type="submit"] */
#searchform input {
background: url(images/search-btn-bg.gif) no-repeat;
border: none;
width: 67px;
height: 26px;
font: bold 12px Arial, Geneva, Helvetica, sans-serif;
color: #FFFFFF;
vertical-align: middle;
}
/* footer area */
#footer {
clear: both;
background: #048DB4 url(images/footer-bg.gif) no-repeat;
color: #ACD7EE;
font-size: 95%;
line-height: 130%;
padding-bottom: 10px;
}
#footer a, #footer a:visited {
color: #ffffff;
}
#footer h4 {
font: normal 146%/100% Arial, Geneva, Helvetica, sans-serif;
color: #9cdbfb;
margin: 10px 0px 5px;
}
.footer-recent-comments {
width: 240px;
float: left;
margin-left: 10px;
}
.footer-recent-comments ul {
list-style: none;
margin: 0px;
padding: 0px;
}
.footer-recent-comments ul li {
background: url(images/mini-footer-comments.gif) no-repeat;
padding: 0px 0px 10px 20px;
}
.footer-recent-posts {
width: 240px;
float: left;
margin-left: 10px;
}
.footer-recent-posts strong {
font-size: 107%;
line-height: 135%;
font-weight: bold;
}
.footer-recent-posts ul {
list-style: none;
margin: 0px;
padding: 0px;
font-size: 92%;
line-height: 110%;
}
.footer-recent-posts ul li {
background: url(images/mini-footer-post.gif) no-repeat;
padding: 0px 0px 10px 20px;
}
.footer-about {
width: 220px;
float: right;
padding-right: 10px;
padding-left: 10px;
background: url(images/footer-right-bg.gif) no-repeat;
}
/* credits */
#credits {
margin: 0px auto;
width: 760px;
color: #7a9299;
font-size: 85%;
line-height: 120%;
}
#credits a, #credit a:visited {
color: #048db4;
}
.rss {
background: url(images/mini-rss.gif) no-repeat left center;
padding-left: 18px;
padding-bottom: 2px;
margin-left: 8px;
}
.loginout {
background: url(images/mini-loginout.gif) no-repeat left center;
padding-left: 18px;
padding-bottom: 2px;
margin-left: 8px;
}
/* alignments */
.center {
text-align: center;
}
img.center, img[align="center"] {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
img.alignleft, img[align="left"] {
float:left;
margin: 2px 10px 5px 0px;
}
.alignright {
float: right;
}
img.alignright, img[align="right"] {
float:right;
margin: 2px 0px 5px 10px;
}
.clear {
clear:both;
}
hr.clear {
clear:both;
visibility: hidden;
margin: 0px;
padding: 0px;
}
die Pagebar-Elemente gehen sich aufgrund der Zeichenbeschränkung hier nicht aus. -
Hallo,
auch ich möchte gerne Vor- und Nachname zu einem Pflichtfeld machen. Wie geht das?
Lg
Prokik -
IMO kein Double Content, da dasselbe von WP ja auch gemacht wird (Archive, Monatsübersichten, etc.), sich also Auszüge auch bei WP an diversen Stellen finden lassen, und meine Blogs bisher super ranken und auch nicht im Supplemental Index sind.
Sind nicht die "Tags" ein Garant für Double Content. Oder hat jemand damit gute Erfahrungen?
Lg
Prokik -
Hi,
ich bin auf der Suche nach dem Umlaut-Plugin von bueltge. Leider weiss ich nicht mehr wo ich das gelesen habe: Es soll da dieses Plugin geben, damit die Sonderzeichen in der Datenbank wieder richtig angezeigt werden.
Derzeit lautet "Schönwetter" bei mir: Schönwetter
Dies ist nach einem DB Restore passiert. Nun müsste ich alle manuell ändern oder eben mit diesem Plugin.
Kennt ihr das? Oder gibt es eine bessere Variante?
Lg
prokik -
Hallo,
ich habe folgendes Problem: Im Adminbereich fehlt unter "Schreiben - Beitrag schreiben" das Texteingabe-Feld. Daher kann ich leider keine Beiträge und/oder Seiten schreiben.
Hintergrund: Ich habe versucht von 2.1.3 auf 2.3.3 upzudaten. Das ging in die Hose, da viele Plugins veraltet waren und Fehler verursachten. Daher machte ich einen "Downgrade". Ich überspielt per FTP die 2.1.3 Files (die ich zuvor gesichert hatte) wieder drüber. Auch die "alte" Datenbank spielte ich wieder rauf.
Noch was: Wenn ich über mein Mobiltelefon auf den Adminbereich zugreife sehe ich ein Texteingabe-Feld. Allerdings nur, wenn ich nicht die HTML Version sehe, sondern die für Mobiltelefone optimierte Seite.
Hier der Screenshot:
http://www.kreativoase.at/taufkerze/bilder/error.jpg
Ich hoffe auf deine Hilfe. :( Wenn du noch Hintergrundinfos brauchst, bitte schreibe mir.
Das Upgrade bleibt mir irgendwann nicht erspart, aber jetzt würde ich gerne einfach nur einen Beitrag schreiben.
Lg
Prokik