<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Babelscribe</title>
	<atom:link href="http://www.babelscribe.com/notes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.babelscribe.com/notes</link>
	<description></description>
	<lastBuildDate>Fri, 17 May 2013 04:05:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=400</generator>
		<item>
		<title>Hard Code Squelch Tabs</title>
		<link>http://www.babelscribe.com/notes/wordpress-3/wordpress-theming/hard-code-squelch-tabs/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hard-code-squelch-tabs</link>
		<comments>http://www.babelscribe.com/notes/wordpress-3/wordpress-theming/hard-code-squelch-tabs/#comments</comments>
		<pubDate>Fri, 17 May 2013 03:22:13 +0000</pubDate>
		<dc:creator>babbler</dc:creator>
				<category><![CDATA[Squelch Tabs and Accordians]]></category>
		<category><![CDATA[Theming]]></category>

		<guid isPermaLink="false">http://www.babelscribe.com/notes/?p=518</guid>
		<description><![CDATA[Hard code the Squelch tabs in a template so you can use scripts inside the tabs.
Install Squelch Tabs and Accordians.
Then in template:
&#60;div id=&#34;squelch-taas-tab-group-0&#34; class=&#34;squelch-taas-tab-group squelch-taas-override&#34; data-title=&#34;&#34; data-disabled=&#34;false&#34; data-collapsible=&#34;false&#34; data-active=&#34;0&#34; data-event=&#34;click&#34;&#62;&#160;&#160;&#160;&#160;&#60;ul&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;li class=&#34;squelch-taas-tab&#34;&#62;&#60;a href=&#34;#squelch-taas-tab-content-0-0&#34;&#62;Title 0&#60;/a&#62;&#60;/li&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;li class=&#34;squelch-taas-tab&#34;&#62;&#60;a href=&#34;#squelch-taas-tab-content-0-1&#34;&#62;Title 1&#60;/a&#62;&#60;/li&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;li class=&#34;squelch-taas-tab&#34;&#62;&#60;a href=&#34;#squelch-taas-tab-content-0-2&#34;&#62;Title 2&#60;/a&#62;&#60;/li&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#60;li class=&#34;squelch-taas-tab&#34;&#62;&#60;a &#8230; <a href="http://www.babelscribe.com/notes/wordpress-3/wordpress-theming/hard-code-squelch-tabs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hard code the Squelch tabs in a template so you can use scripts inside the tabs.</p>
<p><a href="http://squelchdesign.com/wordpress-plugin-squelch-tabs-accordions-shortcodes/" target="_blank">Install Squelch Tabs and Accordians</a>.</p>
<p>Then in template:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="HTML"><div class="devcodeoverflow"><ol><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;squelch-taas-tab-group-0&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;squelch-taas-tab-group squelch-taas-override&quot;</span> data-<span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> data-<span style="color: #000066;">disabled</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span> data-collapsible<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;false&quot;</span> data-active<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> data-event<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;click&quot;</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;squelch-taas-tab&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#squelch-taas-tab-content-0-0&quot;</span>&gt;</span>Title 0<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;squelch-taas-tab&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#squelch-taas-tab-content-0-1&quot;</span>&gt;</span>Title 1<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;squelch-taas-tab&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#squelch-taas-tab-content-0-2&quot;</span>&gt;</span>Title 2<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;squelch-taas-tab&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#squelch-taas-tab-content-0-3&quot;</span>&gt;</span>Title 3<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;squelch-taas-tab-content-0-0&quot;</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Content 0</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- tab-content-0-0 --&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;squelch-taas-tab-content-0-1&quot;</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Content 1</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- tab-content-0-1 --&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;squelch-taas-tab-content-0-2&quot;</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Content 2</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- tab-content-0-2 --&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;squelch-taas-tab-content-0-3&quot;</span>&gt;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Content 3</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- tab-content-0-3 --&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- tab group --&gt;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.babelscribe.com/notes/wordpress-3/wordpress-theming/hard-code-squelch-tabs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Ecommerce Shop Styling Purchase Table in Email Template</title>
		<link>http://www.babelscribe.com/notes/wordpress-3/css/wp-ecommerce-shop-styling-purchase-table-in-email-template/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wp-ecommerce-shop-styling-purchase-table-in-email-template</link>
		<comments>http://www.babelscribe.com/notes/wordpress-3/css/wp-ecommerce-shop-styling-purchase-table-in-email-template/#comments</comments>
		<pubDate>Wed, 01 May 2013 05:56:14 +0000</pubDate>
		<dc:creator>babbler</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[WP Ecommerce]]></category>

		<guid isPermaLink="false">http://www.babelscribe.com/notes/?p=514</guid>
		<description><![CDATA[Using the WP Ecommerce Shop Styling plugin.
Email template product table is improved by adding the following styling to the email template:
#products-table &#123; width: 100%;&#125;#products-table td &#123;padding:5px;&#125;#products-table th&#123;text-align: left;&#125;
]]></description>
			<content:encoded><![CDATA[<p>Using the WP Ecommerce Shop Styling plugin.</p>
<p>Email template product table is improved by adding the following styling to the email template:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="CSS"><div class="devcodeoverflow"><ol><li><span style="color: #cc00cc;">#products-table</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></li><li><span style="color: #cc00cc;">#products-table</span> td <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></li><li><span style="color: #cc00cc;">#products-table</span> th<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.babelscribe.com/notes/wordpress-3/css/wp-ecommerce-shop-styling-purchase-table-in-email-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update Text Using PO Files. Translate Text.</title>
		<link>http://www.babelscribe.com/notes/wordpress-3/update-text-using-po-files-translate-text/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=update-text-using-po-files-translate-text</link>
		<comments>http://www.babelscribe.com/notes/wordpress-3/update-text-using-po-files-translate-text/#comments</comments>
		<pubDate>Mon, 15 Apr 2013 03:07:49 +0000</pubDate>
		<dc:creator>babbler</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Wordpress 3]]></category>
		<category><![CDATA[WP Ecommerce]]></category>

		<guid isPermaLink="false">http://www.babelscribe.com/notes/?p=512</guid>
		<description><![CDATA[A basic guide to translating wp-e-commerce using poEdit
1. Download and Install poEdit : http://www.poedit.net/download.php
2. Run poEdit and open a translation file (.po) from the `wp-e-commerce/languages` folder
3. Go through the list of words / sentences and add in your translations
4. In &#8230; <a href="http://www.babelscribe.com/notes/wordpress-3/update-text-using-po-files-translate-text/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>A basic guide to translating wp-e-commerce using poEdit</h3>
<p>1. Download and Install poEdit : <a href="http://www.poedit.net/download.php">http://www.poedit.net/download.php</a><br />
2. Run poEdit and open a translation file (.po) from the `wp-e-commerce/languages` folder<br />
3. Go through the list of words / sentences and add in your translations<br />
4. In poEdit make sure you have the box checked in Preferences&gt;Editor ‘Automatically Save .mo file on save’<br />
5. Save your translation file in the `wp-e-commerce/languages` folder give it a descriptive name ie: wpsc-en_US means english – american, wpsc-fr_FR means french – france (note: your filename must have ‘wpsc-’ at the start to work)<br />
6. In your wordpress wp-config.php file edit the line that looks like this:<br />
`define (‘WPLANG’, ”);`<br />
with the file name (without extension) inside the second set of quotation marks.<br />
i.e If I saved my mo file as `wpsc-en_BG.mo` then I would change the WPLANG line to:<br />
`define (‘WPLANG’, ‘en_BG’);`<br />
7. Save your wp-config.php<br />
8. Refresh your website in a web browser, your new translations should now be viewable on your site.</p>
<p>References<br />
<a href="http://codex.wordpress.org/WordPress_in_Your_Language">http://codex.wordpress.org/WordPress_in_Your_Language</a><br />
<a href="http://codex.wordpress.org/I18n_for_WordPress_Developers">http://codex.wordpress.org/I18n_for_WordPress_Developers</a><br />
<a href="http://www.forumone.com/blogs/post/translating-your-wordpress-site-using-pot-file">http://www.forumone.com/blogs/post/translating-your-wordpress-site-using-pot-file</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.babelscribe.com/notes/wordpress-3/update-text-using-po-files-translate-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Chrome Minimum Font Size</title>
		<link>http://www.babelscribe.com/notes/wordpress-3/css/disable-chrome-minimum-font-size/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=disable-chrome-minimum-font-size</link>
		<comments>http://www.babelscribe.com/notes/wordpress-3/css/disable-chrome-minimum-font-size/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 02:08:47 +0000</pubDate>
		<dc:creator>babbler</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[General CSS]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.babelscribe.com/notes/?p=509</guid>
		<description><![CDATA[Using CSS:
/*styles for Chrome */@media screen and (-webkit-min-device-pixel-ratio:0) {&#160;&#160;Body &#123;&#160;&#160; -webkit-text-size-adjust:none;&#160;&#160;&#160;&#160;&#125; &#125;
This can cause issues in that it disables zoom for font size but it does remove the issue of Chrome wrecking layouts by increasing font sizes etc
]]></description>
			<content:encoded><![CDATA[<p>Using CSS:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="CSS"><div class="devcodeoverflow"><ol><li></li><li><span style="color: #808080; font-style: italic;">/*styles for Chrome */</span></li><li><span style="color: #a1a100;">@media screen and (-webkit-min-device-pixel-ratio:0) {</span></li><li>&nbsp;&nbsp;Body <span style="color: #00AA00;">&#123;</span></li><li>&nbsp;&nbsp; -webkit-text-size-adjust<span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #00AA00;">&#125;</span></li><li> <span style="color: #00AA00;">&#125;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>This can cause issues in that it disables zoom for font size but it does remove the issue of Chrome wrecking layouts by increasing font sizes etc</p>
]]></content:encoded>
			<wfw:commentRss>http://www.babelscribe.com/notes/wordpress-3/css/disable-chrome-minimum-font-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Ticket Table Headings on Event Page</title>
		<link>http://www.babelscribe.com/notes/wordpress-3/change-ticket-table-headings-on-event-page/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=change-ticket-table-headings-on-event-page</link>
		<comments>http://www.babelscribe.com/notes/wordpress-3/change-ticket-table-headings-on-event-page/#comments</comments>
		<pubDate>Wed, 03 Apr 2013 23:31:57 +0000</pubDate>
		<dc:creator>babbler</dc:creator>
				<category><![CDATA[Events Manager]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Wordpress 3]]></category>

		<guid isPermaLink="false">http://www.babelscribe.com/notes/?p=505</guid>
		<description><![CDATA[To customize the headings on the ticket list on the single events page use this in your theme functions file:
function my_custom_ticket_header&#40;$columns&#41;&#123; $columns = array&#40; 'type' =&#62; __&#40;'Ticket','dbem'&#41;, 'price' =&#62; __&#40;'Price ex.GST','dbem'&#41;, 'spaces' =&#62; __&#40;'Places','dbem'&#41;&#41;; return $columns;&#125;add_filter&#40;'em_booking_form_tickets_cols','my_custom_ticket_header',1,1&#41;;
]]></description>
			<content:encoded><![CDATA[<p>To customize the headings on the ticket list on the single events page use this in your theme functions file:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li><span style="color: #000000; font-weight: bold;">function</span> my_custom_ticket_header<span style="color: #009900;">&#40;</span><span style="color: #000088;">$columns</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span></li><li> <span style="color: #000088;">$columns</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'type'</span> <span style="color: #339933;">=&gt;</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Ticket'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'dbem'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'price'</span> <span style="color: #339933;">=&gt;</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Price ex.GST'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'dbem'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'spaces'</span> <span style="color: #339933;">=&gt;</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Places'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'dbem'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li> <span style="color: #b1b100;">return</span> <span style="color: #000088;">$columns</span><span style="color: #339933;">;</span></li><li><span style="color: #009900;">&#125;</span></li><li>add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'em_booking_form_tickets_cols'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'my_custom_ticket_header'</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.babelscribe.com/notes/wordpress-3/change-ticket-table-headings-on-event-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Override ie.css in TwentyTwelve for Child Theme</title>
		<link>http://www.babelscribe.com/notes/wordpress-3/override-ie-css-in-twentytwelve-for-child-theme/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=override-ie-css-in-twentytwelve-for-child-theme</link>
		<comments>http://www.babelscribe.com/notes/wordpress-3/override-ie-css-in-twentytwelve-for-child-theme/#comments</comments>
		<pubDate>Sun, 31 Mar 2013 23:41:40 +0000</pubDate>
		<dc:creator>babbler</dc:creator>
				<category><![CDATA[2012 Theme]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Wordpress 3]]></category>

		<guid isPermaLink="false">http://www.babelscribe.com/notes/?p=502</guid>
		<description><![CDATA[TwentyTwelve loads ie.css from functions.php so to override it in your child theme use the following in your themes functions.php
// remove ie css from twentytwelve themefunction mytheme_dequeue_styles&#40;&#41; &#123;&#160;&#160; wp_dequeue_style&#40; 'twentytwelve-ie' &#41;; &#125; add_action&#40; 'wp_enqueue_scripts', 'mytheme_dequeue_styles', 11 &#41;;//add new from child &#8230; <a href="http://www.babelscribe.com/notes/wordpress-3/override-ie-css-in-twentytwelve-for-child-theme/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>TwentyTwelve loads ie.css from functions.php so to override it in your child theme use the following in your themes functions.php</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li><span style="color: #666666; font-style: italic;">// remove ie css from twentytwelve theme</span></li><li><span style="color: #000000; font-weight: bold;">function</span> mytheme_dequeue_styles<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></li><li>&nbsp;&nbsp; wp_dequeue_style<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'twentytwelve-ie'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li> <span style="color: #009900;">&#125;</span></li><li> add_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_enqueue_scripts'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'mytheme_dequeue_styles'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">11</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #666666; font-style: italic;">//add new from child theme</span></li><li>wp_enqueue_style<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'mytheme-ie'</span><span style="color: #339933;">,</span> get_stylesheet_directory_uri<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/css/ie.css'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'twentytwelve-style'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'1.0'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #000088;">$wp_styles</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">add_data</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'mytheme-ie'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'conditional'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'lt IE 9'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Place ie.css in your themes css directory.</p>
<p><a title="Original version of this post" href="http://www.fix-css.com/2012/12/remove-ie-css-of-parent-twenty-twelve-theme-and-add-a-copy-of-it-in-your-child-theme/" target="_blank">Original post here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.babelscribe.com/notes/wordpress-3/override-ie-css-in-twentytwelve-for-child-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show Recent Posts in Template</title>
		<link>http://www.babelscribe.com/notes/wordpress-3/show-recent-posts-in-template/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=show-recent-posts-in-template</link>
		<comments>http://www.babelscribe.com/notes/wordpress-3/show-recent-posts-in-template/#comments</comments>
		<pubDate>Fri, 15 Feb 2013 04:45:07 +0000</pubDate>
		<dc:creator>babbler</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Wordpress 3]]></category>

		<guid isPermaLink="false">http://www.babelscribe.com/notes/?p=494</guid>
		<description><![CDATA[In template:
 &#60;?php wp_get_recent_posts&#40; $args &#41; ?&#62; 
Default $args
 &#60;?php $args = array&#40;&#160;&#160;&#160;&#160;'numberposts' =&#62; 10,&#160;&#160;&#160;&#160;'offset' =&#62; 0,&#160;&#160;&#160;&#160;'category' =&#62; 0,&#160;&#160;&#160;&#160;'orderby' =&#62; 'post_date',&#160;&#160;&#160;&#160;'order' =&#62; 'DESC',&#160;&#160;&#160;&#160;'include' =&#62; ,&#160;&#160;&#160;&#160;'exclude' =&#62; ,&#160;&#160;&#160;&#160;'meta_key' =&#62; ,&#160;&#160;&#160;&#160;'meta_value' =&#62;,&#160;&#160;&#160;&#160;'post_type' =&#62; 'post',&#160;&#160;&#160;&#160;'post_status' =&#62; 'draft, publish, future, pending, private',&#160;&#160;&#160;&#160;'suppress_filters' =&#62; true &#8230; <a href="http://www.babelscribe.com/notes/wordpress-3/show-recent-posts-in-template/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In template:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li> <span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_get_recent_posts<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$args</span> <span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> </li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Default $args</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li> <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$args</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'numberposts'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'offset'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'category'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'orderby'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'post_date'</span><span style="color: #339933;">,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'order'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'DESC'</span><span style="color: #339933;">,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'include'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #339933;">,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'exclude'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #339933;">,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'meta_key'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #339933;">,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'meta_value'</span> <span style="color: #339933;">=&gt;,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'post_type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'post'</span><span style="color: #339933;">,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'post_status'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'draft, publish, future, pending, private'</span><span style="color: #339933;">,</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000ff;">'suppress_filters'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> </li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Usage:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>Recent Posts<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span></li><li><span style="color: #000000; font-weight: bold;">&lt;?php</span></li><li> <span style="color: #000088;">$args</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'numberposts'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'5'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li> <span style="color: #000088;">$recent_posts</span> <span style="color: #339933;">=</span> wp_get_recent_posts<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$args</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li> <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$recent_posts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$recent</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span></li><li> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;li&gt;&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$recent</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;ID&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; title=&quot;Look '</span><span style="color: #339933;">.</span>esc_attr<span style="color: #009900;">&#40;</span><span style="color: #000088;">$recent</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_title&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; &gt;'</span> <span style="color: #339933;">.</span>&nbsp;&nbsp; <span style="color: #000088;">$recent</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;post_title&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt; &lt;/li&gt; '</span><span style="color: #339933;">;</span></li><li> <span style="color: #009900;">&#125;</span></li><li><span style="color: #000000; font-weight: bold;">?&gt;</span></li><li><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.babelscribe.com/notes/wordpress-3/show-recent-posts-in-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NextGen Gallery Image Object</title>
		<link>http://www.babelscribe.com/notes/wordpress-3/nextgen-gallery-image-object/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nextgen-gallery-image-object</link>
		<comments>http://www.babelscribe.com/notes/wordpress-3/nextgen-gallery-image-object/#comments</comments>
		<pubDate>Wed, 13 Feb 2013 02:02:43 +0000</pubDate>
		<dc:creator>babbler</dc:creator>
				<category><![CDATA[NextGen Gallery]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Wordpress 3]]></category>

		<guid isPermaLink="false">http://www.babelscribe.com/notes/?p=484</guid>
		<description><![CDATA[The following is a print out of the $image object used in galleries:
Note: [*caption] * added because &#8216;caption&#8217; seems to be a reserved word
nggImage Object ( [errmsg] =&#62; [error] =&#62; [imageURL] =&#62; http://yoursite.com/wp-content/gallery/logos/wd-logo.jpg [thumbURL] =&#62; http://yoursite.com/wp-content/gallery/logos/thumbs/thumbs_wd-logo.jpg [imagePath] =&#62; /home/username/public_html/wp-content/gallery/logos/wd-logo.jpg [thumbPath] &#8230; <a href="http://www.babelscribe.com/notes/wordpress-3/nextgen-gallery-image-object/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The following is a print out of the $image object used in galleries:</p>
<p>Note: [*caption] * added because &#8216;caption&#8217; seems to be a reserved word</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="HTML"><div class="devcodeoverflow"><ol><li>nggImage Object ( </li><li>[errmsg] =&gt; </li><li>[error] =&gt; </li><li>[imageURL] =&gt; http://yoursite.com/wp-content/gallery/logos/wd-logo.jpg </li><li>[thumbURL] =&gt; http://yoursite.com/wp-content/gallery/logos/thumbs/thumbs_wd-logo.jpg </li><li>[imagePath] =&gt; /home/username/public_html/wp-content/gallery/logos/wd-logo.jpg </li><li>[thumbPath] =&gt; /home/username/public_html/wp-content/gallery/logos/thumbs/thumbs_wd-logo.jpg </li><li>[href] =&gt; </li><li>[thumbPrefix] =&gt; thumbs_ </li><li>[thumbFolder] =&gt; /thumbs/ </li><li>[galleryid] =&gt; 7 </li><li>[pid] =&gt; 101 </li><li>[filename] =&gt; wd-logo.jpg </li><li>[description] =&gt; </li><li>[alttext] =&gt; letter head 1 </li><li>[imagedate] =&gt; 2013-02-13 01:09:14 </li><li>[exclude] =&gt; 0 </li><li>[thumbcode] =&gt; </li><li>[name] =&gt; logos </li><li>[path] =&gt; wp-content/gallery/logos</li><li>[title] =&gt;Logos</li><li>[pageid] =&gt; 0 </li><li>[previewpic] =&gt; 101 </li><li>[permalink] =&gt; </li><li>[image_slug] =&gt; wd-logo </li><li>[post_id] =&gt; 0 </li><li>[sortorder] =&gt; 0 </li><li>[meta_data] =&gt;&nbsp;&nbsp;Array ( </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[0] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[aperture] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[credit] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[camera] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[*caption] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[created_timestamp] =&gt;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;[copyright] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[focal_length] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[iso] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[shutter_speed] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[flash] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[title] =&gt; letter head 1 </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[keywords] =&gt; </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[width] =&gt; 800 </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[height] =&gt; 244 </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[saved] =&gt; 1 </li><li>&nbsp;&nbsp;&nbsp;&nbsp;[thumbnail] =&gt; Array( </li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[width] =&gt; 150 </li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[height] =&gt; 150 </li><li>&nbsp;&nbsp;&nbsp;&nbsp;) </li><li>) </li><li>[gid] =&gt; 7 </li><li>[slug] =&gt; logos </li><li>[galdesc] =&gt; </li><li>[author] =&gt; 1 </li><li>[imageHTML] =&gt;</li><li>[hidden] =&gt; </li><li>[style] =&gt; </li><li>[pidlink] =&gt; /directory/?pid=101 </li><li>[url] =&gt; http://yoursite.com/wp-content/gallery/logos/wd-logo.jpg </li><li>[thumbnailURL] =&gt; http://yoursite.com/wp-content/gallery/logos/thumbs/thumbs_wd-logo.jpg </li><li>[size] =&gt; width=&quot;150&quot; height=&quot;150&quot; </li><li> =&gt;&nbsp;&nbsp; </li><li>[ngg_custom_fields] =&gt; Array ( ) ) </li><li></li></ol></div></pre><!--END_DEVFMTCODE--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.babelscribe.com/notes/wordpress-3/nextgen-gallery-image-object/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Contact Form 7 Stop Email Being Sent</title>
		<link>http://www.babelscribe.com/notes/wordpress-3/contact-form-7-stop-email-being-sent/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=contact-form-7-stop-email-being-sent</link>
		<comments>http://www.babelscribe.com/notes/wordpress-3/contact-form-7-stop-email-being-sent/#comments</comments>
		<pubDate>Fri, 08 Feb 2013 01:23:28 +0000</pubDate>
		<dc:creator>babbler</dc:creator>
				<category><![CDATA[Contact Form 7]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Wordpress 3]]></category>

		<guid isPermaLink="false">http://www.babelscribe.com/notes/?p=481</guid>
		<description><![CDATA[To prevent the form sending its email use this in themes functions.php within a function: (might no longer work with WP3.5)
// stop email being sent $wpcf7-&#62;skip_mail = 1;
or put this in the additional settings field of the form
demo_mode: on
]]></description>
			<content:encoded><![CDATA[<p>To prevent the form sending its email use this in themes functions.php within a function: (might no longer work with WP3.5)</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li><span style="color: #666666; font-style: italic;">// stop email being sent</span></li><li> <span style="color: #000088;">$wpcf7</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">skip_mail</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>or put this in the additional settings field of the form</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li>demo_mode<span style="color: #339933;">:</span> on</li></ol></div></pre><!--END_DEVFMTCODE--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.babelscribe.com/notes/wordpress-3/contact-form-7-stop-email-being-sent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Contact Form 7 Change Action URL</title>
		<link>http://www.babelscribe.com/notes/wordpress-3/contact-form-7-change-action-url/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=contact-form-7-change-action-url</link>
		<comments>http://www.babelscribe.com/notes/wordpress-3/contact-form-7-change-action-url/#comments</comments>
		<pubDate>Fri, 08 Feb 2013 01:19:39 +0000</pubDate>
		<dc:creator>babbler</dc:creator>
				<category><![CDATA[Contact Form 7]]></category>
		<category><![CDATA[Wordpress 3]]></category>

		<guid isPermaLink="false">http://www.babelscribe.com/notes/?p=477</guid>
		<description><![CDATA[To send form output to a different file put this in themes functions.php.
This code also limits this change to page 434 and adds the $wpcf7-&#62;skip_mail function to stop the form sending an email.
//change action url of paystation formadd_filter&#40;'wpcf7_form_action_url', 'wpcf7_custom_form_action_url'&#41;;function wpcf7_custom_form_action_url&#40;$url&#41;&#123;&#160;&#160;&#160;&#160;global &#8230; <a href="http://www.babelscribe.com/notes/wordpress-3/contact-form-7-change-action-url/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To send form output to a different file put this in themes functions.php.</p>
<p>This code also limits this change to page 434 and adds the $wpcf7-&gt;skip_mail function to stop the form sending an email.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="PHP"><div class="devcodeoverflow"><ol><li><span style="color: #666666; font-style: italic;">//change action url of paystation form</span></li><li>add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wpcf7_form_action_url'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wpcf7_custom_form_action_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #000000; font-weight: bold;">function</span> wpcf7_custom_form_action_url<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span></li><li><span style="color: #009900;">&#123;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #339933;">===</span> <span style="color: #cc66cc;">434</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #666666; font-style: italic;">//its the payments page</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'/wp-content/themes/mytheme/refresh.php'</span><span style="color: #339933;">;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #666666; font-style: italic;">// stop email being sent</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #000088;">$wpcf7</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">skip_mail</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #b1b100;">return</span> <span style="color: #000088;">$url</span><span style="color: #339933;">;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #009900;">&#125;</span></li><li> <span style="color: #009900;">&#125;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Form data is POSTed to refresh.php but the form ajax will keep the initial page loaded.</p>
<p>To redirect to the second file you can disable the Contact Form 7 scripts as described <a title="Load Contact Form 7 JS Scripts Only When Needed" href="http://www.babelscribe.com/notes/wordpress-3/load-contactform7-scripts-only-when-needed/">here</a></p>
<p>This removes validation but this can be added using a custom script as described <a title="Load Custom JS Scripts" href="http://www.babelscribe.com/notes/wordpress-3/load-custom-js-scripts/">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.babelscribe.com/notes/wordpress-3/contact-form-7-change-action-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
