ahi, also ich bin grad ziehmlich verzweifelt da ich bei der Anpassung des Themes grad garnicht weiter komme. http://netzquark.bplaced.net/
Problem 1: Mein RSS Feed geht nicht. Ich habe ihn in die Header.php getan, weis aber nicht ob das so richtig war da ich eigentlich keine Ahnung von PHP habe. Das ist der Code für den Feed:
<a href="feedburner Url hier" target="_blank"><img src="URL-zum-passenden-Social-Network-Icon" border="0" alt="" /></a>
Diesen würde ich gern funktionsfähig in die ecke oben links einfügen.
Header.php
<!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 bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php 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="screen" />
<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>
<div class="cnt">
<div class="header">
<div class="head1">
<h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>
<div class="head2">
<a href="feed.feedburner.com/netzquark" target="_blank"><img src="http://netzquark.bplaced.net/wordpress/wp-content/uploads/2012/08/Furry-Cushion-RSS_128-mittel.png" border="0" alt="" /></a>
</div>
</div>
Alles anzeigen
Problem 2: Habe die statische Sidebar des Themes ausgeklammert und ed widget fähig gemacht. Doch will ich nun ein neues Widget adden verschiebt sich dieses unter den Artikel. Also es soll gerade nach unten verlaufen.
Sidebar.php
<ul>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : endif; ?>
</ul>
<div class="sidebar">
<div class="bloque1">
<!--
<h3>Search</h3>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
-->
<?php /* If this is a 404 page */ if (is_404()) { ?>
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
<p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for the day <?php the_time('l, F jS, Y'); ?>.</p>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for <?php the_time('F, Y'); ?>.</p>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for the year <?php the_time('Y'); ?>.</p>
<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
<p>You have searched the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives
for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>
<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<p>You are currently browsing the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p>
<?php } ?>
</div>
<!--
<div class="bloque2">
<h3>Subscribe</h3>
<div class="subscriberss">
<form name="subsform">
<a href="#"><img src="<? echo get_settings('home')."/wp-content/themes/i-feel-dirty/img/";?>feedicon.gif" alt="RSS" /></a> <a href="<? echo get_bloginfo('rss_url');?>" class="rsstext">RSS</a>
<select name="aggs">
<option value="http://www.bloglines.com/sub/<? echo get_bloginfo('rss_url');?>">Bloglines</option>
<option value="http://www.feedness.com/alta/<? echo get_bloginfo('rss_url');?>">Feedness</option>
<option value="http://add.my.yahoo.com/content?url=<? echo get_bloginfo('rss_url');?>">Mi Yahoo!</option>
<option value="http://my.msn.com/addtomymsn.armx?id=rss&ut=<? echo get_bloginfo('rss_url');?>">My MSN</option>
<option value="http://www.netvibes.com/subscribe.php?url=<? echo get_bloginfo('rss_url');?>">NetVibes</option>
<option value="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=<? echo get_bloginfo('rss_url');?>">Newsgator</option>
<option value="http://www.rezzibo.com/secure/subscribe.aspx?feed_url=<? echo get_bloginfo('rss_url');?>">Rezzibo</option>
<option value="http://www.rojo.com/add-subscription?resource=<? echo get_bloginfo('rss_url');?>">Rojo</option>
<option value="http://technorati.com/faves?add=<? echo get_bloginfo('rss_url');?>">Technorati</option>
</select>
<a href="#" class="btnnofloat" onclick="window.location.href = document.subsform.aggs.options[document.subsform.aggs.selectedIndex].value;"><img src="<? echo get_settings('home')."/wp-content/themes/i-feel-dirty/img/";?>okbutton.gif" title="ok btn" alt="ok" /></a>
</form>
</div>
</div>
-->
<!--<div class="bloque1">
<h3>Pages</h3>
<ul>
<?php wp_list_pages('title_li='); ?>
</ul>
</div>-->
<!--<div class="bloque2">
<h3>Categories</h3>
<ul>
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
</ul>
<h3>Archives</h3>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</div>-->
<!--<div class="bloque1">
<?php /* If this is the frontpage */ if ( is_home() ) { ?>
<?php
if(get_links(-1,'', '','', false, 'name',false,false,-1, false, false)){
?>
<h3>Blogroll</h3>
<ul><? get_links(-1,'<li>', '</li>','', false, 'name',false,false,-1, false, true); ?></ul>
<? } ?>
</div>-->
<!--<div class="bloque2">
<h3>Meta</h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
<?php wp_meta(); ?>
</ul>
<?php } ?>
</div> -->
</div>
<div class="clearfix"></div>
</div>
Alles anzeigen
Problem 3: Das Impressum soll in den Footer. Da bekomme ich es auch hin jedoch geht der Link nicht. Seite = nicht verfügbar. Error 404. Das Impressum ist momentan als Seite gespeichert und mit Hide Pages versteckt.
Footer.php
<div class="footer">
<p class="foot2">
<?php bloginfo('name'); ?> is powered by <a href="http://wordpress.org/">WordPress</a>
</p>
<p class="foot1"><a href="http://studio.st/i-feel-dirty/">I feel dirty theme</a> by
<a href="http://studio.st">studio ST</a><br/>
<a href="http://www.hoststore.com" title="Dedicated Servers">Dedicated Servers</a> |
<a href='http://www.skidzopedia.com' title="Technology Blog">skidzopedia</a> |
<a href='http://www.bloggertemplatesblog.com' title="Free Blogger Templates">Blogger Templates</a> | Distributed by <a title="Free Wordpress Themes" href="http://www.themesplice.com">Wordpress Themes</a><br />
<a href="feed:<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
and <a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.
<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
</p>
</div>
</div>
<?php /* "Just what do you think you're doing Dave?" */ ?>
<?php wp_footer(); ?>
</body>
</html>
Alles anzeigen
Das ist schon ziehmlich viel auf ein mal aber ich will das jetzt endlich hinkriegen. Ich hoffe ich hab mich verständlich ausgedrückt und das jemand was damit anfangen kann. LG