<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.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 DK Forum Topic: Billede på indlæg i egen wordblog</title>
		<link>http://wp-danmark.dk/forum/topic/billede-pa-indl%c3%a6g-i-egen-wordblog</link>
		<description>WordPress DK Forum Topic: Billede på indlæg i egen wordblog</description>
		<language>da-DK</language>
		<pubDate>Fri, 23 Oct 2026 15:02:59 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Søg]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://wp-danmark.dk/forum/search.php</link>
		</textInput>
		<atom:link href="http://wp-danmark.dk/forum/rss/topic/billede-pa-indl%c3%a6g-i-egen-wordblog" rel="self" type="application/rss+xml" />

		<item>
			<title>Mc-Fly om "Billede på indlæg i egen wordblog"</title>
			<link>http://wp-danmark.dk/forum/topic/billede-pa-indl%c3%a6g-i-egen-wordblog#post-5881</link>
			<pubDate>tors, 24 apr 2008 12:11:42 +0000</pubDate>
			<dc:creator>Mc-Fly</dc:creator>
			<guid isPermaLink="false">5881@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hej.&#60;/p&#62;
&#60;p&#62;Er ved at bygge min egen side op. har nu fundet dette &#34;Plugin - User Photo&#34;. Men fatter ikke en lyd af, hvordan jeg sætter linier ind. Tillader mig at sætte index.php her..&#60;br /&#62;
--------------------------------------------------------------------------------------&#60;br /&#62;
&#38;lt;?php get_header();?&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;main&#34;&#38;gt;&#60;br /&#62;
	&#38;lt;div id=&#34;content&#34;&#38;gt;&#60;br /&#62;
	    &#38;lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&#38;gt;&#60;br /&#62;
	        &#38;lt;div class=&#34;post&#34; id=&#34;post-&#38;lt;?php the_ID(); ?&#38;gt;&#34;&#38;gt;&#60;br /&#62;
				&#38;lt;p class=&#34;postmeta&#34;&#38;gt;&#60;em&#62;&#38;lt;?php the_author_posts_link() ?&#38;gt; on &#38;lt;?php the_time('M jS Y') ?&#38;gt; at &#38;lt;?php the_time();?&#38;gt; &#38;lt;?php edit_post_link(__('Edit This')); ?&#38;gt;&#60;/em&#62;&#38;lt;?php the_category(',') ?&#38;gt;&#38;nbsp;&#38;nbsp;&#38;lt;?php if(function_exists('the_views')) { the_views(); } ?&#38;gt;&#38;lt;/p&#38;gt;&#60;br /&#62;
				&#38;lt;h2 class=&#34;title&#34;&#38;gt;&#60;a&#62;&#34; rel=&#34;bookmark&#34;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#60;/a&#62;&#38;lt;/h2&#38;gt;&#60;br /&#62;
				&#38;lt;div class=&#34;entry&#34;&#38;gt;&#60;br /&#62;
            &#38;lt;?php the_content(__('Continue Reading &#38;#187;')); ?&#38;gt;&#60;br /&#62;
            &#38;lt;?php wp_link_pages(); ?&#38;gt;&#60;br /&#62;
            &#38;lt;p class=&#34;post-tags&#34;&#38;gt;&#60;br /&#62;
              &#38;lt;?php if (function_exists('the_tags')) the_tags('Tags: ', ', ', '&#60;br /&#62;'); ?&#38;gt;&#60;br /&#62;
            &#38;lt;/p&#38;gt;&#60;br /&#62;
		      &#38;lt;/div&#38;gt;&#60;br /&#62;
		        &#38;lt;p class=&#34;posted&#34;&#38;gt;&#38;lt;span class=&#34;comments&#34;&#38;gt;&#38;lt;?php comments_number(__('No responses yet'), __('One response so far'), __('% responses so far')); ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/p&#38;gt;&#60;br /&#62;
	        &#38;lt;/div&#38;gt;&#60;br /&#62;
	        &#38;lt;?php comments_template();?&#38;gt;&#60;br /&#62;
      &#38;lt;?php endwhile; else: ?&#38;gt;&#60;br /&#62;
          &#38;lt;p&#38;gt;&#38;lt;?php _e('Sorry, no posts matched your criteria.'); ?&#38;gt;&#38;lt;/p&#38;gt;&#60;br /&#62;
      &#38;lt;?php endif; ?&#38;gt;&#60;br /&#62;
	&#38;lt;/div&#38;gt;&#60;br /&#62;
  &#38;lt;?php get_sidebar();?&#38;gt;&#60;br /&#62;
  &#38;lt;?php get_footer();?&#38;gt;&#60;br /&#62;
--------------------------------------------------------------------------------------&#60;br /&#62;
Her følger så noget af teksten fra plugin.&#60;/p&#62;
&#60;p&#62;&#34;*   &#60;code&#62;userphoto_the_author_photo()&#60;/code&#62;&#60;br /&#62;
*   &#60;code&#62;userphoto_the_author_thumbnail()&#60;/code&#62;&#60;br /&#62;
*   &#60;code&#62;userphoto_comment_author_photo()&#60;/code&#62;&#60;br /&#62;
*   &#60;code&#62;userphoto_comment_author_thumbnail()&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The first two should be placed in the posts loop near &#60;code&#62;the_author()&#60;/code&#62;, and the second two in the comments&#60;br /&#62;
loop near &#60;code&#62;comment_author()&#60;/code&#62; (or their respective equivalents). Furthermore, &#60;code&#62;userphoto_the_author_photo()&#60;/code&#62;&#60;br /&#62;
and &#60;code&#62;userphoto_the_author_thumbnail()&#60;/code&#62; may be called anywhere (i.e. sidebar) if &#60;code&#62;$authordata&#60;/code&#62; is set.&#60;/p&#62;
&#60;p&#62;The output of these template tags may be modified by passing four parameters: &#60;code&#62;$before&#60;/code&#62;, &#60;code&#62;$after&#60;/code&#62;,&#60;br /&#62;
&#60;code&#62;$attributes&#60;/code&#62;, and &#60;code&#62;$default_src&#60;/code&#62;, as in: &#60;code&#62;userphoto_the_author_photo($before, $after, $attributes, $default_src)&#60;/code&#62;.&#60;br /&#62;
If the user photo exists (or &#60;code&#62;$default_src&#60;/code&#62; is supplied), then the text provided in the &#60;code&#62;$before&#60;/code&#62; and &#60;code&#62;$after&#60;/code&#62; parameters is respectively&#60;br /&#62;
prefixed and suffixed to the generated &#60;code&#62;img&#60;/code&#62; tag (a common pattern in WordPress). If attributes are provided in the &#60;code&#62;$attributes&#60;/code&#62;&#60;br /&#62;
parameter, then they are returned as attributes of the generated &#60;code&#62;img&#60;/code&#62; element. For example: &#60;code&#62;userphoto_the_author_photo('', '', array(style =&#38;gt; 'border:0'))&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Hvordan skal jeg sætte det ind og op.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
