Hi,
kann man irgendwie die Formatierung, die Wordpress von alleine macht irgendwie entfernen? Möchte Feeds per Autoblog importieren und im Beitrag einige Items als Div-Container verwenden. So wie unten funktioniert das ca. 500 Beiträge, ohne das er was umformatiert oder ähnliches.
HTML
$post['post_content'] .= '<div id="postprofil">';
$post['post_content'] .= '<div align="center"><em><a href="' . htmlentities(strip_tags(trim($item['u_link']))) . '" title="' . htmlentities($item['title']) . '">Profil von ' . $item['u_nick'] . ' anzeigen</a></em></div>';
$post['post_content'] .= '</div>';
$post['post_content'] .= '<div id="postprofil2">';
$post['post_content'] .= '<div id="profil">Nickname:</div>';
$post['post_content'] .= '<div id="profil">' . $item['u_nick'] . '</div>';
$post['post_content'] .= '<div id="profil">Geschlecht:</div>';
$post['post_content'] .= '<div id="profil">' . $item['u_geschlecht'] . ' </div>';
$post['post_content'] .= '<div id="profil">Alter:</div>';
$post['post_content'] .= '<div id="profil">' . $item['u_alter'] . ' </div>';
$post['post_content'] .= '<div id="profil">Postleitzahl: </div>';
$post['post_content'] .= '<div id="profil">' . $item['u_plz'] . ' </div>';
$post['post_content'] .= '</div>';
Alles anzeigen
und so schaut es dann im Post aus wenn er es einfach irgendwann umformatiert.
HTML
<p><div><div align="center"><em><a href="Url zur Seite"
title="Titel">Profil von ++++++ anzeigen</a>
</em></div></div>
<div><div>Nickname:</div><div>HotTrinity</div><div>Geschlecht:</div>
<div>F </div><div>Alter:</div><div>32 </div><div>Postleitzahl: </div>
<div>68... </div></div></p>
Bin hier bald am Verzeifeln. Keine Ahnung warum er es erst später umformatiert. GAnz egal ob ich eine ID vergebe oder eine Class setze, er formatiert das irgendwann um
Grüße Sven