<?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>Gold Coast Web Design</title>
	
	<link>http://www.mattabrahams.com.au</link>
	<description>Gold Coast WordPress Designer</description>
	<lastBuildDate>Mon, 04 Mar 2013 00:27:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/MattAbrahams" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="mattabrahams" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Gold Coast Online Business Directory</title>
		<link>http://www.mattabrahams.com.au/gold-coast-online-business-directory/</link>
		<comments>http://www.mattabrahams.com.au/gold-coast-online-business-directory/#comments</comments>
		<pubDate>Mon, 04 Mar 2013 00:27:13 +0000</pubDate>
		<dc:creator>dev</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[business directory]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[online directory]]></category>

		<guid isPermaLink="false">http://www.mattabrahams.com.au/?p=1423</guid>
		<description><![CDATA[<p>My latest project at Gold Coast Websites is building an Online Directory specifically for Gold Coast Businesses. All listings are free for any Gold Coast business and you can promote your Business Services. Some of<a class="more-link" href="http://www.mattabrahams.com.au/gold-coast-online-business-directory/"> continue reading..</a></p><p>The post <a href="http://www.mattabrahams.com.au/gold-coast-online-business-directory/">Gold Coast Online Business Directory</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>My latest project at Gold Coast Websites is building an Online Directory specifically for Gold Coast Businesses.</p>
<p>All listings are free for any Gold Coast business and you can promote your Business Services. Some of the features included with your listing are:</p>
<ul>
<li>Free backlink</li>
<li>Business description</li>
<li>Contact details</li>
<li>Google Map</li>
</ul>
<p>We are planning major updates to our directory in the coming months so to help build our reputation we are keeping directory listings free.</p>
<p>Check it out and submit your business &#8211; <a href="http://goldcoastonlinedirectory.com.au/" title="Gold Coast Business Directory">Gold Coast Online Business Directory</a></p>
<p>The post <a href="http://www.mattabrahams.com.au/gold-coast-online-business-directory/">Gold Coast Online Business Directory</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mattabrahams.com.au/gold-coast-online-business-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 tips for securing your WordPress website</title>
		<link>http://www.mattabrahams.com.au/5-tips-for-securing-your-wordpress-website/</link>
		<comments>http://www.mattabrahams.com.au/5-tips-for-securing-your-wordpress-website/#comments</comments>
		<pubDate>Sun, 02 Sep 2012 23:26:52 +0000</pubDate>
		<dc:creator>matta91</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.mattabrahams.com.au/?p=1268</guid>
		<description><![CDATA[<p>In this blog post I will share with you 5 tips for securing your WordPress website. Remove user Admin When you first setup a WordPress site the default username is set to admin. If someone<a class="more-link" href="http://www.mattabrahams.com.au/5-tips-for-securing-your-wordpress-website/"> continue reading..</a></p><p>The post <a href="http://www.mattabrahams.com.au/5-tips-for-securing-your-wordpress-website/">5 tips for securing your WordPress website</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>In this blog post I will share with you 5 tips for securing your WordPress website.</p>
<h2>Remove user Admin</h2>
<p>When you first setup a WordPress site the default username is set to admin. If someone is trying to guess your WordPress login, the username admin will be the first one they try. So its a good idea to use something other than admin</p>
<h2>Create strong Passwords</h2>
<p>For any login site you should be creating strong passwords and WordPress login is no different. Every few months you should also be changing this password, especially if you use it more than once on the web.</p>
<h2>Remove install file</h2>
<p>This is a common missed step and it only takes a few seconds to change. Simply just delete the wp-admin/install.php file after installing WordPress for further security.</p>
<h2>Secure wp-config</h2>
<p>The wp-config files contains important information, such as MySQL details, database details and debugging, so its important to keep this file secure. One way of doing this is to always generate unique authentication keys for each WordPress installation wp-config file. You can find them here <a href="https://api.wordpress.org/secret-key/1.1/salt/" title="WordPress Security">WordPress Security keys</a></p>
<h2>Backup!</h2>
<p>Probably the worst thing that can happen to your site is losing all your WordPress data, that&#8217;s why a solid backup process is extremely important. A good process for backups is to have a weekly backup of your WordPress database and a monthly backup of your Full site including database and files. Also, try not to rely on your Webhost for a backup file as they don&#8217;t always keep them updated or stored, you will probably find this in their terms and conditions.</p>
<p>If your a developer and need a premium plugin, <a href="http://ithemes.com/purchase/backupbuddy/" title="WordPress Backup solution">BackupBuddy</a> is one of the best out there.</p>
<p>Thanks for reading!</p>
<p>The post <a href="http://www.mattabrahams.com.au/5-tips-for-securing-your-wordpress-website/">5 tips for securing your WordPress website</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mattabrahams.com.au/5-tips-for-securing-your-wordpress-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to improve your WordPress SEO</title>
		<link>http://www.mattabrahams.com.au/how-to-improve-your-wordpress-seo/</link>
		<comments>http://www.mattabrahams.com.au/how-to-improve-your-wordpress-seo/#comments</comments>
		<pubDate>Fri, 10 Aug 2012 00:18:17 +0000</pubDate>
		<dc:creator>matta91</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://mattabrahams.com.au/?p=1142</guid>
		<description><![CDATA[<p>Today I'm going to share with you a few tips for improving your WordPress Search Engine Optimisation.</p><p>The post <a href="http://www.mattabrahams.com.au/how-to-improve-your-wordpress-seo/">How to improve your WordPress SEO</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Today I&#8217;m going to share with you a few tips for improving your WordPress Search Engine Optimisation.</p>
<h2>Why is WordPress so good for SEO?</h2>
<h3>Clean permalink structure</h3>
<p>With a WordPress site the . However, by default WordPress sets your permalinks to an ugly structure that looks something like this yourdomain.com/?p=123, this is terrible for SEO because Google has no idea what that number means and it has no information of the page content.</p>
<p>To change this go to Permalinks under the Settings menu in WordPress and select Post name. If you can&#8217;t access the settings menu, then ask your developer to change your permalinks.</p>
<h3>Fresh content</h3>
<p>If you have a WordPress site then you have a blog, its that easy. The SEO benefits of blogging are great because with a WordPress blog most articles will reach the first page in a google search with the right title and keywords.</p>
<h2>Useful SEO Plugins</h2>
<h3>Google Sitemap</h3>
<p>Having a Google Sitemap is important for maintaining your sites ranking so if you blog or add pages daily then a sitemap will help your SEO. To maintain your site&#8217;s rankings I would suggest installing a Google Sitemap plugin <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/" title="Google Sitemap">http://wordpress.org/extend/plugins/google-sitemap-generator/</a>. With this plugin you can choose the index your pages daily, weekly or monthly.</p>
<h3>All in One SEO pack</h3>
<p>Another excellent SEO plugin would be All in one SEO pack <a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/" title="ALL in one SEO pack">http://wordpress.org/extend/plugins/all-in-one-seo-pack/</a>.</p>
<p>Once you install this plugin you can play around with the settings depending on your site. The best settings to use are: </p>
<ul>
<li>Make sure Canonical URLs are checked</li>
<li>Check Rewrite Titles check box</li>
<li>Do not use any META keyword tags</li>
<li>Use “noindex” for archives and tag archives</li>
<li>Uncheck Autogenerate Descriptions</li>
<li>Do not add keywords on each page/post</li>
</ul>
<h3>SEO Friendly Images</h3>
<p>If you are photographer or you just have a large amount of photos then going through each one and adding descriptions is going to be a pain.</p>
<p>Install the SEO Friendly Images plugin and it will help you out <a href="http://wordpress.org/extend/plugins/seo-image/" title="SEO Friendly Images">SEO Friendly Images</a>.</p>
<p>There you have it a few helpful tips for your WordPress SEO.</p>
<p>The post <a href="http://www.mattabrahams.com.au/how-to-improve-your-wordpress-seo/">How to improve your WordPress SEO</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mattabrahams.com.au/how-to-improve-your-wordpress-seo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to easily setup a blog in WordPress</title>
		<link>http://www.mattabrahams.com.au/how-to-easily-setup-a-blog-in-wordpress/</link>
		<comments>http://www.mattabrahams.com.au/how-to-easily-setup-a-blog-in-wordpress/#comments</comments>
		<pubDate>Mon, 23 Jul 2012 00:08:28 +0000</pubDate>
		<dc:creator>matta91</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[clients]]></category>
		<category><![CDATA[questions]]></category>

		<guid isPermaLink="false">http://mattabrahams.com.au/?p=1143</guid>
		<description><![CDATA[<p>A site owner emailed me a few months ago wondering if I could add a blog section to his existing WordPress site. With the following instructions he was able to setup in WordPress.. Create a<a class="more-link" href="http://www.mattabrahams.com.au/how-to-easily-setup-a-blog-in-wordpress/"> continue reading..</a></p><p>The post <a href="http://www.mattabrahams.com.au/how-to-easily-setup-a-blog-in-wordpress/">How to easily setup a blog in WordPress</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>A site owner emailed me a few months ago wondering if I could add a blog section to his existing WordPress site. With the following instructions he was able to setup in WordPress..</p>
<ul class="list">
<li>Create a new page called &#8220;Blog&#8221; with the default template</li>
<li>Under settings in the WordPress Main menu select the reading section</li>
<li>Under &#8220;front page displays&#8221; select &#8220;A static page&#8221;</li>
<li>In the posts page dropdown choose the blog page you created</li>
<li>Finally, head to appearance > menus and add blog to the main menu, then save menu</li>
</ul>
<p>*This is based on how most WordPress sites are built</p>
<p>This is just one of the many reasons why WordPress is so client friendly!</p>
<p>The post <a href="http://www.mattabrahams.com.au/how-to-easily-setup-a-blog-in-wordpress/">How to easily setup a blog in WordPress</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mattabrahams.com.au/how-to-easily-setup-a-blog-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Heatmap testing for WordPress websites</title>
		<link>http://www.mattabrahams.com.au/free-heatmap-testing-for-wordpress-websites/</link>
		<comments>http://www.mattabrahams.com.au/free-heatmap-testing-for-wordpress-websites/#comments</comments>
		<pubDate>Mon, 09 Jul 2012 02:30:59 +0000</pubDate>
		<dc:creator>matta91</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[heatmaps]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://mattabrahams.com.au/?p=1107</guid>
		<description><![CDATA[<p>I'm offering 5 new and existing clients with a WordPress website free heatmap testing for 3 week time periods.</p><p>The post <a href="http://www.mattabrahams.com.au/free-heatmap-testing-for-wordpress-websites/">Free Heatmap testing for WordPress websites</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m offering 5 new and existing clients with a WordPress website free heatmap testing for 3 week time periods.</p>
<h2>What is a heatmap?</h2>
<p>A Heatmap is an easy way to understand what users do on your site. It’s a visual representation showing you where users click and what they do.</p>
<h2>Why do you need heatmap testing?</h2>
<ul class="list">
<li>Heatmap reports let you see what&#8217;s hot and what&#8217;s not, so you can make changes that increase conversion</li>
<li>Even tools like Google Analytics can&#8217;t provide you this information</li>
<li>You&#8217;ll see your first results within a couple of hours, even if you have low traffic</li>
</ul>
<p><small>Credits &#8211; <a href="http://www.crazyegg.com">http://www.crazyegg.com</a></small></p>
<h2>What you need</h2>
<p>You only need a WordPress website to get started!</p>
<h2>What I do</h2>
<ul class="list">
<li>Install the heatmap plugin</li>
<li>Analyse your heatmap after the 3 weeks is over</li>
<li>Suggest design changes with you</li>
</ul>
<p>Fill out this form to get started: </p>
[contact-form-7]
<p>The post <a href="http://www.mattabrahams.com.au/free-heatmap-testing-for-wordpress-websites/">Free Heatmap testing for WordPress websites</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mattabrahams.com.au/free-heatmap-testing-for-wordpress-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to annoy your website visitors</title>
		<link>http://www.mattabrahams.com.au/how-to-annoy-your-website-visitors/</link>
		<comments>http://www.mattabrahams.com.au/how-to-annoy-your-website-visitors/#comments</comments>
		<pubDate>Mon, 11 Jun 2012 06:20:06 +0000</pubDate>
		<dc:creator>matta91</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://mattabrahams.com.au/?p=1070</guid>
		<description><![CDATA[<p>Newsletter Popups A newsletter popup that displays before the user has even read your content isn&#8217;t ideal and will not increase conversion. If users want to subscribe to your newsletter they don&#8217;t need to see<a class="more-link" href="http://www.mattabrahams.com.au/how-to-annoy-your-website-visitors/"> continue reading..</a></p><p>The post <a href="http://www.mattabrahams.com.au/how-to-annoy-your-website-visitors/">How to annoy your website visitors</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><span id="more-1070"></span><br />
<h2>Newsletter Popups</h2>
<p>A newsletter popup that displays before the user has even read your content isn&#8217;t ideal and will not increase conversion. If users want to subscribe to your newsletter they don&#8217;t need to see this popup on every page. A better way of showcasing your signup form is to put it above the fold of your website. </p>
<h2>Overcrowed with ads</h2>
<p>Users want to read your content with minimal distractions so having ads crowded all over your site is not going to please them. Instead you should include ads where users can see them but don&#8217;t distract from your content.</p>
<h2>Difficult navigation</h2>
<p>A general rule for website navigation is too not have content hidden behind three links otherwise users will give up on finding what they were searching for. Two good ways of avoiding this problem is too have either a sub menu of links in the main navigation and breadcrumbs that show which page the user is on.</p>
<h2>Splash pages</h2>
<p>Visitors have already decided to visit your website so why do they need to click another link to enter your site? Unless your running a promotion a splash page will annoy visitors and will leave your site before even checking your homepage.</p>
<h2>Slow loading website</h2>
<p>Most users are in a rush or have little patience for a slow loading page. Generally a page that takes over 5 seconds to load will not encourage users to sit around and wait.</p>
<p>If you are running on WordPress you can install these plugins to improve overall website speed:</p>
<p>W3 Total Cache &#8211; <a href="http://wordpress.org/extend/plugins/w3-total-cache/">http://wordpress.org/extend/plugins/w3-total-cache/</a></p>
<p>WP Smush.it &#8211; <a href="http://wordpress.org/extend/plugins/wp-smushit/">http://wordpress.org/extend/plugins/wp-smushit/</a></p>
<p>I&#8217;d also suggest only installing plugins that are absolutely necessary as plugin can slow your site down.</p>
<p>Thanks for reading! <img src="http://www.mattabrahams.com.au/wp-includes/images/smilies/icon_smile.gif?9d7bd4" alt=':)' class='wp-smiley' /> </p>
<p>The post <a href="http://www.mattabrahams.com.au/how-to-annoy-your-website-visitors/">How to annoy your website visitors</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mattabrahams.com.au/how-to-annoy-your-website-visitors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Five reasons to hire a freelance web designer</title>
		<link>http://www.mattabrahams.com.au/five-reasons-to-hire-a-freelance-web-designer/</link>
		<comments>http://www.mattabrahams.com.au/five-reasons-to-hire-a-freelance-web-designer/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 09:43:51 +0000</pubDate>
		<dc:creator>matta91</dc:creator>
				<category><![CDATA[Freelancing]]></category>
		<category><![CDATA[clients]]></category>
		<category><![CDATA[communication]]></category>

		<guid isPermaLink="false">http://mattabrahams.com.au/?p=641</guid>
		<description><![CDATA[<p>There are many benefits of hiring a freelancer and here are five reasons that I think are important for you to consider.</p><p>The post <a href="http://www.mattabrahams.com.au/five-reasons-to-hire-a-freelance-web-designer/">Five reasons to hire a freelance web designer</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Communication</h2>
<p>When you work with a freelancer you are almost always communicating one on one with them throughout the project. As a result, this cuts out a lot of miscommuncation on the project scope and goals.</p>
<h2>Availability</h2>
<p>Most freelancers are available outside of normal business hours via email, phone or skype. Obviously it depends on how they like to communicate with you so always ask your freelancer how they like to be contacted.</p>
<h2>Competitive rates</h2>
<p>Using a freelancer is generally cheaper than an agency because they don&#8217;t have as many expenses and resources to account for. However, that doesn&#8217;t mean that the quality of work is compromised as I explain in the next section low quality work will reflect on a freelancer&#8217;s reputation.</p>
<h2>Care factor</h2>
<p>The success of a freelance business depends heavily on reputation. Therefore, a good freelancer will always complete the job as well as possible which sometimes makes it a better bet than a company that subcontracts the work to third parties. Also referals are a great way of gaining repeat business so a freelancer must leave a good impression on their clients</p>
<h2>Lasting relationships</h2>
<p>Clients are the lifeblood of any freelance business and how a freelancer deals with clients reflects on their brand. Therefore, building a strong relationship between a freelancer and clients is beneficial to both.</p>
<h2>What do you like about working with freelancers?</h2>
<p>Leave a comment below about your experiences with freelancers</p>
<p>The post <a href="http://www.mattabrahams.com.au/five-reasons-to-hire-a-freelance-web-designer/">Five reasons to hire a freelance web designer</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mattabrahams.com.au/five-reasons-to-hire-a-freelance-web-designer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a simple Business Hours widget</title>
		<link>http://www.mattabrahams.com.au/how-to-create-a-simple-business-hours-widget/</link>
		<comments>http://www.mattabrahams.com.au/how-to-create-a-simple-business-hours-widget/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 09:35:09 +0000</pubDate>
		<dc:creator>matta91</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://mattabrahams.id.au/?p=475</guid>
		<description><![CDATA[<p>Today I&#8217;m going to show you how to create a simple Business hours custom widget. This could be useful for giving your wordpress clients an easy way to show their customers when there open. Firstly,<a class="more-link" href="http://www.mattabrahams.com.au/how-to-create-a-simple-business-hours-widget/"> continue reading..</a></p><p>The post <a href="http://www.mattabrahams.com.au/how-to-create-a-simple-business-hours-widget/">How to create a simple Business Hours widget</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Today I&#8217;m going to show you how to create a simple Business hours custom widget.<span id="more-475"></span> This could be useful for giving your wordpress clients an easy way to show their customers when there open.</p>
<p><img src="/wp-content/uploads/2012/02/opening-widget011.png?9d7bd4" alt="Business hours widget" title="opening-widget01" width="350" height="505" class="alignleft size-full wp-image-691" /></p>
<p>Firstly, we will be coding this widget in a theme with a seperate file linking to your functions file. So create a new php file called, &#8220;opening-widget&#8221; and in your functions file add:</p>
<p>[code lang="js"]include(&quot;functions/opening-widget.php&quot;);[/code]</p>
<h2>Register widget</h2>
<p>In this section we register our widget with WordPress and add the functions to widgets_init.</p>
<p>[code lang="js"]<br />
// Register widget<br />
function load_opening() {<br />
	register_widget( 'Opening_Widget' );<br />
}</p>
<p>// Add the function to widgets_init<br />
add_action( 'widgets_init', 'load_opening' );<br />
[/code]</p>
<h2>Setup widget</h2>
<p>Next we setup the widget&#8217;s description and control settings. We also create the widget to display in the WordPress widgets section.</p>
<p>[code lang="js"]<br />
class opening_widget extends WP_Widget {</p>
<p>	/* Widget setup */<br />
	function Opening_Widget() {</p>
<p>		// Widget settings<br />
		$widget_ops = array('classname' =&gt; 'opening_widget','description' =&gt; __('A widget that displays your opening hours!', 'textdomain'));</p>
<p>		// Widget control settings<br />
		$control_ops = array('width' =&gt; 300,'height' =&gt; 350, 'id_base' =&gt; 'opening_widget');</p>
<p>		// Create widget<br />
		$this-&gt;WP_Widget( 'opening_widget', __('Custom Opening Hours Widget', 'textdomain'), $widget_ops, $control_ops );</p>
<p>	}</p>
<p>[/code]</p>
<h2>Display widget</h2>
<p>In this section we create new instances for each day so they are saved for outputing them onto the page. Then simply adding a ul list to print out what value each day has from the input areas in the widget settings.</p>
<p>[code lang="js"]<br />
	/* Display Widget */<br />
	function widget( $args, $instance ) {<br />
		extract( $args );</p>
<p>		// The variables from the Widget settings<br />
		$title = apply_filters('widget_title', $instance['title'] );</p>
<p>		$mon 	= $instance['monday'];<br />
		$tues   = $instance['tuesday'];<br />
		$wed    = $instance['wednesday'];<br />
		$thurs  = $instance['thursday'];<br />
		$fri 	= $instance['friday'];<br />
		$sat 	= $instance['saturday'];<br />
		$sun 	= $instance['sunday'];</p>
<p>		// Before widget<br />
		echo $before_widget;</p>
<p>		// Display the widget title if one was added by the user<br />
		if ( $title )<br />
			echo $before_title . $title . $after_title;</p>
<p>			// Display Opening Hours widget<br />
			?&gt;<br />
				&lt;ul class=&quot;no-list-style&quot;&gt;<br />
                	&lt;li&gt;&lt;span class=&quot;day&quot;&gt;Monday: &lt;/span&gt;&lt;?php echo $mon ?&gt;&lt;/li&gt;<br />
                    &lt;li&gt;&lt;span class=&quot;day&quot;&gt;Tuesday: &lt;/span&gt;&lt;?php echo $tues ?&gt;&lt;/li&gt;<br />
                    &lt;li&gt;&lt;span class=&quot;day&quot;&gt;Wednesday: &lt;/span&gt;&lt;?php echo $wed ?&gt;&lt;/li&gt;<br />
                    &lt;li&gt;&lt;span class=&quot;day&quot;&gt;Thursday: &lt;/span&gt;&lt;?php echo $thurs ?&gt;&lt;/li&gt;<br />
                    &lt;li&gt;&lt;span class=&quot;day&quot;&gt;Friday: &lt;/span&gt;&lt;?php echo $fri ?&gt;&lt;/li&gt;<br />
                    &lt;li&gt;&lt;span class=&quot;day&quot;&gt;Saturday: &lt;/span&gt;&lt;?php echo $sat ?&gt;&lt;/li&gt;<br />
                    &lt;li&gt;&lt;span class=&quot;day&quot;&gt;Sunday: &lt;/span&gt;&lt;?php echo $sun ?&gt;&lt;/li&gt;<br />
                &lt;/ul&gt;<br />
			&lt;?php</p>
<p>		// After widget<br />
		echo $after_widget;</p>
<p>	}</p>
<p>[/code]</p>
<h2>Update widget</h2>
<p>Updating the widget involves stripping any tags from the text inputs.</p>
<p>[code lang="js"]<br />
	/* Update Widget */<br />
	function update( $new_instance, $old_instance ) {</p>
<p>		$instance = $old_instance;</p>
<p>		// Strip tags to remove HTML<br />
		$instance['title'] 		= strip_tags( $new_instance['title'] );</p>
<p>		$instance['monday'] 	= strip_tags( $new_instance['monday'] );</p>
<p>		$instance['tuesday'] 	= strip_tags( $new_instance['tuesday'] );</p>
<p>		$instance['wednesday'] 	= strip_tags( $new_instance['wednesday'] );</p>
<p>		$instance['thursday'] 	= strip_tags( $new_instance['thursday'] );</p>
<p>		$instance['friday']		= strip_tags( $new_instance['friday'] );</p>
<p>		$instance['saturday'] 	= strip_tags( $new_instance['saturday'] );</p>
<p>		$instance['sunday'] 	= strip_tags( $new_instance['sunday'] );</p>
<p>		return $instance;<br />
	}<br />
[/code]</p>
<h2>Widget Settings</h2>
<p>The widget settings section involves adding the input areas for each day of the week.</p>
<p>[code lang="js"]<br />
	/* Widget Settings */<br />
	function form( $instance ) {</p>
<p>		$instance = wp_parse_args( (array) $instance, $defaults ); ?&gt;</p>
<p>		&lt;!-- Widget Title --&gt;<br />
		&lt;p&gt;<br />
			&lt;label for=&quot;&lt;?php echo $this-&gt;get_field_id( 'title' ); ?&gt;&quot;&gt;&lt;?php _e('Title:', 'textdomain') ?&gt;&lt;/label&gt;</p>
<p>			&lt;input type=&quot;text&quot; class=&quot;widefat&quot; id=&quot;&lt;?php echo $this-&gt;get_field_id( 'title' ); ?&gt;&quot; name=&quot;&lt;?php echo $this-&gt;get_field_name( 'title' ); ?&gt;&quot; value=&quot;&lt;?php echo $instance['title']; ?&gt;&quot; /&gt;<br />
		&lt;/p&gt;</p>
<p>        &lt;!-- Monday --&gt;<br />
		&lt;p&gt;<br />
			&lt;label for=&quot;&lt;?php echo $this-&gt;get_field_id( 'monday' ); ?&gt;&quot;&gt;&lt;?php _e('Monday:', 'textdomain') ?&gt;&lt;/label&gt;</p>
<p>			&lt;input type=&quot;text&quot; class=&quot;widefat&quot; id=&quot;&lt;?php echo $this-&gt;get_field_id( 'monday' ); ?&gt;&quot; name=&quot;&lt;?php echo $this-&gt;get_field_name( 'monday' ); ?&gt;&quot; value=&quot;&lt;?php echo $instance['monday']; ?&gt;&quot; /&gt;<br />
		&lt;/p&gt;</p>
<p>        &lt;!-- Tuesday --&gt;<br />
		&lt;p&gt;<br />
			&lt;label for=&quot;&lt;?php echo $this-&gt;get_field_id( 'tuesday' ); ?&gt;&quot;&gt;&lt;?php _e('Tuesday:', 'textdomain') ?&gt;&lt;/label&gt;</p>
<p>			&lt;input type=&quot;text&quot; class=&quot;widefat&quot; id=&quot;&lt;?php echo $this-&gt;get_field_id( 'tuesday' ); ?&gt;&quot; name=&quot;&lt;?php echo $this-&gt;get_field_name( 'tuesday' ); ?&gt;&quot; value=&quot;&lt;?php echo $instance['tuesday']; ?&gt;&quot; /&gt;<br />
		&lt;/p&gt;</p>
<p>        &lt;!-- Wednesday --&gt;<br />
		&lt;p&gt;<br />
			&lt;label for=&quot;&lt;?php echo $this-&gt;get_field_id( 'wednesday' ); ?&gt;&quot;&gt;&lt;?php _e('Wednesday:', 'textdomain') ?&gt;&lt;/label&gt;</p>
<p>			&lt;input type=&quot;text&quot; class=&quot;widefat&quot; id=&quot;&lt;?php echo $this-&gt;get_field_id( 'wednesday' ); ?&gt;&quot; name=&quot;&lt;?php echo $this-&gt;get_field_name( 'wednesday' ); ?&gt;&quot; value=&quot;&lt;?php echo $instance['wednesday']; ?&gt;&quot; /&gt;<br />
		&lt;/p&gt;</p>
<p>        &lt;!-- Thursday --&gt;<br />
		&lt;p&gt;<br />
			&lt;label for=&quot;&lt;?php echo $this-&gt;get_field_id( 'thursday' ); ?&gt;&quot;&gt;&lt;?php _e('Thursday:', 'textdomain') ?&gt;&lt;/label&gt;</p>
<p>			&lt;input type=&quot;text&quot; class=&quot;widefat&quot; id=&quot;&lt;?php echo $this-&gt;get_field_id( 'thursday' ); ?&gt;&quot; name=&quot;&lt;?php echo $this-&gt;get_field_name( 'thursday' ); ?&gt;&quot; value=&quot;&lt;?php echo $instance['thursday']; ?&gt;&quot; /&gt;<br />
		&lt;/p&gt;</p>
<p>        &lt;!-- Friday --&gt;<br />
		&lt;p&gt;<br />
			&lt;label for=&quot;&lt;?php echo $this-&gt;get_field_id( 'friday' ); ?&gt;&quot;&gt;&lt;?php _e('Friday:', 'textdomain') ?&gt;&lt;/label&gt;</p>
<p>			&lt;input type=&quot;text&quot; class=&quot;widefat&quot; id=&quot;&lt;?php echo $this-&gt;get_field_id( 'friday' ); ?&gt;&quot; name=&quot;&lt;?php echo $this-&gt;get_field_name( 'friday' ); ?&gt;&quot; value=&quot;&lt;?php echo $instance['friday']; ?&gt;&quot; /&gt;<br />
		&lt;/p&gt;</p>
<p>        &lt;!-- Saturday --&gt;<br />
		&lt;p&gt;<br />
			&lt;label for=&quot;&lt;?php echo $this-&gt;get_field_id( 'saturday' ); ?&gt;&quot;&gt;&lt;?php _e('Saturday:', 'textdomain') ?&gt;&lt;/label&gt;</p>
<p>			&lt;input type=&quot;text&quot; class=&quot;widefat&quot; id=&quot;&lt;?php echo $this-&gt;get_field_id( 'saturday' ); ?&gt;&quot; name=&quot;&lt;?php echo $this-&gt;get_field_name( 'saturday' ); ?&gt;&quot; value=&quot;&lt;?php echo $instance['saturday']; ?&gt;&quot; /&gt;<br />
		&lt;/p&gt;</p>
<p>        &lt;!-- Sunday --&gt;<br />
		&lt;p&gt;<br />
			&lt;label for=&quot;&lt;?php echo $this-&gt;get_field_id( 'sunday' ); ?&gt;&quot;&gt;&lt;?php _e('Sunday:', 'textdomain') ?&gt;&lt;/label&gt;</p>
<p>			&lt;input type=&quot;text&quot; class=&quot;widefat&quot; id=&quot;&lt;?php echo $this-&gt;get_field_id( 'sunday' ); ?&gt;&quot; name=&quot;&lt;?php echo $this-&gt;get_field_name( 'sunday' ); ?&gt;&quot; value=&quot;&lt;?php echo $instance['sunday']; ?&gt;&quot; /&gt;<br />
		&lt;/p&gt;</p>
<p>		&lt;?php<br />
		}<br />
	}<br />
?&gt;<br />
[/code]</p>
<p></p>
<p><img src="/wp-content/uploads/2012/02/opening-widget02.png?9d7bd4" alt="" title="opening-widget02" width="200" height="173" class="alignleft size-full wp-image-688" /></p>
<p>I hope you enjoyed this post and found it useful for your next wordpress site!</p>
<p>The post <a href="http://www.mattabrahams.com.au/how-to-create-a-simple-business-hours-widget/">How to create a simple Business Hours widget</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mattabrahams.com.au/how-to-create-a-simple-business-hours-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create social media CSS sprites</title>
		<link>http://www.mattabrahams.com.au/how-to-create-social-media-css-sprites/</link>
		<comments>http://www.mattabrahams.com.au/how-to-create-social-media-css-sprites/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 23:52:09 +0000</pubDate>
		<dc:creator>matta91</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css sprites]]></category>
		<category><![CDATA[social icons]]></category>

		<guid isPermaLink="false">http://mattabrahams.id.au/?p=133</guid>
		<description><![CDATA[<p>In this tutorial I&#8217;m going to show you how to setup CSS sprites for your social media icons. CSS sprites are a great way of minimizing the amount of images the server must process while<a class="more-link" href="http://www.mattabrahams.com.au/how-to-create-social-media-css-sprites/"> continue reading..</a></p><p>The post <a href="http://www.mattabrahams.com.au/how-to-create-social-media-css-sprites/">How to create social media CSS sprites</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>In this tutorial I&#8217;m going to show you how to setup CSS sprites for your social media icons. CSS sprites are a great way of minimizing the amount of images the server must process while it loads your website.</p>
<p><strong>Resources</strong>: <a href="http://www.komodomedia.com/blog/2009/06/social-network-icon-pack/" target="new">social icons</a></p>
<hr />
<h2>Step 1 &#8211; Photoshop</h2>
<p>Open Photoshop (or whichever program you use) and create a new file with the dimensions of 84&#215;16.</p>
<p><img class="alignnone size-full wp-image-145" title="social-icons01" src="/wp-content/uploads/2012/02/social-icons01.png?9d7bd4" alt="" width="620" height="420" /></p>
<p>Now add in your social media icons with a margin-right of 1px.</p>
<p><img class="alignnone size-full wp-image-146" title="social-icons02" src="/wp-content/uploads/2012/02/social-icons02.png?9d7bd4" alt="" width="620" height="300" /></p>
<p>Now save the image as a png24 with the following settings:</p>
<p><img src="/wp-content/uploads/2012/02/social-icons03.png?9d7bd4" alt="" title="social-icons03" width="310" height="129" class="alignnone size-full wp-image-147" /></p>
<hr />
<h2>Step 2 &#8211; HTML</h2>
<p>Open Dreamweaver (or text editor) and create a new basic html document.</p>
<p>Now add the following code (in a body tag of course):</p>
<p>[sourcecode language="plain"]<br />
&lt;div id=&quot;wrapper&quot;&gt;</p>
<p>    &lt;ul id=&quot;social&quot;&gt;<br />
        &lt;li id=&quot;fb&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;&quot;&gt;&lt;/a&gt;&lt;/li&gt;<br />
        &lt;li id=&quot;twit&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;&quot;&gt;&lt;/a&gt;&lt;/li&gt;<br />
        &lt;li id=&quot;rss&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;&quot;&gt;&lt;/a&gt;&lt;/li&gt;<br />
        &lt;li id=&quot;yt&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;&quot;&gt;&lt;/a&gt;&lt;/li&gt;<br />
        &lt;li id=&quot;flickr&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;&quot;&gt;&lt;/a&gt;&lt;/li&gt;<br />
    &lt;/ul&gt;</p>
<p>&lt;/div&gt;<br />
[/sourcecode]</p>
<p>We give the list item a unique ID that corresponts to the icon you want to display. So our first icon will be facebook as defined by the id.</p>
<hr />
<h2>Step 3 &#8211; CSS</h2>
<p>Add the following css code to the head of your document (don&#8217;t forget your style tag).</p>
<p>[css]<br />
body {background:#FFF;}<br />
        #wrapper {margin:100px auto; width:960px; }</p>
<p>        #social a {display:block;width:16px; height:16px;}<br />
        #social li {float:left;margin-right:6px;list-style:none;}</p>
<p>            #fb, #twit, #rss, #yt, #flickr { background: url(icons.png) no-repeat; width:16px; height:16px;opacity:0.7;}<br />
                #fb {background-position:0 0; }<br />
                #twit {background-position:-17px 0; }<br />
                #rss {background-position:-34px 0; }<br />
                #yt {background-position:-51px 0;}<br />
                #flickr {background-position:-68px 0;}</p>
<p>            #fb:hover, #twit:hover, #rss:hover, #yt:hover, #flickr:hover {opacity:1;}<br />
[/css]</p>
<p>The Background position css property basically sets the position of the background image. So for example the twitter icon on the x axis is -17px from the start of the background image. While all the icons are 0px on the y axis.</p>
<p>This screenshot should help you understand how background positioning works:</p>
<p><img src="/wp-content/uploads/2012/02/social-icons04.png?9d7bd4" alt="" title="social-icons04" width="620" height="300" class="alignnone size-full wp-image-160" /></p>
<p>You can <a href="http://www.w3schools.com/cssref/pr_background-position.asp"> read more</a> about background positioning at W3schools.</p>
<hr />
<h2>Step 4 &#8211; Conclusion</h2>
<p>If you view your page in a web browser you should now have some awesome social media CSS sprites!</p>
<p><img src="/wp-content/uploads/2012/02/social-icons05.png?9d7bd4" alt="" title="social-icons05" width="160" height="80" class="alignnone size-full wp-image-161" /></p>
<p>Hopefully you now have the knowledge to use this technique for other web elements that can be sprited such as images and icons.</p>
<p>The post <a href="http://www.mattabrahams.com.au/how-to-create-social-media-css-sprites/">How to create social media CSS sprites</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mattabrahams.com.au/how-to-create-social-media-css-sprites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamically add about page content to a page in WordPress.</title>
		<link>http://www.mattabrahams.com.au/dynamically-add-about-page-content-to-a-page-in-wordpress/</link>
		<comments>http://www.mattabrahams.com.au/dynamically-add-about-page-content-to-a-page-in-wordpress/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 14:57:42 +0000</pubDate>
		<dc:creator>matta91</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://mattabrahams.id.au/?p=79</guid>
		<description><![CDATA[<p>Today I&#8217;m going to show you how to grab your about page content and display it on your WordPress page. If you haven&#8217;t already created your about page, go to pages in your wordpress dashboard<a class="more-link" href="http://www.mattabrahams.com.au/dynamically-add-about-page-content-to-a-page-in-wordpress/"> continue reading..</a></p><p>The post <a href="http://www.mattabrahams.com.au/dynamically-add-about-page-content-to-a-page-in-wordpress/">Dynamically add about page content to a page in WordPress.</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Today I&#8217;m going to show you how to grab your about page content and display it on your WordPress page. If you haven&#8217;t already created your about page, go to pages in your wordpress dashboard and add a new page called about. Now add some text and publish that page.</p>
<h2>Functions.php</h2>
<p>Open your functions php file and insert the following code anywhere in your file:</p>
<p>[code lang="js"]<br />
&lt;!--?php --&gt;/*******************************<br />
 LIMIT CHARACTERS</p>
<p> example:</p>
<p> &lt;!--?php content('20'); ?--&gt;<br />
********************************/</p>
<p>function content($num) {<br />
$theContent = get_the_content();<br />
$output = preg_replace('/]+./','', $theContent);<br />
$output = preg_replace( '/&lt;blockquote&gt;.*&lt;/blockquote&gt;/', '', $output );<br />
$output = preg_replace( '|[(.+?)](.+?[/\1])?|s', '', $output );<br />
$limit = $num+1;<br />
$content = explode(' ', $output, $limit);<br />
array_pop($content);<br />
$content = implode(&quot; &quot;,$content).&quot;...&quot;;<br />
echo $content;<br />
}<br />
[/code]</p>
<p>All this code is basically doing is grabbing the content from the page, replacing any weird characters and finally setting the limit of characters to show from the about page content.<br />
&nbsp;</p>
<h2>Page ID</h2>
<p>To find out the page id of the about page, go to permalinks in your wordpress dashboard menu and change the permalink structure to default. Now open the about page in a browser and it should tell you the page id.<br />
&nbsp;<br />
<img class="alignnone size-full wp-image-87" title="wpress1" src="/wp-content/uploads/2012/02/wpress1.png?9d7bd4" alt="" width="577" height="210" /><br />
&nbsp;</p>
<h2>PHP code</h2>
<p>Within the file you want the about page content to appear, add in the following code:</p>
<p>[code lang="js"]<br />
&lt;!--?php query_posts('page_id=47'); 	if (have_posts()) : ?--&gt;<br />
		&lt;!--?php while (have_posts()) : the_post(); ?--&gt;<br />
		&lt;!--?php echo content('20'); endwhile; ?--&gt;<br />
	&lt;!--?php endif; ?--&gt;<br />
[/code]</p>
<p>Here we grab the page id of the about page and then we check if there is some content on the about page. The content(&#8217;20&#8242;) means that the text block will display 20 characters from the about page.</p>
<p>&nbsp;</p>
<h2>Conclusion</h2>
<p>If all went well you now should have your about page content on your page!<br />
I hope you enjoyed this little tutorial, don&#8217;t forget to leave a comment below or share this article with your friends.</p>
<p>The post <a href="http://www.mattabrahams.com.au/dynamically-add-about-page-content-to-a-page-in-wordpress/">Dynamically add about page content to a page in WordPress.</a> appeared first on <a href="http://www.mattabrahams.com.au">Gold Coast Web Design</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mattabrahams.com.au/dynamically-add-about-page-content-to-a-page-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

 Served from: mattabrahams.id.au @ 2013-03-07 15:19:39 by W3 Total Cache -->
