<?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: print - Recent Topics</title>
		<link>http://wp-danmark.dk/forum/tags/print</link>
		<description>WordPress DK Forum Tag: print - Recent Topics</description>
		<language>da-DK</language>
		<pubDate>Wed, 05 Aug 2026 21:38:08 +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/print/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>abmy om "Hjælp til noget vejledning omkring webshops"</title>
			<link>http://wp-danmark.dk/forum/topic/hj%c3%a6lp-til-noget-vejledning-omkring-webshops#post-73439</link>
			<pubDate>søn, 04 okt 2020 12:42:42 +0000</pubDate>
			<dc:creator>abmy</dc:creator>
			<guid isPermaLink="false">73439@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hej alle&#60;/p&#62;
&#60;p&#62;Jeg skal til at hjælpe en kammerat med en webshop, og har brug for lidt vejledning.&#60;/p&#62;
&#60;p&#62;At sætte selve shoppen op er selvfølgelig ikke det største problem, men de ønsker nogle specielle muligheder, dog kun hvis det er muligt at lave det. Som standard skal kunden kunne, selvfølgelig: &#60;/p&#62;
&#60;p&#62;1. Bestille en vare på shoppen&#60;br /&#62;
2. Betale for varen.&#60;br /&#62;
3. Få levering.&#60;/p&#62;
&#60;p&#62;Det de dog tænker på, hvis muligt, om det kan lade sig gøre at de på deres tablet, kunne få en form for notifikation således at de kan se hvor produkteret skal leveres, og hvad det er, og hvis endda muligt så lave et print med de oplysninger på en form for dymo/andet label der kan påklistres varen.&#60;/p&#62;
&#60;p&#62;Det produkt de leverer er mad og drikkelse, og de vil gerne effektivere dette.&#60;br /&#62;
Som sagt, er det for mig ikke at et problem at sætte webshoppen op uden nogen form for coding, men hvordan kunne man sætte resten op? Det med dymoen er en nice to have feature, men de vil så minimum gerne have en notifkation på det en bestilling.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mc.engholm om "Jeg kan ikke længere printe vores medlemsliste?"</title>
			<link>http://wp-danmark.dk/forum/topic/jeg-kan-ikke-l%c3%a6ngere-printe-vores-medlemsliste#post-68280</link>
			<pubDate>tors, 07 sep 2017 14:34:56 +0000</pubDate>
			<dc:creator>mc.engholm</dc:creator>
			<guid isPermaLink="false">68280@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Jeg har her i foråret overtaget formandsposten i vores camping forening &#34;Fendt Klub Danmark&#34; fra den tidligere formand, og i den forbindelse er domænet flyttet over til mig. Siden er bygget op i Worpress.&#60;/p&#62;
&#60;p&#62;Jeg ved fra vores kasserer at man tidligere kunne printe en medlemsliste ud, med blandt andet navn og E-mailadresser. Men det kan vi ikke mere. Er det et Pluginn jeg mangler?? Er det noget som er ændret et eller andet sted?? Har det noget at gøre med at det er et andet Webhotel??&#60;/p&#62;
&#60;p&#62;Det jeg har brug for er at kunne trække (printe eller exportere) en liste med navne og E-mailadresser, for at kunne tjekke op om nogen har skiftet E-mailadresse siden vi sidst sendt opkrævninger ud på kontingenter.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jetsetboys om "Woocommerce: Skift shipping_adress med billing_adress når man vil printe invoice"</title>
			<link>http://wp-danmark.dk/forum/topic/woocommerce-skift-shipping_adress-med-billing_adress-nar-man-vil-printe-invoice#post-38921</link>
			<pubDate>lør, 14 jul 2012 15:48:52 +0000</pubDate>
			<dc:creator>jetsetboys</dc:creator>
			<guid isPermaLink="false">38921@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hej med jer,&#60;/p&#62;
&#60;p&#62;Jeg har netop kastet mig over Woocommerce plugin'et på min egen side (ikke Woothemes). &#60;/p&#62;
&#60;p&#62;Jeg har installeret &#34;tillægs&#34; plugin'et fra Woothemes &#34;Woocommerce Print invoices og delivery notes&#34; som gør det muligt at printe mine faktura'er løbende. Smart!&#60;/p&#62;
&#60;p&#62;Men ..&#60;/p&#62;
&#60;p&#62;Når jeg danner en fatura, så hiver den kundens leveringadresse istedet for den korrekte betalingsadresse etc. Jeg sælger elektroniske varer så mine kunder har ingen forsendelsesadresse.&#60;/p&#62;
&#60;p&#62;Er der nogen der ved hvordan jeg ændre dette, så jeg kan få adresse på mine fakturaer?&#60;/p&#62;
&#60;p&#62;Jeg har fundet frem til filen: woocommerce-delivery-notes-print.php som ligger i 'print tillægsmodulet til woocommerce'.&#60;/p&#62;
&#60;p&#62;Her har jeg ændret alle de steder hvor der står fx. shipping_name til billing_name, men det fungerer ikke. Jeg får følgende fejlmeldning på fakturaen under Adresse:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Fatal error: Call to undefined function wcdn_shipping_company() in /home/www/styrketraeningsprogram.dk/wp-content/plugins/woocommerce-delivery-notes/templates/delivery-notes/print.php on line 31&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Er der nogen der har roddet med dette plugin?&#60;/p&#62;
&#60;p&#62;Her er hele filen, woocommerce-delivery-notes-print.php:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
&#38;lt;?php&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Load Wordpress to use its functions&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !defined( 'ABSPATH' ) ) {&#60;br /&#62;
	require_once '../../../wp-load.php';&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Check the current user capabilities&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if (!current_user_can('manage_woocommerce_orders') &#124;&#124; empty($_GET['order']) &#124;&#124; empty($_GET['name'])) {&#60;br /&#62;
	wp_die( __( 'You do not have sufficient permissions to access this page.', 'woocommerce-delivery-notes' ) );&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Load all available data for the Delivery Notes printing page.&#60;br /&#62;
 */&#60;br /&#62;
$id = $_GET['order'];&#60;br /&#62;
$name = $_GET['name'];&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Load the order&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
$wcdn-&#38;gt;print-&#38;gt;load( $id );&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return Delivery Note template url&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_template_url' ) ) {&#60;br /&#62;
	function wcdn_template_url() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;template_url;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return Type of template&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_template_name' ) ) {&#60;br /&#62;
	function wcdn_template_name() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;template_name;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the template title depending on type&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_template_title' ) ) {&#60;br /&#62;
	function wcdn_template_title() {&#60;br /&#62;
		if( wcdn_template_name() == 'invoice' ) {&#60;br /&#62;
			return __( 'Invoice', 'woocommerce-delivery-notes' );&#60;br /&#62;
		} else {&#60;br /&#62;
			return __( 'Delivery Note', 'woocommerce-delivery-notes' );&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return javascript&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_template_javascript' ) ) {&#60;br /&#62;
	function wcdn_template_javascript() {&#60;br /&#62;
		global $wcdn;&#60;/p&#62;
&#60;p&#62;		$js = '&#38;lt;script type=&#34;text/javascript&#34;&#38;gt;&#60;br /&#62;
			function openPrintWindow() {&#60;br /&#62;
		    	window.print();&#60;br /&#62;
		    	return false;&#60;br /&#62;
			}';&#60;/p&#62;
&#60;p&#62;		if( checked( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'open_print_window' ), 'yes', false ) ) {&#60;br /&#62;
			$js .= 'window.onload = openPrintWindow;';&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		$js .= '&#38;lt;/script&#38;gt;';&#60;/p&#62;
&#60;p&#62;		return $js;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return print button&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_template_print_button' ) ) {&#60;br /&#62;
	function wcdn_template_print_button() {&#60;br /&#62;
		?&#38;gt;&#60;br /&#62;
		&#60;a href=&#34;#print&#34;&#62;&#38;lt;?php _e( 'Print Page', 'woocommerce-delivery-notes' ); ?&#38;gt;&#60;/a&#62;&#60;br /&#62;
		&#38;lt;?php&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return logo id&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_company_logo_id' ) ) {&#60;br /&#62;
	function wcdn_company_logo_id() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_setting( 'company_logo_image_id' );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return logo html&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_company_logo' ) ) {&#60;br /&#62;
	function wcdn_company_logo() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		$attachment_id = $wcdn-&#38;gt;print-&#38;gt;get_setting( 'company_logo_image_id' );&#60;br /&#62;
		if( !empty( $attachment_id ) ) {&#60;br /&#62;
			$attachment_src = wp_get_attachment_image_src( $attachment_id, array( 300, 300 ), false );&#60;br /&#62;
			return '&#38;lt;img src=&#34;' . $attachment_src[0] . '&#34; width=&#34;' . $attachment_src[1] . '&#34; height=&#34;' . $attachment_src[2] . '&#34; /&#38;gt;';&#60;br /&#62;
		}&#60;br /&#62;
		return;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return default title name of Delivery Note&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_company_name' ) ) {&#60;br /&#62;
	function wcdn_company_name() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		$name = trim( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'custom_company_name' ) );&#60;br /&#62;
		if( !empty( $name ) ) {&#60;br /&#62;
			return wpautop( wptexturize( $name ) );&#60;br /&#62;
		} else {&#60;br /&#62;
			return get_bloginfo( 'name' );&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shop/company info if provided&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string company address&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_company_info' ) ) {&#60;br /&#62;
	function wcdn_company_info() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return wpautop( wptexturize( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'company_address' ) ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping name&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping name&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_name' ) ) {&#60;br /&#62;
	function wcdn_shipping_name() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_first_name . ' ' . $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_last_name;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping company&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping company&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_company' ) ) {&#60;br /&#62;
	function wcdn_shipping_company() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_company;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping address 1&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping address&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_address_1' ) ) {&#60;br /&#62;
	function wcdn_shipping_address_1() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_address_1;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping address 2&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping address 2&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_address_2' ) ) {&#60;br /&#62;
	function wcdn_shipping_address_2() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_address_2;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping city&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping city&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_city' ) ) {&#60;br /&#62;
	function wcdn_shipping_city() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_city;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping state&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping state&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_state' ) ) {&#60;br /&#62;
	function wcdn_shipping_state() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_state;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping postcode&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping postcode&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_postcode' ) ) {&#60;br /&#62;
	function wcdn_shipping_postcode() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_postcode;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping country&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping country&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_country' ) ) {&#60;br /&#62;
	function wcdn_shipping_country() {&#60;br /&#62;
		global $wcdn, $woocommerce;&#60;br /&#62;
		$country = $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;shipping_country;&#60;br /&#62;
		$full_country = ( isset( $woocommerce-&#38;gt;countries-&#38;gt;countries[$country] ) ) ? $woocommerce-&#38;gt;countries-&#38;gt;countries[$country] : $country;&#60;br /&#62;
		return $full_country;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shipping notes&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string shipping notes&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_shipping_notes' ) ) {&#60;br /&#62;
	function wcdn_shipping_notes() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return wpautop( wptexturize( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;customer_note ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return billing phone&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string billing phone&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_billing_phone' ) ) {&#60;br /&#62;
	function wcdn_billing_phone() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;billing_phone;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return order id&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order id&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_number' ) ) {&#60;br /&#62;
	function wcdn_order_number() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		$before = trim( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'before_order_number' ) );&#60;br /&#62;
		$after = trim( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'after_order_number' ) );&#60;br /&#62;
		$offset = trim( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'order_number_offset' ) );&#60;/p&#62;
&#60;p&#62;		// get custom order number as provided by the plugin&#60;br /&#62;
		// &#60;a href=&#34;http://wordpress.org/extend/plugins/woocommerce-sequential-order-numbers/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/woocommerce-sequential-order-numbers/&#60;/a&#62;&#60;br /&#62;
		// if custom order number is zero, fall back to ID&#60;br /&#62;
		$order_id = $wcdn-&#38;gt;print-&#38;gt;order_id;&#60;/p&#62;
&#60;p&#62;		if ( !empty( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;order_custom_fields['_order_number'] ) ) {&#60;br /&#62;
			$order_id = $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;order_custom_fields['_order_number'][0];&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		$number = $before . ( intval( $offset ) + intval( $order_id ) ) . $after;&#60;br /&#62;
		return $number;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order date&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order date&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_date' ) ) {&#60;br /&#62;
	function wcdn_order_date() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		$order = $wcdn-&#38;gt;print-&#38;gt;get_order();&#60;br /&#62;
		return date_i18n( get_option( 'date_format' ), strtotime( $order-&#38;gt;order_date ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order items&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return strings order items&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_get_order_items' ) ) {&#60;br /&#62;
	function wcdn_get_order_items() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order_items();&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the formatted price&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string items price&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_format_price' ) ) {&#60;br /&#62;
	function wcdn_format_price( $price, $tax_rate = 0 ) {&#60;br /&#62;
		$tax_included = ( $tax_rate &#38;gt; 0 ) ? 0 : 1;&#60;br /&#62;
		return woocommerce_price( ( ( $price / 100 ) * $tax_rate ) + $price, array( 'ex_tax_label' =&#38;gt; $tax_included ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order subtotal&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order subtotal&#60;br /&#62;
 */&#60;br /&#62;
if ( !function_exists( 'wcdn_order_subtotal' ) ) {&#60;br /&#62;
	function wcdn_order_subtotal() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_subtotal_to_display();&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order tax&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order tax&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_tax' ) ) {&#60;br /&#62;
	function wcdn_order_tax() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return woocommerce_price( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_total_tax() );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order shipping cost&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order shipping cost&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_shipping' ) ) {&#60;br /&#62;
	function wcdn_order_shipping() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_shipping_to_display();&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order discount&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string order discount&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_discount' ) ) {&#60;br /&#62;
	function wcdn_order_discount() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return woocommerce_price( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_order_discount() );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order grand total&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string grand total&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_total' ) ) {&#60;br /&#62;
	function wcdn_order_total() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return woocommerce_price( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_order_total() );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return the order totals listing&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return array order totals list&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_order_totals_list' ) ) {&#60;br /&#62;
	function wcdn_order_totals_list() {&#60;br /&#62;
		global $wcdn;		&#60;/p&#62;
&#60;p&#62;		// remove the semicolon&#60;br /&#62;
		$input = $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_order_item_totals();&#60;br /&#62;
		$keys = array_keys($input);&#60;br /&#62;
		$values = array_values($input);&#60;br /&#62;
		$result = preg_replace('/:$/', '', $keys);&#60;br /&#62;
		$output = array_combine($result, $values);&#60;br /&#62;
		return $output;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return if the order has a shipping&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return boolean&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_has_shipping' ) ) {&#60;br /&#62;
	function wcdn_has_shipping() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return ( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;order_shipping &#38;gt; 0 ) ? true : false;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return if the order has a tax&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return boolean&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_has_tax' ) ) {&#60;br /&#62;
	function wcdn_has_tax() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return ( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;get_total_tax() &#38;gt; 0 ) ? true : false;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return if the order has a discount&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return boolean&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_has_discount' ) ) {&#60;br /&#62;
	function wcdn_has_discount() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return ( $wcdn-&#38;gt;print-&#38;gt;get_order()-&#38;gt;order_discount &#38;gt; 0 ) ? true : false;&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return personal notes, season greetings etc.&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string personal notes&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_personal_notes' ) ) {&#60;br /&#62;
	function wcdn_personal_notes() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return wpautop( wptexturize( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'personal_notes' ) ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return policy for returns&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string policy&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_policies_conditions' ) ) {&#60;br /&#62;
	function wcdn_policies_conditions() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return wpautop( wptexturize( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'policies_conditions' ) ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Return shop/company footer imprint, copyright etc.&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string footer imprint&#60;br /&#62;
 */&#60;br /&#62;
if ( ! function_exists( 'wcdn_footer_imprint' ) ) {&#60;br /&#62;
	function wcdn_footer_imprint() {&#60;br /&#62;
		global $wcdn;&#60;br /&#62;
		return wpautop( wptexturize( $wcdn-&#38;gt;print-&#38;gt;get_setting( 'footer_imprint' ) ) );&#60;br /&#62;
	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;/**&#60;br /&#62;
 * Show the template&#60;br /&#62;
 *&#60;br /&#62;
 * @since 1.0&#60;br /&#62;
 *&#60;br /&#62;
 * @global $wcdn-&#38;gt;print&#60;br /&#62;
 * @return string footer imprint&#60;br /&#62;
 */&#60;br /&#62;
echo $wcdn-&#38;gt;print-&#38;gt;get_print_page( $name );&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brianbrandt om "Kender du et plugin der kan checke indlæg af til en liste ?"</title>
			<link>http://wp-danmark.dk/forum/topic/kender-du-et-plugin-der-kan-checke-indl%c3%a6g-af-til-en-liste#post-36531</link>
			<pubDate>tors, 12 apr 2012 09:29:27 +0000</pubDate>
			<dc:creator>brianbrandt</dc:creator>
			<guid isPermaLink="false">36531@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hey. &#60;/p&#62;
&#60;p&#62;Jeg står lige og mangler en funktion, hvor det er muligt at på fx en kategori side, skal der være en tjekboks, så jeg kan tjekke en masse indlæg af, og de skal så ende på en liste. Gerne med noget Ajax funktion.&#60;br /&#62;
Det skal ende ud i en liste jeg kan printe ud, bare med overskrifter fra indlæg'ene. &#60;/p&#62;
&#60;p&#62;Har du set sådan noget før ? &#60;/p&#62;
&#60;p&#62;Ellers må jeg jo i gang med at kode selv :)&#60;/p&#62;
&#60;p&#62;Mvh Brian
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
