<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>GlückPress</title>
	
	<link>http://glueckpress.com</link>
	<description>WordPress, Webdesign, Freelancing</description>
	<lastBuildDate>Wed, 23 May 2012 07:11:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/glueckpress" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="glueckpress" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">glueckpress</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>WordCamp Berlin 2012</title>
		<link>http://glueckpress.com/blog/1186/wordcamp-berlin-2012</link>
		<comments>http://glueckpress.com/blog/1186/wordcamp-berlin-2012#comments</comments>
		<pubDate>Wed, 23 May 2012 07:11:16 +0000</pubDate>
		<dc:creator>Caspar</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[2012]]></category>
		<category><![CDATA[berlin]]></category>
		<category><![CDATA[wcb12]]></category>
		<category><![CDATA[wordcamp]]></category>

		<guid isPermaLink="false">http://glueckpress.com/?p=1186</guid>
		<description><![CDATA[Nun steht es fest: Es wird ein WordCamp 2012 in Berlin geben, und zwar im Oktober. Was als Idee beim WP Meetup in Potsdam anfing, nimmt nun konkrete Formen an – dank des ermutigenden Feedback aus der Community. Wer auf dem &#8230; <a href="http://glueckpress.com/blog/1186/wordcamp-berlin-2012">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nun steht es fest: Es wird ein <strong>WordCamp 2012 in Berlin</strong> geben, und zwar im Oktober.<br />
Was als <a title="WP Meetup Potsdam, Mai 2012" href="http://wpmeetup-potsdam.de/234/review-15-5-2012">Idee beim WP Meetup in Potsdam</a> anfing, nimmt nun konkrete Formen an – dank des ermutigenden <a title="Artikel zum WordCamp Berlin 2012 @wpde.org" href="http://blog.wpde.org/2012/05/21/wordcamp-2012-in-berlin.html">Feedback aus der Community</a>. Wer auf dem Laufenden bleiben möchte, folgt am besten <a title="@wordcampberlin" href="http://twitter.com/#!/wordcampberlin">@wordcampberlin</a> bei Twitter. Hashtag für das WordCamp 2012 Berlin: <a title="#wcb12 bei Twitter" href="http://twitter.com/#!/search/%23wcb12">#wcb12</a></p>
]]></content:encoded>
			<wfw:commentRss>http://glueckpress.com/blog/1186/wordcamp-berlin-2012/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vatertag 2012</title>
		<link>http://glueckpress.com/blog/1183/vatertag-2012</link>
		<comments>http://glueckpress.com/blog/1183/vatertag-2012#comments</comments>
		<pubDate>Thu, 17 May 2012 05:21:41 +0000</pubDate>
		<dc:creator>Caspar</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://glueckpress.com/?p=1183</guid>
		<description><![CDATA[Gesunden Vatertag! ☼]]></description>
			<content:encoded><![CDATA[<p>Gesunden Vatertag! ☼</p>
]]></content:encoded>
			<wfw:commentRss>http://glueckpress.com/blog/1183/vatertag-2012/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Bootstrap‘s page header subtext to WordPress titles</title>
		<link>http://glueckpress.com/blog/1162/bootstrap-pageheader-subtext-small-wordpress-titles</link>
		<comments>http://glueckpress.com/blog/1162/bootstrap-pageheader-subtext-small-wordpress-titles#comments</comments>
		<pubDate>Tue, 15 May 2012 15:33:29 +0000</pubDate>
		<dc:creator>Caspar</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[page-header]]></category>
		<category><![CDATA[small]]></category>
		<category><![CDATA[the_title]]></category>

		<guid isPermaLink="false">http://glueckpress.com/?p=1162</guid>
		<description><![CDATA[One thing I love about Bootstrap is its page-header class. It utilizes a &#60;small&#62; element within the &#60;h1&#62; tag and displays a neat subtext for the page or post title. I thought that‘d be nice to wear for WordPress titles &#8230; <a href="http://glueckpress.com/blog/1162/bootstrap-pageheader-subtext-small-wordpress-titles">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One thing I love about <a title="Bootstrap by Twitter" href="http://twitter.github.com/bootstrap/" target="_blank">Bootstrap</a> is its <code>page-header</code> class. It utilizes a <code>&lt;small&gt;</code> element within the <code>&lt;h1&gt;</code> tag and displays a neat subtext for the page or post title. I thought that‘d be nice to wear for WordPress titles (page, post, widget). So I went and wrote a filter function to easily implement the <code>&lt;small&gt;</code> element without having to write actual HTML into the title field. <span id="more-1162"></span></p>
<div id="attachment_1163" class="wp-caption alignnone" style="width: 652px"><a href="http://twitter.github.com/bootstrap/components.html#typography"><img class="size-full wp-image-1163" title="Beautiful page headers served by Twitter‘s Bootstrap" src="http://glueckpress.com/wp-content/uploads/2012/05/2012-05-15_17-06-03.png" alt="Beautiful page headers served by Twitter‘s Bootstrap" width="642" height="186" /></a><p class="wp-caption-text">Beautiful page headers served by Twitter‘s Bootstrap. Subtext created by a &lt;small&gt; tag within &lt;h1&gt;.</p></div>
<p>The function would go into functions.php (obviously). To create the exact output from above, write</p>
<p><strong>Example page header | Subtext for header</strong></p>
<p>into your post title and preview the result. (The delimiter is <em>alt+7</em> on a Mac keyboard.) To actually see the same design, it helps if you have a Bootstrap based theme up and running. <img src='http://glueckpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<pre class="brush: php; title: ; notranslate">&lt;?php

add_filter( 'the_title', 'yourprefix_filter_subtitle', 10, 2 );
add_filter( 'widget_title', 'yourprefix_filter_subtitle', 10, 2 );
function yourprefix_filter_subtitle( $title ) {

 if( empty( $title ) )
 return;

 $substrings = explode( ' | ', $title );

 if( !empty( $substrings[1] ) )
 $title = $substrings[0] . ' &lt;small&gt;' . $substrings[1] . '&lt;/small&gt;';
 else
 $title = $title;

 return $title;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://glueckpress.com/blog/1162/bootstrap-pageheader-subtext-small-wordpress-titles/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Muttertag 2012</title>
		<link>http://glueckpress.com/blog/1160/muttertag-2012</link>
		<comments>http://glueckpress.com/blog/1160/muttertag-2012#comments</comments>
		<pubDate>Sun, 13 May 2012 17:38:08 +0000</pubDate>
		<dc:creator>Caspar</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://glueckpress.com/?p=1160</guid>
		<description><![CDATA[Alles Gute zum #Muttertag! ♥]]></description>
			<content:encoded><![CDATA[<p><strong>Alles Gute zum #Muttertag! ♥</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://glueckpress.com/blog/1160/muttertag-2012/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ministerin will Selbständige abschaffen</title>
		<link>http://glueckpress.com/blog/1158/ministerin-will-selbstandige-abschaffen</link>
		<comments>http://glueckpress.com/blog/1158/ministerin-will-selbstandige-abschaffen#comments</comments>
		<pubDate>Sat, 12 May 2012 09:51:14 +0000</pubDate>
		<dc:creator>Caspar</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[freelancer]]></category>
		<category><![CDATA[rente]]></category>
		<category><![CDATA[selbständig]]></category>

		<guid isPermaLink="false">http://glueckpress.com/?p=1158</guid>
		<description><![CDATA[Das deskmag informiert in einem gestern erschienenen Artikel über die von Ministerin von der Leyen geplante Abschaffung Zwangsschröpfung von Selbständigen und Freiberuflern im Namen der Rente. Neben einer geschichtlichen Übersicht zur Entstehung des deutschen Rentensystems gibt es im Artikel auch eine &#8230; <a href="http://glueckpress.com/blog/1158/ministerin-will-selbstandige-abschaffen">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Das <a title="deskmag.com" href="http://www.deskmag.com/" target="_blank">deskmag</a> informiert in einem gestern erschienenen Artikel über die von Ministerin von der Leyen geplante <del>Abschaffung</del> <a title="Freiberufler sollen mehr zahlen via @deskmag_de" href="http://www.deskmag.com/de/vielen-freiberuflern-droht-naechstes-jahr-das-aus-coworking-376" target="_blank">Zwangsschröpfung von Selbständigen und Freiberuflern</a> im Namen der Rente. Neben einer geschichtlichen Übersicht zur Entstehung des deutschen Rentensystems gibt es im Artikel auch eine Link zu einer entsprechenden <a title="Petition 3943: Grundsatzfragen zum Beitrags- und Versicherungsrecht in der gesetzlichen Rentenversicherung - Keine Rentenversicherungspflicht für Selbständige" href="https://epetitionen.bundestag.de/index.php?action=petition;petition=23835;sa=sign" target="_blank">Petition</a>. Bitte unterzeichnen!</p>
]]></content:encoded>
			<wfw:commentRss>http://glueckpress.com/blog/1158/ministerin-will-selbstandige-abschaffen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Meetup Potsdam Mai 2012</title>
		<link>http://glueckpress.com/blog/1155/wp-meetup-potsdam-mai-2012</link>
		<comments>http://glueckpress.com/blog/1155/wp-meetup-potsdam-mai-2012#comments</comments>
		<pubDate>Sat, 28 Apr 2012 14:45:55 +0000</pubDate>
		<dc:creator>Caspar</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://glueckpress.com/?p=1155</guid>
		<description><![CDATA[Es gibt einen neuen Meetup-Termin für WordPress-Interessierte: Dienstag, 15.5.2012, 18:30 Uhr im Daily Coffee. Näheres bei wpmeetup-potsdam.de]]></description>
			<content:encoded><![CDATA[<p>Es gibt einen neuen Meetup-Termin für WordPress-Interessierte: Dienstag, 15.5.2012, 18:30 Uhr im Daily Coffee. Näheres bei <a title="wpmeetup-potsdam.de" href="http://wpmeetup-potsdam.de/219/wpmeetup-potsdam-mai-2012">wpmeetup-potsdam.de</a></p>
]]></content:encoded>
			<wfw:commentRss>http://glueckpress.com/blog/1155/wp-meetup-potsdam-mai-2012/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAMP + Mac Lion + WordPress + FTP + automatisches Update: Die ultimative (?) Lösung</title>
		<link>http://glueckpress.com/blog/1152/mamp-mac-lion-wordpress-ftp-automatisches-update-loesung</link>
		<comments>http://glueckpress.com/blog/1152/mamp-mac-lion-wordpress-ftp-automatisches-update-loesung#comments</comments>
		<pubDate>Sat, 28 Apr 2012 12:51:12 +0000</pubDate>
		<dc:creator>Caspar</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://glueckpress.com/?p=1152</guid>
		<description><![CDATA[Vielleicht geht&#8217;s dir wie mir, und du suchst seit Ewigkeiten nach einer Lösung, um das Auto-Update in WordPress in deiner MAMP-Umgebung unter Mac Lion zum Laufen zu bringen? In den MAMP-Foren sieht es zu dem Thema leider ziemlich mau aus, &#8230; <a href="http://glueckpress.com/blog/1152/mamp-mac-lion-wordpress-ftp-automatisches-update-loesung">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Vielleicht geht&#8217;s dir wie mir, und du suchst seit Ewigkeiten nach einer Lösung, um das Auto-Update in WordPress in deiner MAMP-Umgebung unter Mac Lion zum Laufen zu bringen? In den MAMP-Foren sieht es zu dem Thema leider ziemlich mau aus, deswegen teile ich hier mal, wie es für mich funktioniert hat.</p>
<p><strong>Bitte erwarte keine Lösung, wenn der hier vorgestellte Weg für dich nicht funktioniert!</strong> Ich habe keinen blassen Schimmer von der Kommandozeile und kann deine Fragen wahrscheinlich nicht beantworten. Versuch&#8217;s einfach mit diesem Ansatz, wenn du verzwiefelt genug bist – für mich hat er Wunder gewirkt! <span id="more-1152"></span></p>
<div class="blue-box"><a title="MAMP + Mac Lion + WordPress + FTP + auto update: The ultimate (?) solution" href="http://glueckpress.com/blog/1140/mamp-mac-lion-wordpress-ftp-auto-update-solution">Read this post in English</a></div>
<p><strong>Originalquelle:</strong> <a title="Originalartikel von soderlind.no" href="http://soderlind.no/archives/2011/08/26/running-wordpress-locally-on-mac-os-x-lion/">http://soderlind.no/archives/2011/08/26/running-wordpress-locally-on-mac-os-x-lion/</a> (Thanks a bunch!)<br />
<strong>Terminologie:</strong> <em>Ordner</em> oder <em>Verzeichnis</em> = alles dasselbe hier.</p>
<h3>1. Prämissen</h3>
<ul>
<li>Du hast MAMP PRO 2.irgendwas auf deinem Mac installiert. (Vielleicht klappt es auch mit MAMP [ohne PRO] oder in einer früheren Version als 2, aber ich habe es nur mit dieser speziellen Version versucht.)</li>
<li>Dein Mac läuft mit OS 10.7.3 Lion. (Dasselbe: Vielleicht funktioniert es auch mit anderen OS-Versionen, aber versucht habe ich es nur mit dieser.)</li>
<li>Dein Benutzerkonto auf deinem Mac hat Administratorrechte, soll heissen: du kannst Software installieren und solche Sachen (wirst du nicht müssen, keine Angst). Wenn du der einzige Benutzer auf deinem Mac bist, stehen die Chancen 99,99prozentig, dass alles klar geht.</li>
<li>Du hast WordPress installiert in einem Unterordner deines <em>Sites</em>(oder <em>Websites</em>)-Ordners. Darum sieht der Pfad zu deinem WordPress-Verzeichnis ungefähr so aus: <em>/Benutzer/DeinMacBenutzername/Sites/dein-wordpress-root-verzeichnis</em>
<ul>
<li>…wobei <em>DeinMacBenutzername</em> natürlich deinem Benutzernamen entspricht. Wenn dein wirklicher Name Peter ist, lautet dein Benutzername vielleicht <em>Peter</em> oder <em>peter</em> oder wie auch immer. Wenn du also <em>DeinMacBenutzername</em> hier siehst, weisst du, womit du das ersetzen musst, stimmt&#8217;s?</li>
<li>…und <em>dein-wordpress-root-verzeichnis</em> ist der Ordner, in dem deine WordPress-Installation liegt. (Das ist der Ordner, wo du die Datei wp-config.php findest, erinnerst du dich?) Wenn du WordPress einfach aus der ZIP-Datei heraus installiert hast, heisst <em>dein-wordpress-root-verzeichnis</em> einfach <em>wordpress</em>.</li>
</ul>
</li>
</ul>
<p>Klar soweit?</p>
<h3>2. Was zu tun ist</h3>
<ul>
<li><strong>LIES DIESEN ARTIKEL EINMAL VON OBEN BIS UNTEN DURCH, BEVOR DU ANFÄNGST, IRGENDETWAS UMZUSETZEN!</strong> Es kann extrem nervig werden, wenn du angefangen hst, irgendwelche Änderungen an deinem Computer umzusetzen und dich mitten drin entscheidest, sie doch lieber wieder rückgängig zu machen. Also lies das hier zuerst mal, und fange erst an mit dem Umsetzen.</li>
<li>Öffne die Datei wp-config.php in deinem WordPress-Verzeichnis. Richtung Ende heisst es da:
<pre class="brush: php; title: ; notranslate">/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
	define('ABSPATH', dirname(__FILE__) . '/');</pre>
</li>
<li>Irgendwo VOR diesen Zeilen füge dies hinzu:
<pre class="brush: php; title: ; notranslate">define('FS_METHOD', 'direct');</pre>
<p>Das wird WordPress davon abhalten, dich während eines Update-Vorgangs nach deinen FTP-Benutzerdaten zu fragen.</li>
<li>Speichere und schliesse die wp-config.php.</li>
<li>Öffne das Programm Terminal auf deinem Mac. Ich hasse es auch, tu&#8217; es einfach. Wenn du nicht weisst, wo es ist, suche nach Terminal in deiner Finder-Suche.</li>
<li>Du wirst jetzt ein paar Zeilen in das Terminal-Fenster eingeben. Wenn es dir wie mir geht, benutzt du Kopieren/Einfügen dazu. Damit das klappt, kannst du die folgenden Zeilen zunächst in einen Texteditor (TextEdit, Coda, o.ä.) schreiben und die notwendigen Änderungen dort vornehmen; danach kannst du sie Zeile für Zeile ins Terminal-Fenster einfügen und nach jeder Zeile die Eingabetaste (Enter/Return) drücken.
<ol>
<li>Schreibe <code>cd /Users/DeinMacBenutzername/Sites</code> und drücke die Eingabetaste. Vorher bitte <em>DeinMacBenutzername</em> korrekt ersetzen!</li>
<li>Schreibe <code>sudo chown -R :_www dein-wordpress-root-verzeichnis</code>. Ersetze <em>dein-wordpress-root-verzeichnis</em> mit deinem Pfad! Dann drücke die Eingabetaste.</li>
<li>Du wirst jetzt nach deinem Passwort gefragt. Tippe es einfach ein – wohlgemerkt: das Passwort deines Mac-Benutzerkontos, nicht dein WordPress-Passwort! Mach&#8217; dir keine Sorgen, wenn du das Passwort nicht siehst, während du es eintippst, das ist ok. Wenn du es fertig getippt hast, drücke die Eingabetaste. Der Terminal springt einfach zur nächsten Zeile. Alles links vom $-Zeichen kann dir egal sein.</li>
<li>Schreibe <code>sudo chmod -R g+w dein-wordpress-root-verzeichnis</code> und ersetze… aber das kennst du ja jetzt. Dann die Eingabetaste drücken.</li>
</ol>
</li>
<li>Fertig. Versuche jetzt, ein Auto-Update in deiner WordPress-Installation laufen zu lassen (z.B. ein Plugin updaten, löschen oder installieren). <strong>Aber Vorsicht: Von jetzt an wird WordPress dich nicht mehr zweimal fragen, ob es diese Dateien wirklich löschen oder aktualisieren soll, sondern einfach tun, was du ihm sagst!</strong> (Das hat natürlich keinen Einfluss auf deine Arbeit mit dem Editor, wenn du Artikel oder Seiten bearbeitest; hier wirst du nach wie vor um Bestätigung für eine Aktion gebeten.)</li>
</ul>
<p>Ich hoffe, das hilft einigen weiter. Nach einmal, wenn du mit diesem Ansatz Probleme haben solltest, frage mich besser <em>nicht</em>, denn ich werde dir kaum Antwort geben können. Wenn du eine bessere Lösung weisst oder diese hier erweitern möchtest, kannst du das natürlich gerne hier posten.</p>
]]></content:encoded>
			<wfw:commentRss>http://glueckpress.com/blog/1152/mamp-mac-lion-wordpress-ftp-automatisches-update-loesung/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAMP + Mac Lion + WordPress + FTP + auto update: The ultimate (?) solution</title>
		<link>http://glueckpress.com/blog/1140/mamp-mac-lion-wordpress-ftp-auto-update-solution</link>
		<comments>http://glueckpress.com/blog/1140/mamp-mac-lion-wordpress-ftp-auto-update-solution#comments</comments>
		<pubDate>Sat, 28 Apr 2012 10:04:21 +0000</pubDate>
		<dc:creator>Caspar</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://glueckpress.com/?p=1140</guid>
		<description><![CDATA[If you are like me, you have been searching forever to get the auto update for plugins and core up and running in your WordPress install in MAMP PRO version 2 on your Mac running Lion. Since the MAMP forums &#8230; <a href="http://glueckpress.com/blog/1140/mamp-mac-lion-wordpress-ftp-auto-update-solution">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are like me, you have been searching forever to get the auto update for plugins and core up and running in your WordPress install in MAMP PRO version 2 on your Mac running Lion. Since the MAMP forums don&#8217;t seem to provide much support on the topic, I&#8217;m going to share how I made it work for me.<br />
<strong>Please don&#8217;t expect me to fix it for you if it doesn&#8217;t work for you!</strong> I&#8217;m not a command-line kind of guy and most likely won&#8217;t be able to answer any of your questions. Just try this approach if you&#8217;re desperate enough – for me it worked like a charm! <span id="more-1140"></span></p>
<div class="blue-box"><a title="MAMP + Mac Lion + WordPress + FTP + automatisches Update: Die ultimative (?) Lösung" href="http://glueckpress.com/blog/1152/mamp-mac-lion-wordpress-ftp-automatisches-update-loesung">Deutsche Version lesen</a></div>
<p><strong>Original source:</strong> <a title="Original post by soderlind.no" href="http://soderlind.no/archives/2011/08/26/running-wordpress-locally-on-mac-os-x-lion/">http://soderlind.no/archives/2011/08/26/running-wordpress-locally-on-mac-os-x-lion/</a> (Thanks a bunch!)<br />
<strong>Terminology:</strong> <em>Folder</em> or <em>directory</em> or <em>dir</em> = all the same thing here.</p>
<h3>1. Premises</h3>
<ul>
<li>You have MAMP PRO 2.something installed on your Mac. (It might work with just MAMP [no PRO] or in any version before 2, but I&#8217;ve only done it in this particular version.)</li>
<li>Your Mac runs OS 10.7.3 Lion. (Again, anything before that or later might work, but I&#8217;ve only done it on that particular version.)</li>
<li>Your user account on your Mac has admin rights, meaning you can install software (you won&#8217;t have to, don&#8217;t worry) and things like that. If you&#8217;re the only user on your Mac, there&#8217;s a 99.99% chance you&#8217;re fine.</li>
<li>You have WordPress installed in a subfolder of your <em>Sites</em> folder. Therefore, the path to your WordPress folder on your Mac looks similar to this: <em>/Users/YourMacUsername/Sites/your-wordpress-root-folder</em>
<ul>
<li>…where <em>YourMacUsername</em> is your username, of course. If your real name is Peter, it might be <em>Peter</em> or <em>peter</em> or whatever. So, whenever you see <em>YourMacUsername</em> here, you know what to replace it with, right?</li>
<li>…and <em>your-wordpress-root-folder</em> is the root folder of your WordPress install. (That&#8217;s is the folder where you find your wp-config.php file, remember?) If you have installed WordPress just out-of-the-box, the name of <em>your-wordpress-root-folder</em> is actually <em>wordpress</em>.</li>
</ul>
</li>
</ul>
<p>Savvy so far?</p>
<h3>2. What to do</h3>
<ul>
<li><strong>READ THIS POST ONCE FROM TOP TO BOTTOM AND UNDERSTAND IT BEFORE YOU START DOING ANYTHING!</strong> It can be a major pita finding yourself in the middle of making modifications on your computer you don&#8217;t understand and deciding you&#8217;d rather revert them. So read first, then start doing something.</li>
<li>Open the wp-config.php file in your WordPress root folder and find the lines at the end of the file where it says:
<pre class="brush: php; title: ; notranslate">/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
	define('ABSPATH', dirname(__FILE__) . '/');</pre>
</li>
<li>Anywhere BEFORE those lines add this:
<pre class="brush: php; title: ; notranslate">define('FS_METHOD', 'direct');</pre>
<p>This will prevent WordPress form asking for your FTP credentials when running the automatic update process.</li>
<li>Save and close the wp-config.php file.</li>
<li>Open the Terminal application on your Mac. I hate it, too, just do it. If you don&#8217;t know where it is, do a search for Terminal in your Finder.</li>
<li>You have to type several things into the Terminal window now. If you&#8217;re like me, you would just paste them there. In order to do so, write out the following lines in a text editor first (TextEdit, Coda, whatever) and make the changes you have to apply; then paste them into the Terminal window one by one and hit Enter after each one.
<ol>
<li>Type in <code>cd /Users/YourMacUsername/Sites</code> and hit Enter. Remember to replace <em>YourMacUsername</em> appropriately!</li>
<li>Type in: <code>sudo chown -R :_www your-wordpress-root-folder</code> Remember to replace <em>your-wordpress-root-folder</em> appropriately! Then hit Enter.</li>
<li>You&#8217;ll be prompted for your password by the Terminal now. Just type in the password of your Mac user account (not WordPress account!!). Don&#8217;t worry if your password doesn&#8217;t show up while you&#8217;re typing, that&#8217;s fine. When you&#8217;ve typed it out, hit Enter. The Terminal just jumps to the next line. Don&#8217;t worry about anything left of the $ sign.</li>
<li>Type in: <code>sudo chmod -R g+w your-wordpress-root-folder</code> Remember to replace… you know the deal by now, don&#8217;t you? Then hit Enter.</li>
</ol>
</li>
<li>Finished. Try to run an auto update in your WordPress install now. For example, update a plugin that needs to be updated, or delete one that needs to be deleted. <strong>But beware: from now on WordPress will not ask you twice before updating or deleting files, it&#8217;ll just go straight ahead and do what you told it to do!</strong> (This doesn&#8217;t affect your normal workflow when you edit posts or pages, of course. The editor will act just as it it did before and double-ask for allowance before applying any changes.)</li>
</ul>
<p>Hope this helps a lot of you out there. Again, if you run into trouble, please <em>don&#8217;t</em> let me know – as I said, I won&#8217;t be able to fix it for you. If you find a better solution or any modifications to this one that might be useful for others, please don&#8217;t hesitate to post them here.</p>
]]></content:encoded>
			<wfw:commentRss>http://glueckpress.com/blog/1140/mamp-mac-lion-wordpress-ftp-auto-update-solution/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Plugin Contact Form 7: Mitgeliefertes CSS und Javascript multisite-freundlich im Theme deaktivieren</title>
		<link>http://glueckpress.com/blog/1125/plugin-contact-form-7-css-javascript-deaktivieren-hook-theme-multisite</link>
		<comments>http://glueckpress.com/blog/1125/plugin-contact-form-7-css-javascript-deaktivieren-hook-theme-multisite#comments</comments>
		<pubDate>Sun, 15 Apr 2012 11:32:09 +0000</pubDate>
		<dc:creator>Caspar</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[contact form 7]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hook]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[multisite]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://glueckpress.com/?p=1125</guid>
		<description><![CDATA[Contact Form 7 dürfte eins der beliebtesten WordPress-Plugins für ein einfaches Kontaktformular sein. Es kommt mit einem anwenderfreundlichen Konfigurationsmenü, inklusive deutscher Übersetzung, und kann out-of-the-box verwendet werden. Styles und Scripts sind von vorne herein aktiviert und werden automatisch mit geladen. &#8230; <a href="http://glueckpress.com/blog/1125/plugin-contact-form-7-css-javascript-deaktivieren-hook-theme-multisite">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a title="Contact Form 7 @wordpress.org" href="http://wordpress.org/extend/plugins/contact-form-7/" target="_blank">Contact Form 7</a> dürfte eins der beliebtesten WordPress-Plugins für ein einfaches Kontaktformular sein. Es kommt mit einem anwenderfreundlichen Konfigurationsmenü, inklusive deutscher Übersetzung, und kann <em>out-of-the-box</em> verwendet werden. Styles und Scripts sind von vorne herein aktiviert und werden automatisch mit geladen.</p>
<p>Soviel Dienstbeflissenheit ist toll, kann aber natürlich auch stören, wenn man etwa eigenes CSS anwenden und nicht jede Zeile des mitgelieferten Stylesheets extra überschreiben möchte.<span id="more-1125"></span></p>
<h3>1. Konstante in wp-config.php</h3>
<p>Der Entwickler des Plugins stellt für diesen Fall zwei Konstanten bereit, die in der <em>wp-config.php</em> im Root-Verzeichnis der WordPress-Installation abgelegt werden mit deren Hilfe das Laden von CSS und Javascript für Contact Form 7 unterbunden werden kann. Auf den Entwicklerseiten wird beschrieben, wie das geht.</p>
<div id="attachment_1126" class="wp-caption alignnone" style="width: 677px"><img class="size-full wp-image-1126" src="http://glueckpress.com/wp-content/uploads/2012/04/2012-04-15_12-25-25.png" alt="Contact Form 7 – Konstanten" width="667" height="356" /><p class="wp-caption-text">Contact Form 7 – Konstanten. Quelle: http://contactform7.com/controlling-behavior-by-setting-constants/</p></div>
<h3>2. Theme-basierter Ansatz für Multisite</h3>
<p>Schön und gut – solange man Zugriff auf das Root-Verzeichnis hat und nur ein einzelnes Blog mit seiner Installation betreibt. Aber was tun in Multisite? Man möchte ja ungern für jedes Blog einzeln die <em>wp-config.php</em> mit Konstanten voll spammen. Für mich hat der folgende Ansatz gut funktioniert:</p>
<p>Fast immer macht es Sinn, (Child-)Themes mit einer eigenen <code>init</code>-Funktion auszustatten, um Scripte und Stylesheets sauber in die Hooks <a title="wp_head @Codex" href="http://codex.wordpress.org/Plugin_API/Action_Reference/wp_head" target="_blank">wp_head</a> und <a title="wp_footer @Codex" href="http://codex.wordpress.org/Plugin_API/Action_Reference/wp_footer" target="_blank">wp_footer</a> laden zu können. In solch einer Funktion können auch die entsprechenden <em>action</em>-Aufrufe des Plugins unterbunden werden.</p>
<pre class="brush: php; title: ; notranslate">function meine_theme_init() {

	// ! - Remove Contact Form 7 stylesheet
	if( function_exists( 'wpcf7_enqueue_styles' ) )
		remove_action( 'wp_enqueue_scripts', 'wpcf7_enqueue_styles' );

	// ! - Remove Contact Form 7 javascript
	if( function_exists( 'wpcf7_enqueue_scripts' ) )
		remove_action( 'wp_enqueue_scripts', 'wpcf7_enqueue_scripts' );
}
add_action( 'init', 'meine_theme_init' );</pre>
<p><strong>Wichtig:</strong> Erst einmal schauen, ob das eigene Theme bereits eine Funktion in den <code>init</code>-Hook lädt! Wenn dem so ist, können die beiden Konditionalen einfach in die vorhandene Funktion mit aufgenommen werden.<br />
Sofern das Theme über eine Setup-Funktion verfügt, die in den Hook <code>after_setup_theme</code> geladen wird, sollte der letzte Aufruf <code>add_action( 'init', 'meine_theme_init' );</code> dort hinein.</p>
<h3>Feedback?</h3>
<p>Benutzt du Contact Form 7 und hast gute Erfahrungen mit einem anderen Ansatz gemacht? Feedback ist, wie immer, hoch willkommen!</p>
]]></content:encoded>
			<wfw:commentRss>http://glueckpress.com/blog/1125/plugin-contact-form-7-css-javascript-deaktivieren-hook-theme-multisite/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Themenabstimmung für WordPress-Treffen in Potsdam</title>
		<link>http://glueckpress.com/blog/1113/themen-abstimmung-wordpress-treffen-wpmeetup-potsdam</link>
		<comments>http://glueckpress.com/blog/1113/themen-abstimmung-wordpress-treffen-wpmeetup-potsdam#comments</comments>
		<pubDate>Fri, 30 Mar 2012 05:29:16 +0000</pubDate>
		<dc:creator>Caspar</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[potsdam]]></category>
		<category><![CDATA[wpdm]]></category>
		<category><![CDATA[wpmeetup]]></category>

		<guid isPermaLink="false">http://glueckpress.com/?p=1113</guid>
		<description><![CDATA[Seit Kurzem haben die WordPress-Treffen (WP Meetups) in Potsdam eine eigene Website. Nun kann dort auch über das jeweilige Thema für den nächsten Termins abgestimmt werden: wpmeetup-potsdam.de/themen Über eure zahlreiche Beteiligung an den Treffen würden sich alle Beteiligten sehr freuen – &#8230; <a href="http://glueckpress.com/blog/1113/themen-abstimmung-wordpress-treffen-wpmeetup-potsdam">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Seit Kurzem haben die <a title="wpmeetup-potsdam.de" href="http://wpmeetup-potsdam.de/" target="_blank">WordPress-Treffen (WP Meetups) in Potsdam</a> eine eigene Website. Nun kann dort auch über das jeweilige Thema für den nächsten Termins abgestimmt werden: <a title="Themenabstimmung @wpmeetup-potsdam.de" href="http://wpmeetup-potsdam.de/themen" target="_blank">wpmeetup-potsdam.de/themen</a></p>
<p>Über eure zahlreiche Beteiligung an den Treffen würden sich alle Beteiligten sehr freuen – je größer die Community, desto vielseitiger der Austausch!Das <a title="Was ist ein WP Meetup?" href="http://wpmeetup-potsdam.de/was-ist-ein-wp-meetup" target="_blank">WP Meetup Potsdam ist offen für alle Interessierten</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://glueckpress.com/blog/1113/themen-abstimmung-wordpress-treffen-wpmeetup-potsdam/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

