<?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 Tag: childtema - Recent Topics</title>
		<link>http://wp-danmark.dk/forum/tags/childtema</link>
		<description>WordPress DK Forum Tag: childtema - Recent Topics</description>
		<language>da-DK</language>
		<pubDate>Sun, 19 Jul 2026 09:10:12 +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/tags/childtema/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>Astrid om "child tema på den smarte måde?"</title>
			<link>http://wp-danmark.dk/forum/topic/child-tema-pa-den-smarte-made#post-61532</link>
			<pubDate>tirs, 03 mar 2015 16:51:17 +0000</pubDate>
			<dc:creator>Astrid</dc:creator>
			<guid isPermaLink="false">61532@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;If. &#60;a href=&#34;http://codex.wordpress.org/Child_Themes&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Child_Themes&#60;/a&#62; er det ikke længere optimalt at bruge @import-metoden ved child-temaer. Jeg er imidlertid usikker på, hvordan man laver det anbefalede alternativ. &#60;/p&#62;
&#60;p&#62;For det første: Er det tilstrækkeligt at uploade en folder det rette sted med de to filer:&#60;br /&#62;
- en css-fil der kun indeholder en stylesheet header&#60;br /&#62;
- en functions.php-fil&#60;/p&#62;
&#60;p&#62;For det andet: skal functions.php-filen indeholde:&#60;/p&#62;
&#60;p&#62;add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );&#60;br /&#62;
function theme_enqueue_styles() {&#60;br /&#62;
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;eller&#60;/p&#62;
&#60;p&#62;add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );&#60;br /&#62;
function theme_enqueue_styles() {&#60;br /&#62;
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );&#60;br /&#62;
    wp_enqueue_style( 'child-style',&#60;br /&#62;
        get_stylesheet_directory_uri() . '/style.css',&#60;br /&#62;
        array('parent-style')&#60;br /&#62;
    );&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;eller noget helt tredje?&#60;br /&#62;
Jeg har prøvet de forskellige muligheder, men ved ikke hvordan jeg tester, om de er rigtige...&#60;/p&#62;
&#60;p&#62;Venlig hilsen&#60;br /&#62;
Astrid
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
