<?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>tips-tricks &#8211; Extreme Web Designs</title>
	<atom:link href="https://theextremewebdesigns.com/blog/tag/tips-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>https://theextremewebdesigns.com/blog</link>
	<description>Web Design and Web Development</description>
	<lastBuildDate>Sat, 19 Jan 2013 13:47:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.8</generator>
<site xmlns="com-wordpress:feed-additions:1">156673191</site>	<item>
		<title>WordPress: Get all Categories of a post (both parent and children/sub categories)</title>
		<link>https://theextremewebdesigns.com/blog/wordpress-get-all-categories-of-a-post/</link>
					<comments>https://theextremewebdesigns.com/blog/wordpress-get-all-categories-of-a-post/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 19 Jan 2013 13:47:16 +0000</pubDate>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[tips-tricks]]></category>
		<category><![CDATA[wordpress-snippets]]></category>
		<category><![CDATA[wordpress-tips]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=112</guid>

					<description><![CDATA[Have you ever wondered how to retrieve or get all categories of a post?  This little snippet will help you make WordPress get all Categories of a post (both parent and children/sub categories). WordPress: Get all Categories of a post (both parent and children/sub categories) &#60;?php the_category(', '); ?&#62; Do you know of any other way to [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Have you ever wondered how to retrieve or get all categories of a post?  This little snippet will help you make WordPress get all Categories of a post (both parent and children/sub categories).<span id="more-112"></span></p>
<h2>WordPress: Get all Categories of a post (both parent and children/sub categories)</h2>
<pre class="lang:php decode:true">&lt;?php the_category(', '); ?&gt;</pre>
<p>Do you know of any other way to  <strong>fetch both parent and children/sub categories of a post</strong>? If yes, please share it with us in your comment below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/wordpress-get-all-categories-of-a-post/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">112</post-id>	</item>
		<item>
		<title>jQuery Redirect Page After 5 Seconds Example</title>
		<link>https://theextremewebdesigns.com/blog/jquery-redirect-redirect-page-jquery-redirect-page-jquery-after-5-seconds/</link>
					<comments>https://theextremewebdesigns.com/blog/jquery-redirect-redirect-page-jquery-redirect-page-jquery-after-5-seconds/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 29 May 2012 03:13:03 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[tips-tricks]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=611</guid>

					<description><![CDATA[Redirecting Page using jQuery will help you to redirect to a page and this can be done with  help of just 1 line of code. Examples to page redirection using jQuery are provided. Read on to find out more on how to do this. How to Redirect Page using jQuery &#8211; Examples Example 1: Redirect Page [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Redirecting Page using jQuery</strong> will help you to redirect to a page and this can be done with  help of just 1 line of code. Examples to page redirection using jQuery are provided. Read on to find out more on how to do this.<img decoding="async" title="More..." alt="" src="https://theextremewebdesigns.com/blog/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" /></p>
<h2>How to Redirect Page using jQuery &#8211; Examples</h2>
<h3>Example 1: Redirect Page to another website without any delay using jQuery</h3>
<pre class="lang:xhtml decode:true">var url = "http://www.theextremewebdesigns.com";
$(location).attr('href',url);</pre>
<h3>Example 2: Redirect Page to a specific page of a website using jQuery</h3>
<p>If you would rather redirect to a specific page of a website, use the following code:</p>
<pre class="lang:xhtml decode:true">var url = "http://www.theextremewebdesigns.com/services.php";
$(location).attr('href',url);</pre>
<h3>Example 3: Redirect Page after 5 seconds using jQuery</h3>
<p>If you would like to redirect to a website after a delay of 5 seconds, use the following code:</p>
<pre class="lang:xhtml decode:true">var url = "http://www.theextremewebdesigns.com";

//5000 is the number of milliseconds (or 5 seconds) that you want to wait before redirection.
var delay = 5000;
setTimeout(function() {
window.location.href = url;
}, delay);</pre>
<h3>Example 4: Redirect Page on button click using jQuery</h3>
<p>If you would like to redirect to a website after a delay of 5 seconds when a button is clicked, use the following code:</p>
<pre class="lang:xhtml decode:true">$("#my_button").click(function()
{
var url = "http://www.theextremewebdesigns.com";
//5000 is the number of milliseconds (or 5 seconds) that you want to wait before redirection.
var delay = 5000;
setTimeout(function() {
window.location.href = url;
}, delay);
});</pre>
<h5>That’s it!</h5>
<p>Do you know of any other ways to <em><strong>redirect page using jQuery</strong></em>? Please feel free to share by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/jquery-redirect-redirect-page-jquery-redirect-page-jquery-after-5-seconds/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">611</post-id>	</item>
		<item>
		<title>Redirect Page PHP After 5 Seconds Examples (1 line code)</title>
		<link>https://theextremewebdesigns.com/blog/redirect-page-php-redirect-page-php-after-5-seconds-1-line-code/</link>
					<comments>https://theextremewebdesigns.com/blog/redirect-page-php-redirect-page-php-after-5-seconds-1-line-code/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 29 May 2012 02:48:52 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[tips-tricks]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=607</guid>

					<description><![CDATA[You can use redirection in PHP to redirect to a page. Redirect page examples provided. Read on to find out more on how to do this. Examples to Redirect Page using PHP Example 1: Redirect Page to another website without any delay using PHP &#60;?php header( 'Location: http://www.theextremewebdesigns.com' ) ; ?&#62; Example 2: Redirect Page [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>You can use redirection in PHP to redirect to a page. Redirect page examples provided. Read on to find out more on how to do this.<span id="more-607"></span></p>
<h2>Examples to Redirect Page using PHP</h2>
<h2>Example 1: Redirect Page to another website without any delay using PHP</h2>
<pre class="lang:php decode:true">&lt;?php

header( 'Location: http://www.theextremewebdesigns.com' ) ;

?&gt;</pre>
<h2>Example 2: Redirect Page to a specific page of a website using PHP</h2>
<p>If you would rather redirect to a specific page of a website, use the following code:</p>
<pre class="lang:php decode:true">&lt;?php

header( 'Location: http://www.theextremewebdesigns.com/services.php' ) ;

?&gt;</pre>
<h2>Example 3: Redirect Page after 5 seconds using PHP</h2>
<p>If you would like to redirect to a website after a delay of 5 seconds, use the following code:</p>
<pre class="lang:xhtml decode:true">&lt;?php

header("Refresh: 10; url=http://www.theextremewebdesigns.com/");

?&gt;</pre>
<h5>That’s it!</h5>
<p>Do you know of any other ways to <em><strong>redirect page using php</strong></em>? Please feel free to share by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/redirect-page-php-redirect-page-php-after-5-seconds-1-line-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">607</post-id>	</item>
		<item>
		<title>Redirect Page Using After 5 Seconds Javascript Examples</title>
		<link>https://theextremewebdesigns.com/blog/redirect-page-javascript-redirect-page-javascript-after-5-seconds-1-line-code/</link>
					<comments>https://theextremewebdesigns.com/blog/redirect-page-javascript-redirect-page-javascript-after-5-seconds-1-line-code/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 29 May 2012 02:36:19 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[tips-tricks]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=602</guid>

					<description><![CDATA[You can redirect page using JavaScript with  just 1 line of code. You also have the option of redirecting immediately or redirect after 5 seconds. Read on to find out more on how to do this. How to Redirect Page using JavaScript &#8211; Examples Example 1: Redirect without any delay using JavaScript &#60;script language="javascript"&#62; window.location.href = "http://www.theextremewebdesigns.com"; &#60;/script&#62; Example [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>You can<em><strong> redirect page using </strong></em><b><i>JavaScript</i></b> with  just 1 line of code. You also have the option of redirecting immediately or redirect after 5 seconds. Read on to find out more on how to do this.<span id="more-602"></span></p>
<h2>How to Redirect Page using JavaScript &#8211; Examples</h2>
<h2>Example 1: Redirect without any delay using JavaScript</h2>
<pre class="lang:xhtml decode:true">&lt;script language="javascript"&gt;
window.location.href = "http://www.theextremewebdesigns.com";
&lt;/script&gt;</pre>
<h2>Example 2: Redirect Page after 5 seconds using JavaScript</h2>
<p>If you want to <strong>redirect page using JavaScript after 5 seconds</strong>, use the following code:</p>
<pre class="lang:xhtml decode:true">&lt;script language="javascript"&gt;
setTimeout("top.location.href = 'http://www.theextremewebdesigns.com/'",5000);
&lt;/script&gt;</pre>
<h5>That&#8217;s it!</h5>
<p>Do you know of any other ways to <em><strong>redirect page using javascript</strong></em>? Please feel free to share by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/redirect-page-javascript-redirect-page-javascript-after-5-seconds-1-line-code/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">602</post-id>	</item>
		<item>
		<title>WordPress Center Images &#8211; 1 line solution without plugin</title>
		<link>https://theextremewebdesigns.com/blog/wordpress-center-images-1-line-solution-without-plugin/</link>
					<comments>https://theextremewebdesigns.com/blog/wordpress-center-images-1-line-solution-without-plugin/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 03 Feb 2012 17:30:46 +0000</pubDate>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[tips-tricks]]></category>
		<category><![CDATA[wordpress-tips]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=73</guid>

					<description><![CDATA[While working with WordPress post editor in Admin Panel, you may have noticed that even after you have selected an image and clicked on &#8220;Align Center&#8221; button, the image does not appear centered when the post is viewed i.e. the WordPress Center Images function does not worry correctly on front end.   The image shows up [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>While working with WordPress post editor in Admin Panel, you may have noticed that even after you have selected an image and clicked on &#8220;Align Center&#8221; button, the image does not appear centered when the post is viewed i.e. the WordPress Center Images function does not worry correctly on front end.   The image shows up as centered in the editor, though.  In this post, I am going to give you a 1 line solution to solve this problem and <em><strong>center images in WordPress</strong></em>, all without using any plugin.<span id="more-73"></span></p>
<h2>How to Center Images in WordPress</h2>
<p>Let me illustrate the exact problem by means of the following image:</p>
<p><a href="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/images_alignment_before.png" class="broken_link"><img fetchpriority="high" decoding="async" class="aligncenter size-medium wp-image-74" title="WordPress Center Images Problem" alt="WordPress Center Images Problem" src="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/images_alignment_before-300x210.png" width="300" height="210" /></a></p>
<p><strong>Solution:</strong></p>
<p>In your theme that you are using for the WordPress, add the following style in the style.css style-sheet:</p>
<p><a href="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/images_alignment_solution.jpg" class="broken_link"><img decoding="async" class="aligncenter size-medium wp-image-75" title="WordPress Center Images: Solution" alt="WordPress Center Images: Solution" src="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/images_alignment_solution-300x41.jpg" width="300" height="41" /></a></p>
<p>Alternately, you may copy the following code directly into the style-sheet:</p>
<pre class="lang:css decode:true">.aligncenter, img.aligncenter {
margin-left: auto; margin-right: auto; display: block; clear: both;
}</pre>
<p style="text-align: center;"><a href="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/images_alignment_after.png" class="broken_link"><img decoding="async" class="aligncenter size-medium wp-image-76" title="WordPress Center Images: Problem Solved!" alt="WordPress Center Images: Problem Solved!" src="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/images_alignment_after-300x212.png" width="300" height="212" /></a></p>
<p>As you can see, the images are now aligned perfectly to the center.</p>
<p>Hope this solution helps out the needy.</p>
<h5>Your Turn!</h5>
<p>If you have any questions, please leave a comment below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/wordpress-center-images-1-line-solution-without-plugin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">73</post-id>	</item>
		<item>
		<title>WordPress line break &#8211; 1 line solution without plugin</title>
		<link>https://theextremewebdesigns.com/blog/wordpress-line-break-1-line-solution-without-plugin/</link>
					<comments>https://theextremewebdesigns.com/blog/wordpress-line-break-1-line-solution-without-plugin/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 03 Feb 2012 17:01:26 +0000</pubDate>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[tips-tricks]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=58</guid>

					<description><![CDATA[While working with WordPress in Admin Panel, you may have noticed that when you Update/Save the post once you are done entering the Post, WordPress automatically strips out extra line break / paragraph break otherwise commonly known as &#8220;WordPress line break problem&#8220;. How to fix line break problem in WordPress I personally came across this [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>While working with WordPress in Admin Panel, you may have noticed that when you Update/Save the post once you are done entering the Post, WordPress automatically strips out extra line break / paragraph break otherwise commonly known as &#8220;<strong>WordPress line break problem</strong>&#8220;. <span id="more-58"></span></p>
<h2>How to fix line break problem in WordPress</h2>
<p>I personally came across this problem. In this post, I am going to give you a 1 line solution to solve this problem, all without using any plugin!</p>
<p><strong>Let me illustrate the exact problem by means of the following image:</strong></p>
<p><a href="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/missing_breaks_before.png" class="broken_link"><img loading="lazy" decoding="async" class="aligncenter size-medium wp-image-60" title="WordPress Line Break missing" alt="WordPress Line Break missing" src="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/missing_breaks_before-295x300.png" width="295" height="300" /></a></p>
<p>As indicated by the red arrow, there is no spacing between the paragraphs even though I have manually forced multiple line breaks. I searched Google to see if there is any solution for this. I did come across TinyMCE plugin that forces WordPress to retain the breaks as you enter them. But then I thought. Really? I need to install a whole plugin just to solve this tiny problem? I don&#8217;t think so.  I thought to myself.  Then I examined the source code of the page to see how WordPress was treating the line breaks and paragraphs and have come up with a 1 line solution for this, without having to install a plugin. This means that you can implement this solution in your blog right away, without installing any plugins. Ready for the solution? Here it is:</p>
<p>In your theme that you are using for the WordPress, add the following style in the style.css style-sheet:</p>
<p><a href="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/missing_breaks_solution.jpg" class="broken_link"><img loading="lazy" decoding="async" class="aligncenter size-medium wp-image-61" title="WordPress line break missing Solution" alt="WordPress line break missing Solution" src="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/missing_breaks_solution-300x87.jpg" width="300" height="87" /></a></p>
<p>Alternately, you may copy the following code directly into the style-sheet:</p>
<pre class="lang:xhtml decode:true " title="Fix line break problem in WordPress">p {
margin-bottom: 20px !important;
}</pre>
<p>What this essentially does is adds a margin to every paragraph that WordPress adds/formats. Using <span style="color: #ff0000;"><strong>!important</strong></span> forces the browsers to obey this rule and apply this rule by overriding any other rules.</p>
<p><strong>Here&#8217;s how it looks like after applying the solution:</strong></p>
<p><a href="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/missing_breaks_after.png" class="broken_link"><img loading="lazy" decoding="async" class="aligncenter size-medium wp-image-62" title="WordPress line break missing: Problem Solved!" alt="WordPress line break missing: Problem Solved!" src="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/02/missing_breaks_after-300x280.png" width="300" height="280" /></a></p>
<p>As you can see, the spacing between the paragraphs appear making it very neat and tidy. Hope this solution helps out the needy. If you have any questions, please leave a comment below.</p>
<p><strong>Notes:</strong></p>
<p>1. There&#8217;s one thing you need to remember. If you enter multiple line breaks, say for example, 5 line breaks between 2 paragraphs and Update the post, if you view the post, you will see all these multiple paragraphs intact i.e you will see 5 line breaks. But when you enter some additional text in the post and Update it again, then WordPress will automatically remove all the extra line breaks and will retain only 1 line/paragraph break. So ideally speaking, there would not be any need for anyone to have 5 line breaks between 2 paragraphs. The maximum number of line/paragraph breaks between any two paragraphs, ideally should not exceed more than one for readability purposes. Using the above solution achieves this purpose.</p>
<p>2. If you want, you can adjust the margin-bottom value to any other value other than 20px, as you see fit.</p>
<p><strong>That&#8217;s it!</strong></p>
<p>Do you have any suggestions to <em><strong>fix line break problem in WordPress</strong></em>? Feel free to suggest by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/wordpress-line-break-1-line-solution-without-plugin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">58</post-id>	</item>
	</channel>
</rss>
