Keine eine Ahnung :(?
Beiträge von jenni185
-
-
Ich bin nicht sicher ob ich hier richtig bin und ob ich überhaupt was verstanden habe aber ich hab jetzt ein wirklich ernstes Problem was mir meine Leser quasi fernhält...
Ich habe einen Blog. Wenn andere Blogs meinen blog in ihre Blogroll Liste hinzufügen (z.b. leute die bei wordpress, tumblr oder blogspot sind) bekommen die einen Link wo steht
ZitatMEINE BLOG-LISTE
Kommentare zu: Home (Das ist ja schon Merkwürdig. wer hat das so eingegeben?)
und wenn sie draufklicken öffnet sich anstelle von http://www.chaneletlesautres.com --> feed://chaneletlesautres.com/home/feed/
Natürlich ein nicht existierender Pfad. Woran kann das liegen?Ich konnte das nicht so nachvollziehen und habe auch einen Blog bei blogspot gemacht um das zu verstehen
http://chaneletlesautress.blogspot.com/
Und siehe da es ist wirklich das problem. Mein eigentlicher Blog http://www.chaneletlesautres.com wird so komisch als Kommentare zu Home in der Blogroll angezeigt
Weiß jmd vielleicht Rat?
Ich weiss nämlich wirklich nicht wo ich überhaupt anfangen sol lzu suchen wenn ich nicht kapier wovon es kommen KANN
danke lg jenni
-
Hallo
Ich bin momentan bei alfahosting und habe da eine Domain und Webspace. Da ich einen sehr persönlichen Blog mit wordpress habe möchte ich eine WHOIS Protection. Habe mich auch umgeschaut und ein Paket bei GoDaddy.com gekauft. Nun habe ich einige Fragen
1. ) Um zu transferieren muss ich bei meinem alten Webhost kündigen und benötige den Authorisationscode ist das richtig? Ich will doch gar nicht kündigen. Ich will meinen webspace auf alfahosting und den Whois schutz auf godaddy?! Aber ich muss kündigen um den transfer machen zu können??
2. )Wenn ich NUR transferiere, habe ich ja noch keinen Webspace. Hab ich dann nur die Domain sonst nichts? Kann ich nachträglich bei godaddy noch Webspace kaufen. Also ich weiß dass ich kann aber ich will nur wissen ob das funktionieren würde
3. ) Wie kann ich dafür sorgen dass ich mein Design. und meine Posts vorallem nicht verliere. Ich hab ja über 900 Posts in meinem Blog?danke danke für alle hilfreichen antworten
-
Kann mir bitte jemand helfen >(
-
Ich bitte nochmal dringend um hilfe
-
Niemand eine lösung ? :-(
-
Ich will nur nicht dass der Post in der Versenkung verschwindet ;) Für zwischenzeitliche Hilfe bin ich dankbar. Bin noch nicht weiter gekommen. :(
-
Ups, ja, habe gerade gesehen, dass ich da was übersehen habe bzw. einen Denkfehler gemacht habe ...muss ich mir bei Gelegenheit noch mal genauer anschauen.
Hab aber gerade keine Zeit...sorry!Kein Thema! Ich bin dir soooo dankbar! Lass dir Zeit ;) Ich bin froh dass überhaupt jemand meine Hilfeschreie erhört.
;) -
danke für deine schnelle hilfe, aber es tut sich nichts. hab es geändert aber es bleibt wie es ist. der code sieht momentan wie folgt an
ZitatAlles anzeigen/*
* Resize images dynamically using wp built in functions
* Victor Teixeira
*
* php 5.2+
*
* Exemplo de uso:
*
* <?php
* $thumb = get_post_thumbnail_id();
* $image = vt_resize( $thumb, '', 140, 110, true );
* ?>
* <img src="<?php echo $image[url]; ?>" width="<?php echo $image[width]; ?>" height="<?php echo $image[height]; ?>" />
*
* Param int $attach_id
* Param string $img_url
* Param int $width
* Param int $height
* Param bool $crop
* @return array
*/
function vt_resize( $attach_id = null, $img_url = null, $width, $height, $crop = false ) {// this is an attachment, so we have the ID
if ( $attach_id ) {
$image_src = wp_get_attachment_image_src( $attach_id, 'full' );
$file_path = get_attached_file( $attach_id );
// this is not an attachment, let's use the image url
} else if ( $img_url ) {
$file_path = parse_url( $img_url );
$file_path = $file_path['path'];
if (strpos($file_path, "wp-content"))
{
$wp_start = strpos($file_path, "wp-content/");
$file_path = substr($file_path, $wp_start);
$orig_size = getimagesize( $file_path );
}$image_src[0] = $img_url;
$image_src[1] = $orig_size[0];
$image_src[2] = $orig_size[1];
}
$file_info = pathinfo( $file_path );
$extension = '.'. $file_info['extension'];// the image path without the extension
$no_ext_path = $file_info['dirname'].'/'.$file_info['filename'];$cropped_img_path = $no_ext_path.'-'.$width.'x'.$height.$extension;
// checking if the file size is larger than the target size
// if it is smaller or the same size, stop right here and return
if ( $image_src[1] > $width || $image_src[2] > $height ) {// the file is larger, check if the resized version already exists (for $crop = true but will also work for $crop = false if the sizes match)
if ( file_exists( $cropped_img_path ) ) {$cropped_img_url = str_replace( basename( $image_src[0] ), basename( $cropped_img_path ), $image_src[0] );
$vt_image = array (
'url' => $img_url,
'width' => $orig_size[0],
'height' => $orig_size[1]
);
return $vt_image;
}// $crop = false
if ( $crop == false ) {
// calculate the size proportionaly
$proportional_size = wp_constrain_dimensions( $image_src[1], $image_src[2], $width, $height );
$resized_img_path = $no_ext_path.'-'.$proportional_size[0].'x'.$proportional_size[1].$extension;// checking if the file already exists
if ( file_exists( $resized_img_path ) ) {
$resized_img_url = str_replace( basename( $image_src[0] ), basename( $resized_img_path ), $image_src[0] );$vt_image = array (
'url' => $img_url,
'width' => $orig_size[0],
'height' => $orig_size[1]
);
return $vt_image;
}
}// no cache files - let's finally resize it
$new_img_path = image_resize( $file_path, $width, $height, $crop );
if (file_exists($new_img_path)) $new_img_size = getimagesize( $new_img_path );
$new_img = str_replace( basename( $image_src[0] ), basename( $new_img_path ), $image_src[0] );// resized output
$vt_image = array (
'url' => $img_url,
'width' => $orig_size[0],
'height' => $orig_size[1]
);
return $vt_image;
}// default output - without resizing
$vt_image = array (
'url' => $img_url,
'width' => $orig_size[0],
'height' => $orig_size[1]
);
return $vt_image; -
in meiner function ist der code, ich hab da grad rumgespielt da war der ganze blog plötzlich tot. nun gehts wieder aber ich krieg diese blöde resize funktion nicht gestoppt
* Resize images dynamically using wp built in functions
* Victor Teixeira
*
* php 5.2+
*
* Exemplo de uso:
*
* <?php
* $thumb = get_post_thumbnail_id();
* $image = vt_resize( $thumb, '', 140, 110, true );
* ?>
* <img src="<?php echo $image[url]; ?>" width="<?php echo $image[width]; ?>" height="<?php echo $image[height]; ?>" />
*
* Param int $attach_id
* Param string $img_url
* Param int $width
* Param int $height
* Param bool $crop
* @return array
*/
function vt_resize( $attach_id = null, $img_url = null, $width, $height, $crop = false ) {// this is an attachment, so we have the ID
if ( $attach_id ) {
$image_src = wp_get_attachment_image_src( $attach_id, 'full' );
$file_path = get_attached_file( $attach_id );
// this is not an attachment, let's use the image url
} else if ( $img_url ) {
$file_path = parse_url( $img_url );
$file_path = $file_path['path'];
if (strpos($file_path, "wp-content"))
{
$wp_start = strpos($file_path, "wp-content/");
$file_path = substr($file_path, $wp_start);
$orig_size = getimagesize( $file_path );
}$image_src[0] = $img_url;
$image_src[1] = $orig_size[0];
$image_src[2] = $orig_size[1];
}
$file_info = pathinfo( $file_path );
$extension = '.'. $file_info['extension'];// the image path without the extension
$no_ext_path = $file_info['dirname'].'/'.$file_info['filename'];$cropped_img_path = $no_ext_path.'-'.$width.'x'.$height.$extension;
// checking if the file size is larger than the target size
// if it is smaller or the same size, stop right here and return
if ( $image_src[1] > $width || $image_src[2] > $height ) {// the file is larger, check if the resized version already exists (for $crop = true but will also work for $crop = false if the sizes match)
if ( file_exists( $cropped_img_path ) ) {$cropped_img_url = str_replace( basename( $image_src[0] ), basename( $cropped_img_path ), $image_src[0] );
$vt_image = array (
'url' => $cropped_img_url,
'width' => $width,
'height' => $height
);
return $vt_image;
}// $crop = false
if ( $crop == false ) {
// calculate the size proportionaly
$proportional_size = wp_constrain_dimensions( $image_src[1], $image_src[2], $width, $height );
$resized_img_path = $no_ext_path.'-'.$proportional_size[0].'x'.$proportional_size[1].$extension;// checking if the file already exists
if ( file_exists( $resized_img_path ) ) {
$resized_img_url = str_replace( basename( $image_src[0] ), basename( $resized_img_path ), $image_src[0] );$vt_image = array (
'url' => $resized_img_url,
'width' => $proportional_size[0],
'height' => $proportional_size[1]
);
return $vt_image;
}
}// no cache files - let's finally resize it
$new_img_path = image_resize( $file_path, $width, $height, $crop );
if (file_exists($new_img_path)) $new_img_size = getimagesize( $new_img_path );
$new_img = str_replace( basename( $image_src[0] ), basename( $new_img_path ), $image_src[0] );// resized output
$vt_image = array (
'url' => $new_img,
'width' => $new_img_size[0],
'height' => $new_img_size[1]
);
return $vt_image;
} -
Ist da keine Möglichkeit?
-
Hallo
Leider ist in meinem Theme auf http://www.chaneletlesautres.com ein blödes Images Resize für die Vorschaubilder. Ich hasse das!! Er soll die Bilder lassen wie sie sind. Weiss jemand wie ich das ändern kann? Ich hab bisschen mit dem Code gespielt aber dann hatte ich auf einmal gar kein Bild. Hier ist der wichtige Teil meines index
ZitatAlles anzeigen<?php
$html_content = get_the_content_with_formatting();
$only_text = strip_single_tags($tags, $html_content);
$images = get_all_img_urls($html_content);
$image = $images[0];// now lets check widht of image. If it is bigger than 540 - resize it
if ($image != "")
{
$width = $air_img_w;
$height = $air_img_h;
$resized = vt_resize( '', $image , $width, $height, true );
$image_html = "<p style='float:left'><img src='". $resized[url] ."' alt='' width='$width' height='$height' class='shadow alignleft' /></p>";
}
else $image_html = "";if(!empty($post->post_excerpt))
{//This post have an excerpt, let's display it
$excerpt = get_the_excerpt();}
else
{
// This post have no excerpt
$excerpt = better_excerpt($only_text, $air_words);
}
echo $image_html;
?> -
Hallo
Hier ist wieder ein nervendes Wesen das Hilfe braucht. Ich möchte meine Sidebar gerne links haben (http://www.chaneletlesautres.com)
Damit ihr seht dass ich nicht untätig bin, benutze ich den Webinspector und habe den float im Content nach rechts und bei der Sidebar nach links geschoben. also in den css dateien
Hat aber nichts gebracht.
In der index.php hab ich das mit der sidebar auch geändert mit dem float aber ohne Ergebnis
Ich hab etwas mit den Zahlen gespielt und geschaft es etwas zu verschieben aber nicht wie ich es will.
Entweder war die Sidebar weg oder ganz unten unter den Posts aber nicht links. Aber die Posts bzw. den ganzen Container krieg ich nicht nach rechts. ich habe 2 wichtige css dateien blog.css und style.css (soll ich mal was posten?)
Jemand Ratschläge? -
dann bekomm ich eine fehlermeldung also komme nicht mehr auf meine seite
:(Parse error: syntax error, unexpected '<' in /var/www/web201/html/wp-content/themes/AirWP/blog.php on line 96
edit: danke ich hab es jetzt irgendwie geschaft. hab es etwas woanders platziert und jetzt geht es. danke dir. du hast den stein ins rollen gebracht :)
hab nur noch eine frage ich finde den abstand zu klein zum nächsten post. kann ich das dann in css ändern? oder auch html? besitmmt was mit padding oder?
-
Danke dir für deinen Ratschlag und deine Bemühung!
Ja ich weiß ich soltle nicht so viel erwarten ich geb schließlich keinen Geldeinsatz :PIch hab das so abgeändert wie du sagst er ändert das auch aber so das wir jetzt Bild, Überschrift und dann Text haben
also die Reihenfolge stimmt noch nicht
überschrift comments/datum, dann das bild und dann text + read more. also quasi ein tausch von bild und titel inkl. comments und datum. das ist das hauptproblem wo ich dann entgültig stagniert habe.
ich hab auch schon das float left weggemacht (vor paar tagen) und gesehen dass sich was geändert hat aber ich krieg das bild nicht unter dem post mit der beschreibung und so bringt es dann ja nicht vielHab mal einen Screenshot gemacht wie es jetzt ist
http://imageshack.us/photo/my-image…o20110728u.png/ -
schade dass mir hier keiner helfen will. dachte dafür ist ein forum da :/ wäre wenigstens jemand so lieb mir zu sagen ob es noch andere foren gibt wo ich fragen kann? :/
danke
-
ich versuchs die ganze zeit aber komme nicht weiter. hier ein teil meiner css. kann sich nicht irgendwer damit anfreunden :(((
CSS
Alles anzeigenmargin: 0px; padding: 0px; border: 0; outline:none; font-size: 100%; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; text-decoration:none; line-height: 17px; vertical-align: baseline; } body { height: 100%; font-size: 12px; margin: 0px; padding: 0px; font-stretch:normal; font-style:normal; font-variant:normal; font-weight:normal; color: #7F7F7F; background-color: #282828; background-repeat: repeat-x; } pre,code{ white-space:pre; overflow:auto; } pre{ width: 100%; margin: 0px; padding: 0px; } code{ display:block; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; font-size:11px; background-color: #333; padding: 10px; } p { margin-bottom: 10px; } strong, b { font-weight: bold; } address { font-style: italic; } abbr, acronym { border-bottom:1px dotted; cursor:help; } em, dfn, cite { font-style: italic; } hr { border-style:dotted none none; border-width:1px medium medium; } dfn { font-weight: bold; } small { font-size: 11px; } del { text-decoration: line-through; } table { width: 100%; display:table; float:left; } td { text-align:center; } blockquote { font-style: italic; padding: 15px; } blockquote p, blockquote h1, blockquote h2, blockquote h3, blockquote h4, blockquote h5 { border-left: 2px solid; padding-bottom: 0px; padding-left: 20px; font-family: Georgia, "Times New Roman", Times, serif; } h1,h2,h3,h4,h5,h6{ font-weight: normal; font-variant: normal; white-space: normal; } h1{ font-size:34px; line-height: 38px; } h2{ font-size:28px; line-height: 33px; } h3{ font-size:24px; line-height: 29px; } h4{ font-size:20px; line-height: 25px; } h5{ font-size:16px; line-height: 21px; } h6{ font-size:14px; line-height: 17px; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-size: 100%; } .overline{ background-repeat: repeat-x; padding: 0px; text-align: center; margin-top: 0px; margin-right: 0px; margin-bottom: 35px; margin-left: 0px; background-position: center; width: 100%; float: left; } .overline h1,.overline h2,.overline h3,.overline h4,.overline h5,.overline h6{ font-weight: normal; font-variant: normal; white-space: normal; display: inline; padding-right: 5px; padding-left: 5px; } ul, ol { display: block; padding: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 25px; } input, textarea { font-family: Arial, Helvetica, sans-serif; font-size: 12px; outline:none; -moz-border-radius: 4px; -webkit-border-radius:4px; border-radius:4px; padding-top: 9px; padding-right: 7px; padding-bottom: 9px; padding-left: 7px; letter-spacing: 0.5px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; } input:focus, textarea:focus { box-shadow:0 0 4px rgba(82,168,236,.5); -moz-box-shadow:0 0 4px rgba(82,168,236,.5); -webkit-box-shadow:0 0 4px rgba(82,168,236,.5); } input.submit, input.submit:focus { border:medium none; cursor:pointer; font-family:Georgia, "Times New Roman", Times, serif; font-size:12px; text-align:center; text-decoration:none !important; width:auto !important; font-style: italic; -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.45); -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.45); box-shadow: 0 0 4px rgba(0, 0, 0, 0.45); } a { text-decoration: none; color:#800240; outline:none; } a:hover { color: #800240; text-decoration: none; } a img { border: none; } img.shadow { } img.border { padding: 6px; background-repeat: repeat; } .alignleft { float:left; margin-right: 12px; margin-bottom: 12px; } .alignright { float:right; margin-left: 12px; } .aligncenter { margin-right: auto; margin-left: auto; display: block; } .title, .title a { font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-style: bold; text-decoration: none; display: block; } .title a:hover { color: #85C441; } .read-more { text-decoration: none; font-family: Georgia, "Times New Roman", Times, serif; font-style: italic; display: block; } .read-more.right { text-align: right; } .read-more.center { text-align: center; } .divider { float: left; width: 100%; display: block; margin-bottom: 40px; } .border-divider { width: 100%; display: block; float: left; margin-top: 20px; margin-bottom: 20px; border-top-width: 1px; border-top-style: solid; } .underline { border-bottom-width: 4px; border-bottom-style: solid; border-bottom-color: #333; margin-bottom: 15px; padding-bottom: 5px; font-weight: normal; } #wrapper { width: 960px; margin-top: 0px; margin-right: auto; margin-bottom: 45px; margin-left: auto; padding-top: 0px; padding-right: 10px; padding-bottom: 0px; padding-left: 10px; overflow: hidden; } #content p { width: 100%; z-index: 998; clear: both; font-size: 1em; padding-top: 45px; padding-bottom: 45px; float: left; } #header { width: 100%; padding: 0px; margin: 0px; float: left; background-repeat: repeat-x; background-position: left bottom; border-top-width: 5px; border-top-style: solid; } -
Kann Mir echt niemand einen tipp geben ???? ;-( ich komm nicht weiter....
-
kann mir denn keiner helfen?
-
Hallo
Ich bin sehr zufrieden mit meinem Design (chaneletlesautres.com).
Ich möchte aber gerne nicht das Bild links neben dem Text. Ich hätte gerne die Postüberschrift, dann das Bild dadrunter (etwas größer) und dann der Text. kann mir jemand bisschen tipps und hilfe geben wo ich das änder? danke!
In meiner index steht folgendesZitatAlles anzeigen<?php
/*
Template Name: Blog
*/get_header();
if (is_page()) $current_type = "page";
if (is_home()) $current_type = "home";
if (is_single()) $current_type = "single";
if (is_category()) $current_type = "blog";
if (is_search()) $current_type = "search";
if (is_tag()) $current_type = "tag";
if (is_archive()) $current_type = "archive";$page_id = $post->ID;
$paged = (get_query_var('page')) ? get_query_var('page') : 1;
query_posts('cat=all&paged='.$paged);get_template_part( 'loop', 'single' );
$root = get_template_directory_uri();
$air_show_cat = get_option("air_show_cat");
$air_show_tags = get_option("air_show_tags");
$air_img_w = get_option("air_img_w");
$air_img_h = get_option("air_img_h");
$air_words = get_option("air_words");$columns = strpos(category_description(), "columns");
?><div id="content" <?php post_class(); ?>>
<div id="inner-content" >
<?php
if ($current_type == "search")
{
echo "<h2>Search results for: '". $_POST["s"] ."'</h2>";
?><div class="divider"></div><?php
}if (is_year())
{
echo "<h2>Archive for: ". get_the_time('Y') ."</h2>";
?><div class="divider"></div><?php
}
if (is_month())
{
echo "<h2>Archive for: ". get_the_time('F, Y') ."</h2>";
?><div class="divider"></div><?php
}
if (is_day())
{
echo "<h2>Archive for: ". get_the_time('F jS, Y') ."</h2>";
?><div class="divider"></div><?php
}
if (is_tag()) // POPRAVI!!!
{
?>
<h2>Archive for tag: <?php single_tag_title(''); ?></h2>
<div class="divider"></div><?php
}if (have_posts()) :
$tags = array("img", "object");
while (have_posts()) : the_post();if ($columns)
{
$i++;
if (fmod($i, 2) == 1) $class = " columnleft"; else $class = " columnright";
}?>
<div class="post-entry<?php echo $class; ?>">
<?php
$html_content = get_the_content_with_formatting();
$only_text = strip_single_tags($tags, $html_content);
$images = get_all_img_urls($html_content);
$image = $images[0];// now lets check widht of image. If it is bigger than 540 - resize it
if ($image != "")
{
$width = $air_img_w;
$height = $air_img_h;
$resized = vt_resize( '', $image , $width, $height, true );
$image_html = "<p style='float:left'><img src='". $resized[url] ."' alt='' width='$width' height='$height' class='shadow alignleft' /></p>";
}
else $image_html = "";if(!empty($post->post_excerpt))
{
//This post have an excerpt, let's display it
$excerpt = get_the_excerpt();
}
else
{
// This post have no excerpt
$excerpt = better_excerpt($only_text, $air_words);
}
echo $image_html;
?>
<div style="float:left;width:<?php echo 650 - 30 - $width; ?>px">
<?php if ($air_show_cat == "yes") { ?><div class="post-category"><?php the_category(', '); ?></div><?php } ?>
<?php if ($air_show_tags == "yes") { ?><div class="post-category"><?php the_tags('', ', ', ''); ?></div><?php } ?>
<div class="post-meta">
<h2 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<span>by </span><?php the_author_link(); ?>
<span>on </span> <?php the_time('M j, Y') ?>
<?php if (comments_open()) { ?>
<span> - </span><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); } ?>
</div><!--END post-meta-->
<p><?php echo $excerpt; ?></p>
<p><a href="<?php the_permalink(); ?>" class="read-more">read post »</a></p>
</div><!-- NEW DIV-->
</div><!--END post-entry-->
<?php
endwhile;
else:
?><h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php
endif; ?><div class="wp-pagenavi">
<span class="older read-more"><?php previous_posts_link('« Newer Entries', 0) ?></span>
<span class="newer read-more"><?php next_posts_link('Older Entries »', 0);?></span>
</div><!--END wp-pagenavi-->
</div><!--END inner-content-->
<div id="sidebar">
<?php
$sidebar = "default";
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar($sidebar) ) :
endif;
?>
</div><!--END sidebar-->
</div><!--END content--></div><!--END wrapper-->
<?php get_footer(); ?>