<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>Wordpress and Webdesign Forum go41 &#187; Tag: tag - Recent Posts</title>
		<link>http://forum.go41.de/tags/tag</link>
		<description>How To, tips, php and css code for your WordPress site</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Feb 2012 10:25:48 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://forum.go41.de/rss/tags/tag" rel="self" type="application/rss+xml" />

		<item>
			<title>Joern on "how to show only the first tag of a post in WordPress"</title>
			<link>http://forum.go41.de/topic/how-to-show-only-the-first-tag-of-a-post-in-wordpress#post-34</link>
			<pubDate>Sat, 16 May 2009 22:48:07 +0000</pubDate>
			<dc:creator>Joern</dc:creator>
			<guid isPermaLink="false">34@http://forum.go41.de/</guid>
			<description><![CDATA[<p>this code should echo only one (first) tag of a post, you should use it inside the loop or create a loop around this:</p>
<pre><code>&#60;?php $mytags = get_the_tags() ; $count=0;
if (!empty($mytags)) {foreach($mytags as $tag) { $count++;
if (1 == $count) { echo $tag-&#62;name; } } }?&#62;</code></pre>
<p>with a short loop around, displaying only one post with offset 8 in a tabbed ui-tab it would look like this:</p>
<pre><code>&#60;?php query_posts(&#39;showposts=1&#38;offset=8&#39;);
if (have_posts()) {
echo &#39;&#60;li&#62;&#60;a class=&#34;ui-tabs&#34; href=&#34;#fragment-1&#34;&#62;&#39;; ?&#62;
&#60;?php while (have_posts()) { the_post(); ?&#62;
&#60;?php $mytags = get_the_tags() ; $count=0;
if (!empty($mytags)) {foreach($mytags as $tag) { $count++;
if (1 == $count) { echo $tag-&#62;name; } } }?&#62;
&#60;?php } // end while loop
echo &#34;&#60;/a&#62;&#60;/li&#62;\r\n&#34;; } // end if
wp_reset_query(); ?&#62;</code></pre>
<p>The wp_reset_query(); at the end you need to run more queries with different offset.</p>
<p>With the following code you can echo all tags associated to a post with a space as separator:</p>
<pre><code>&#60;?php $mytags = get_the_tags() ;
if (!empty($mytags)) {foreach($mytags as $tag) {
echo $tag-&#62;name . &#39; &#39;;
}}?&#62;</code></pre>]]></description>
					</item>
		<item>
			<title>f-t-cat on "how to show only the first tag of a post in WordPress"</title>
			<link>http://forum.go41.de/topic/how-to-show-only-the-first-tag-of-a-post-in-wordpress#post-33</link>
			<pubDate>Sat, 16 May 2009 22:37:24 +0000</pubDate>
			<dc:creator>f-t-cat</dc:creator>
			<guid isPermaLink="false">33@http://forum.go41.de/</guid>
			<description><![CDATA[<p>can anyone give me a hint how to show the first tag associated with a post only and leave other tags out? I need this for the tab titles of a tabbed content for tags.
</p>]]></description>
					</item>
		<item>
			<title>Joern on "Optimize Arthemia Free SEO Friendly"</title>
			<link>http://forum.go41.de/topic/optimize-arthemia-free-seo-friendly#post-28</link>
			<pubDate>Sun, 03 May 2009 22:37:34 +0000</pubDate>
			<dc:creator>Joern</dc:creator>
			<guid isPermaLink="false">28@http://forum.go41.de/</guid>
			<description><![CDATA[<p>Someone asked if it's enough to put a H1 tag around the title of his Arthemia site to make the template more SEO friendly.</p>
<p>My opinion I want to give you here:</p>
<p>looking at your (or any other) site with styles disabled or 'view - no styles' you can see how a theme values any links.<br />
In Arthemia I am always missing the h2 tag for post titles, there is the h3 for categories the most important...</p>
<p>So to put h2 around the titles of posts in index.php and archive.php would be a suggestion of me.</p>
<p>In single.php I use h1 for this post title, because it's the only one on that 'page'.</p>
<p>Finally on your site is not much content text compared to all the links.<br />
Let's say I click <a href="http://availablelightonline.com/blog/2009/04/27/rest-in-peace-pontiac/" rel="nofollow">http://availablelightonline.com/blog/2009/04/27/rest-in-peace-pontiac/</a>, I find four words of content only (You will be missed), but this post has more than 20 tags, all going to exactly only this one post with only four words.<br />
Do not use more tags for a post than there is content, tags are your keywords! This Rest In Peace Pontiac has actually no content but a page full of links.<br />
I would use one category per post and one to five tags per post only and put the other important words in real text making sense into the post
</p>]]></description>
					</item>

	</channel>
</rss>

