﻿<?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>Blog &#187; Mesime / Modifikime</title>
	<atom:link href="http://www.albcoders.com/blog/category/wordpress-shqip/mesime-modifikime/feed" rel="self" type="application/rss+xml" />
	<link>http://www.albcoders.com/blog</link>
	<description>Seo &#38; Programim ( Tutoriale - Artikuj )</description>
	<lastBuildDate>Thu, 24 Nov 2011 23:43:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Krijoni nje Panel identifikimi per WOrdpress</title>
		<link>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/krijoni-nje-panel-identifikimi-per-wordpress.html</link>
		<comments>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/krijoni-nje-panel-identifikimi-per-wordpress.html#comments</comments>
		<pubDate>Sun, 09 May 2010 15:16:49 +0000</pubDate>
		<dc:creator>AlbCoder</dc:creator>
				<category><![CDATA[Mesime / Modifikime]]></category>

		<guid isPermaLink="false">http://www.albcoders.com/blog/?p=557</guid>
		<description><![CDATA[Nese keni nje WordPress blog dhe keni aktivizuar regjistrimin per antaret patjeter qe ju duhet nje panel identifikimi.Une e kam fjalen pa perdorur ndonje plugin por ta vendosni direkt ne header me tutorialin qe do tregoj dhe kodet qe do ju jap. Si demo mund te shikoni si blogun tone si dhe ne fotografi.Hajdeni fillojme [...]]]></description>
			<content:encoded><![CDATA[<p>Nese keni nje WordPress blog dhe keni aktivizuar regjistrimin per antaret patjeter qe ju duhet nje panel identifikimi.Une e kam fjalen pa perdorur ndonje plugin por ta vendosni direkt ne header me tutorialin qe do tregoj dhe kodet qe do ju jap.<br />
Si demo mund te shikoni si blogun tone si dhe ne fotografi.Hajdeni fillojme pra.</p>
<p>Mos harroni per css mua me punon ne kete menyre ben vaki del me ndryshe tek ju por css eshte gje qe ndryshohet.Postimi origjinal eshte mare nga http://www.blogohblog.com/how-to-build-a-top-sliding-login-panel/</p>
<p>Fillojme kodimin ne themen e wordpress hapeni header.php dhe kete kodin qe ndodhet me poshte vendosenine mbarimin e etiketes /head></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>ready<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
$<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;.btn-slide&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>click<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
$<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;#slide-panel&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>slideToggle<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;slow&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">&lt;/script&gt;</span></pre></td></tr></table></div>

<p>Kodet HTML qe do i vendosni ne Header jane keto :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;slide-panel&quot;&gt;&lt;!--SLIDE PANEL STARTS--&gt;
&lt;?php if ( ! is_user_logged_in() ){ ?&gt;
&lt;h2&gt;Login&lt;/h2&gt;
&lt;div class=&quot;loginform&quot;&gt;
&lt;div class=&quot;formdetails&quot;&gt;
&lt;form action=&quot;&lt;?php echo get_option('home'); ?&gt;/wp-login.php&quot; method=&quot;post&quot;&gt;
&lt;label for=&quot;log&quot;&gt;Username : &lt;/label&gt;&lt;input type=&quot;text&quot; name=&quot;log&quot; id=&quot;log&quot; value=&quot;&lt;?php echo wp_specialchars(stripslashes($user_login), 1) ?&gt;&quot; size=&quot;20&quot; /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;label for=&quot;pwd&quot;&gt;Password : &lt;/label&gt;&lt;input type=&quot;password&quot; name=&quot;pwd&quot; id=&quot;pwd&quot; size=&quot;20&quot; /&gt;
&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Identifikohu&quot; class=&quot;button&quot; /&gt;
&lt;label for=&quot;rememberme&quot;&gt;&lt;input name=&quot;rememberme&quot; id=&quot;rememberme&quot; type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;forever&quot; /&gt; Remember me&lt;/label&gt;&lt;input type=&quot;hidden&quot; name=&quot;redirect_to&quot; value=&quot;&lt;?php echo $_SERVER['REQUEST_URI']; ?&gt;&quot; /&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;div class=&quot;loginregister&quot;&gt;
&lt;a href=&quot;&lt;?php echo get_option('home'); ?&gt;/wp-register.php&quot;&gt;Regjistrohu&lt;/a&gt; |
&lt;a href=&quot;&lt;?php echo get_option('home'); ?&gt;/wp-login.php?action=lostpassword&quot;&gt;Harrova Fjalekalimin&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;!--loginform ends--&gt;
&lt;?php } else { ?&gt;
&lt;div class=&quot;loginform&quot;&gt;
&lt;h2&gt;Paneli Kontrollit&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php echo get_option('home'); ?&gt;/wp-admin/&quot;&gt;Dashboard&lt;/a&gt;&lt;/li&gt; |
&lt;li&gt;&lt;a href=&quot;&lt;?php echo get_option('home'); ?&gt;/wp-admin/post-new.php&quot;&gt;Posto nje Artikull &lt;/a&gt;&lt;/li&gt; |
&lt;li&gt;&lt;a href=&quot;&lt;?php echo get_option('home'); ?&gt;/wp-admin/page-new.php&quot;&gt;Posto faqe te re&lt;/a&gt;&lt;/li&gt; |
&lt;li&gt;&lt;a href=&quot;&lt;?php echo wp_logout_url( get_bloginfo('url') ); ?&gt;&quot; title=&quot;Logout&quot;&gt;Dalja&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;/div&gt;&lt;!--loginform ends--&gt;
&lt;?php }?&gt;
&lt;/div&gt;&lt;!--SLIDE PANEL ENDS--&gt;
&lt;div class=&quot;slide&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;btn-slide&quot;&gt;&lt;?php if ( ! is_user_logged_in() ){ ?&gt;Login&lt;?php } else { ?&gt;Logout&lt;?php }?&gt;&lt;/a&gt;&lt;/div&gt;&lt;!--LOGIN BUTTON TEXT--&gt;</pre></td></tr></table></div>

<p>Tani hapeni style.css te themes dhe vendosini kodet e me poshtme</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #00AA00;">*</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#slide-panel</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>border-bottom-style<span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>border-bottom-<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span><span style="color: #00AA00;">;</span>display<span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>margin<span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.slide</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;">950px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.btn-slide</span><span style="color: #3333ff;">:link</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.btn-slide</span><span style="color: #3333ff;">:visited</span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>font-<span style="color: #000000; font-weight: bold;">size</span><span style="color: #00AA00;">:</span><span style="color: #933;">14px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span><span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>height<span style="color: #00AA00;">:</span><span style="color: #933;">26px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">3px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>line-<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">22px</span><span style="color: #00AA00;">;</span>text-align<span style="color: #00AA00;">:</span><span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>text-decoration<span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>width<span style="color: #00AA00;">:</span><span style="color: #933;">100px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span>Arial<span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.loginform</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;">950px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Arial</span><span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.formdetails</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span><span style="color: #00AA00;">;</span>padding<span style="color: #00AA00;">:</span><span style="color: #933;">5px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.formdetails</span> input<span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #933;">5px</span> <span style="color: #933;">2px</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#EFEFEF</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.loginregister</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</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>
<span style="color: #6666ff;">.loginregister</span> a<span style="color: #3333ff;">:link</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.loginregister</span> a<span style="color: #3333ff;">:visited </span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">11px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.loginform</span> h2 <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">18px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">normal</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span><span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.loginform</span> ul li <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.loginform</span> ul li a<span style="color: #3333ff;">:link</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.loginform</span> ul li a<span style="color: #3333ff;">:visited </span><span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">12px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Nje panel me te vertete i bukur dhe mund te beni ndryshime me css sic kam bere une ne blogun albcoders (nuk kam postuar ate timen)  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/krijoni-nje-panel-identifikimi-per-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faqe Slash ne WordPress (index.html)</title>
		<link>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/faqe-slash-ne-wordpress-index-html.html</link>
		<comments>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/faqe-slash-ne-wordpress-index-html.html#comments</comments>
		<pubDate>Sat, 26 Dec 2009 16:25:51 +0000</pubDate>
		<dc:creator>Fatih Ibrahimi</dc:creator>
				<category><![CDATA[Mesime / Modifikime]]></category>

		<guid isPermaLink="false">http://www.albcoders.com/index.php/?p=521</guid>
		<description><![CDATA[Zakonisht kemi qef te vendosim nje splash page ne wordpress shume veta deshiron ta bej kete gje dhe njeri nga keto persona isha une sot duke kerkuar ne google duke kerkuar e kerkuar thash se nuk behet sepse shume faqe thonin se duhet me htacces etj etj.Por gjeta nje menyre shume te bukur dhe dua [...]]]></description>
			<content:encoded><![CDATA[<p>Zakonisht kemi qef te vendosim <strong>nje splash page ne wordpress</strong> shume veta deshiron ta bej kete gje dhe njeri nga keto persona isha une sot duke kerkuar ne google duke kerkuar e kerkuar thash se nuk behet sepse shume faqe thonin se duhet me htacces etj etj.Por gjeta nje menyre shume te bukur dhe dua ta ndaj me ju ndoshta do keni qef te beni dicka te tille.Sepse <strong>index.html</strong> kur vendoset bashke me <strong>index.php</strong> ne root direktori eshte veshtire te hapni blogun domethene filen <strong>index.php</strong> pra dua tju tregoj tani kete menyre se vfare duheni te beni per te hapur nje splash page.</p>
<p>1-Fillojme hapeni ftp dhe me nje editor hapeni filen <strong>wp-includes/canonical.php</strong></p>
<p>2-Shkoni ne rreshtin 53. ose gjeni kete kodin qe eshte poshte.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Some PHP setups turn requests for / into /index.php in REQUEST_URI </span>
    <span style="color: #666666; font-style: italic;">// See: http://trac.wordpress.org/ticket/5017 </span>
    <span style="color: #666666; font-style: italic;">// See: http://trac.wordpress.org/ticket/7173 </span>
    <span style="color: #666666; font-style: italic;">// Disabled, for now: </span>
    <span style="color: #666666; font-style: italic;">// $original['path'] = preg_replace('|/index\.php$|', '/', $original['path']);</span></pre></td></tr></table></div>

<p>3-Nga kodi qe gjetet ne rreshtin e funrit hiqini shenjat // nese jap nje shembull duhet keshtu.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Some PHP setups turn requests for / into /index.php in REQUEST_URI </span>
    <span style="color: #666666; font-style: italic;">// See: http://trac.wordpress.org/ticket/5017 </span>
    <span style="color: #666666; font-style: italic;">// See: http://trac.wordpress.org/ticket/7173 </span>
    <span style="color: #666666; font-style: italic;">// Disabled, for now: </span>
    <span style="color: #000088;">$original</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'|/index\.php$|'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$original</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>4-Tani perseri ne te njejtin dokument shkoni tek reshti nr. 207 dhe gjeni kete kodin.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// trailing /index.php </span>
<span style="color: #000088;">$redirect</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'|/index.php/*?$|'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$redirect</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>5-Dhe nderrojeni me kete poshte.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// trailing /index.php </span>
<span style="color: #000088;">$redirect</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'|/index.php/$|'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$redirect</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>Pra tani Nese e keni bere kete gje nuk mund te perdorni Panelin e kerkimit per kete duhemi te modifikojme formin search</strong></p>
<p>Normalisht Search Form eshte ne kete menyre si ky Shembulli.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&lt;?php bloginfo('url'); ?&gt;/&quot;&gt;
&lt;div&gt;
&lt;input type=&quot;text&quot; value=&quot;&lt;?php the_search_query(); ?&gt;&quot; name=&quot;s&quot; id=&quot;s&quot; /&gt;
&lt;input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;Search&quot; /&gt;
&lt;/div&gt;
&lt;/form&gt;</pre></td></tr></table></div>

<p>Ju kete nderrojeni ne kete menyre.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&lt;?php bloginfo('url'); ?&gt;/index.php&quot;&gt;
&lt;div&gt;
&lt;input type=&quot;text&quot; value=&quot;&lt;?php the_search_query(); ?&gt;&quot; name=&quot;s&quot; id=&quot;s&quot; /&gt;
&lt;input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;Search&quot; /&gt;
&lt;/div&gt;
&lt;/form&gt;</pre></td></tr></table></div>

<p>Dhe si perfundim shkoni ne panelin e administrimit tek General Settings Dhe shtoni nje index.html ne fund te adreses <strong>Blog URL</strong> kujdes jo site url por e dyta Blog URL dhe keshtu qe index.html do te jete faqja splash me nje lidhje tek index,php do hapet blogu kaq ishte AlbCoder</p>
]]></content:encoded>
			<wfw:commentRss>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/faqe-slash-ne-wordpress-index-html.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Site URL e Gabuar si Regullohet</title>
		<link>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/wordpress-site-url-e-gabuar-si-regullohet.html</link>
		<comments>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/wordpress-site-url-e-gabuar-si-regullohet.html#comments</comments>
		<pubDate>Wed, 16 Dec 2009 19:56:51 +0000</pubDate>
		<dc:creator>AlbCoder</dc:creator>
				<category><![CDATA[Mesime / Modifikime]]></category>

		<guid isPermaLink="false">http://www.albcoders.com/?p=494</guid>
		<description><![CDATA[Te gjith jemi njerez dhe gabojme duke pare ne nje forum webmasterash Shqiptare qe njeri kishte nevoj per ndihme sepse kishte shkruajtur blg url te gabuar ne wordpress pikerisht nga paneli administrimit dhe mbase e kishte ruajtur ne menyre te gabuar nuk u hapte me blogu pra wp-admin.Me kete arsye gjeta nje adrese por ngaqe [...]]]></description>
			<content:encoded><![CDATA[<p>Te gjith jemi njerez dhe gabojme duke pare ne nje forum webmasterash Shqiptare qe njeri kishte nevoj per ndihme sepse kishte shkruajtur blg url te gabuar ne wordpress pikerisht nga paneli administrimit dhe mbase e kishte ruajtur ne menyre te gabuar nuk u hapte me blogu pra wp-admin.Me kete arsye gjeta nje adrese por ngaqe eshte ne gjuhen angleze kisha deshiren ta vendos ne albcoders.com ne gjuhen tone.<br />
Athere edhe ju lexues nese nuk futeni dot ne wp-admin nga arsyeja sepse keni blog url gabim ne radhe te pare shkoni ne phpMyadmin identifikohuni.<br />
dhe klikoni tek databases me pak fjale shkoni tek lista e databazave.<br />
<img src="http://www.albcoders.com/wp-content/uploads/2009/12/siteurl1.png" alt="siteurl1" title="siteurl1" width="387" height="319" class="aligncenter size-full wp-image-490" /></p>
<p>Nga lista zgjidhni databzen tuaj te blogut si shembull ne foto eshte databaza <strong>tambao20_guides</strong>,klikoni mbi databaze;</p>
<p><img src="http://www.albcoders.com/wp-content/uploads/2009/12/siteurl2.png" alt="siteurl2" title="siteurl2" width="360" height="133" class="aligncenter size-full wp-image-491" /><br />
Tani ju dolen perpara te gjitha tabelat e ksaj databaze dhe klikoni aty tek ikona ku eshte treguar me shigjete;</p>
<p><img src="http://www.albcoders.com/wp-content/uploads/2009/12/siteurl3.png" alt="siteurl3" title="siteurl3" width="496" height="284" class="aligncenter size-full wp-image-492" /><br />
Këto ekrane tregojnë shumë dhe shumë opsione.<br />
Gjej <strong>option_name &#8216;siteurl&#8217;</strong>.Dhe Klikoni iconin stilolaps;<br />
<img src="http://www.albcoders.com/wp-content/uploads/2009/12/siteurl41.png" alt="siteurl4" title="siteurl4" width="581" height="140" class="aligncenter size-full wp-image-495" /></p>
<p>Kur ju te klikoni në ikonën majtas do të shihni diçka shumë të ngjashme me këtë:</p>
<p><img src="http://www.albcoders.com/wp-content/uploads/2009/12/siteurl5.png" alt="siteurl5" title="siteurl5" width="411" height="255" class="aligncenter size-full wp-image-496" /><br />
Dhe duke pasur kujdes ndryshojeni informacionin tek <strong>option_value</strong> dhe klikoni ne butonin Go.</p>
<p>Tani do ju dali ky ekrani ne imazh;</p>
<p><img src="http://www.albcoders.com/wp-content/uploads/2009/12/siteurl6.png" alt="siteurl6" title="siteurl6" width="671" height="107" class="aligncenter size-full wp-image-497" /></p>
<p>Ju ketu duheni te gjeni vleren <strong>Home</strong> .kliko ne butonin e treguar me shigjete.<br />
Klikoni tek ikoni stilolaps per te edituar.<br />
<img src="http://www.albcoders.com/wp-content/uploads/2009/12/siteurl7.png" alt="siteurl7" title="siteurl7" width="565" height="76" class="aligncenter size-full wp-image-498" /></p>
<p>As nje vlerë nuk duhet të ketë një plagë zvarritës ne fund ose index.php.<br />
<img src="http://www.albcoders.com/wp-content/uploads/2009/12/siteurl8.png" alt="siteurl8" title="siteurl8" width="426" height="194" class="aligncenter size-full wp-image-499" /></p>
<p>Klikoni Go dhe mbaroj te shkume <img src='http://www.albcoders.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Mirutakofshim ne nje shkrim te ri<br />
AlbCoder</p>
<p>Burimi:</p>
<p>http://www.tamba2.org.uk/wordpress/site-url/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/wordpress-site-url-e-gabuar-si-regullohet.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Elementi query_posts ne WordPress</title>
		<link>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/elementi-query_posts-ne-wordpress.html</link>
		<comments>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/elementi-query_posts-ne-wordpress.html#comments</comments>
		<pubDate>Tue, 15 Dec 2009 21:37:17 +0000</pubDate>
		<dc:creator>AlbCoder</dc:creator>
				<category><![CDATA[Mesime / Modifikime]]></category>

		<guid isPermaLink="false">http://www.albcoders.com/?p=485</guid>
		<description><![CDATA[query_posts eshte nje element qe perdoret ne WordPress. Duke perdorur query_post ne sitin tuaj nese deshironi mund te shfaqni 10 artikujt e fundit,mund te shfaqni artikujt e nje kategorije te caktuar,eshte e mundur edhe mos ti tregoni kategorite qe deshironi ose edhe nje varjant tjeter qe edhe mund ti tregoni artikujt nga e vjetra tek [...]]]></description>
			<content:encoded><![CDATA[<p><strong>query_posts</strong> eshte nje element qe perdoret ne WordPress. Duke perdorur query_post ne sitin tuaj nese deshironi mund te shfaqni 10 artikujt e fundit,mund te shfaqni artikujt e nje kategorije te caktuar,eshte e mundur edhe mos ti tregoni kategorite qe deshironi ose edhe nje varjant tjeter qe edhe mund ti tregoni artikujt nga e vjetra tek e reja domethene jo nga e reja tej e vjetra <img src='http://www.albcoders.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .Po mire po mendoni se si behet?</p>
<p>Ne nje menyre te thjeshte shkrimet ne <strong>wordpress</strong> listohen keshtu;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="language" style="font-family:monospace;"> &lt;?php if (have_posts()) : ?&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;
&lt;?php the_content(); ?&gt;
&lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;</pre></td></tr></table></div>

<p>Keshtu qe shkrimet tona do te listohen njera mas tjetres sipas dates.Tani te mendojme se duhemi te tregojme 10 postimet e fundit ne wordpress athere ne ndihmen tone vrapon <strong>query_posts</strong> <img src='http://www.albcoders.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="language" style="font-family:monospace;"> &lt;?php query_posts( 'showposts=10' ); ?&gt;
&lt;?php if( have_posts() ) : ?&gt;
&lt;?php while( have_posts() ) : the_post(); ?&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;</pre></td></tr></table></div>

<p>Ja ne kete menyre bem te mundur me ndryshe nga listimi i thjeshte qe ti shfaqim titujt e 10 postimeve te fundit .Elementi <strong>query_posts</strong> ka lloj lloj menyrash per tu perdorur.Ti tregojme edhe ato;</p>
<p>Per te treguar postimet e nje kategorije te caktuar ne faqen kryesore;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="language" style="font-family:monospace;"> &lt;?php
   if (is_home()) {
      query_posts(&quot;category_name=lajmet&quot;);
   }
?&gt;</pre></td></tr></table></div>

<p>Kete shembullin e trrete qe treguam tani nese e vendosni siper kodeve qe dham ne shembullin e dyte ,ne faqen kryesore do duken vetem postimet e kategorise <strong>lajmet</strong>.Dhe elementi <strong>is_home() </strong> na ben qe ti tregojme postimet vetem ne faqen kryesore.Faktikisht ne vend qe te perdorim emrin e kategorise mund te perdorim edhe id-in,prandaj duke e zene se <strong>id</strong> i kategorise lajmet eshte 3 do mjaftonte te shkruajme <strong>cat=3</strong> ne vend te <strong>category_name=lajmet</strong></p>
<p>Me teper kategorija mund ti radhojme keshtu;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="language" style="font-family:monospace;"> &lt;?php
   if (is_home()) {
      query_posts('cat=2,3,7,19');
   }
?&gt;</pre></td></tr></table></div>

<p>Keshtu qe ne ne faqen kryesore listuam vetem postimet e kategorive me id 2, 3, 7, dhe 19.</p>
<p>Tani ta zejme se kemi nje kategori qe nuk duam ta tregojme ne faqen kryesore.per kete mund te perdorim kete kodin;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="language" style="font-family:monospace;"> &lt;?php
   if (is_home()) {
      query_posts('cat=-5');
   }
?&gt;</pre></td></tr></table></div>

<p>Me kete kodin qe dham me lart tani ne faqen kryesore shkrimet e kategorise 5 nuk do te duken.</p>
<p>Dhe nese deshirojme nje shkrim ,artikull qe duam mund ta tregojme fikse ne faqen kryesore qe mos te levizi kurre <img src='http://www.albcoders.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="language" style="font-family:monospace;"> &lt;?php
   if (is_home()) {
      query_posts('p=7');
   }
?&gt;</pre></td></tr></table></div>

<p>Pra edhe nej tjeter qe nese deshirojme mund ta tregojme edhe sipas dates.</p>
<p><?php query_posts('cat=3&#038;year=2004&#038;showposts=5'); ?></p>
<p>Me kodin me lart kemi thene (trego 5 postimet qe jane shkruajtur ne vitin 2004 te kategorise 5)</p>
<p><strong>Parametrat</strong></p>
<p>•<strong>cat=3</strong> &#8211; Shkrimet e kategorise qe e kane id-in 3<br />
•<strong>category_name=emer</strong> kategorije &#8211; shkrimet e kategorise qe i keni shkruajtur emrin<br />
•<strong>author_name=emri</strong> autorit &#8211; shkrimet e autorit qe behet fjale<br />
•<strong>author=3</strong> &#8211; shkrimet e autorit me id 3<br />
•<strong>p=1</strong> &#8211; nje artikull e id-in e ka 1<br />
•<strong>name=emri</strong> shkrimit &#8211; nje artikull i caktuar<br />
•<strong>page_id=7</strong> &#8211; tregon faqen me id numer 7<br />
•<strong>pagename=emri faqes</strong> &#8211; perdoret per te treguar nje faqe<br />
•<strong>showposts=10</strong> &#8211; tregon artikujt me vleren qe ju shkruani<br />
•<strong>hour=</strong> &#8211; shkrimet e nje orari qe deshironi<br />
•<strong>minute=</strong> &#8211; shkrimet e minutave qe deshironi<br />
•<strong>second=</strong> &#8211; shkrimet e sekondave qe deshironi<br />
•<strong>day=</strong> &#8211; shkrimet e nje dite qe caktoni<br />
•<strong>monthnum=</strong> &#8211; shkrimet e muajit<br />
•<strong>year=</strong> &#8211; shkrimet e vitit<br />
•<strong>paged=2</strong> &#8211; shkrimet e faqes te dyte<br />
•<strong>posts_per_page=10</strong> &#8211; Percakton se sa postime do te tregohen per nje faqe. -vlera 1 tregon te gjitha postimet.<br />
•<strong>order=ASC</strong> &#8211; i rreshton shkrimet nga e vjetra tek e reja. Kurse vlera DESC ben te kunderten.<br />
Me keto parametra mund te kombinoni gjera shume te ndryshme. vetem mos harroni te vendosni shenjen &#038; midis parametraveja dhe dhe vendosni keto kodet ne fillimin e listimeve;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="language" style="font-family:monospace;"> &lt;?php if( have_posts() ) : ?&gt;</pre></td></tr></table></div>

<p>Mirutakofshim ne nje shkrim te ri<br />
AlbCoder</p>
<p>Burimet :</p>
<p><a href="http://ifelse.co.uk/archives/2005/04/08/query_posts-redux/">http://ifelse.co.uk/archives/2005/04/08/query_posts-redux/</a><br />
<a href="http://codex.wordpress.org/Template_Tags/query_posts">http://codex.wordpress.org/Template_Tags/query_posts</a><br />
<a href="http://codex.wordpress.org/The_Loop">http://codex.wordpress.org/The_Loop</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/elementi-query_posts-ne-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Si te Krijojme nje Faqe pa Sidebar ne WordPress</title>
		<link>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/si-te-krijojme-nje-faqe-pa-sidebar-ne-wordpress.html</link>
		<comments>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/si-te-krijojme-nje-faqe-pa-sidebar-ne-wordpress.html#comments</comments>
		<pubDate>Wed, 18 Nov 2009 20:33:48 +0000</pubDate>
		<dc:creator>AlbCoder</dc:creator>
				<category><![CDATA[Mesime / Modifikime]]></category>

		<guid isPermaLink="false">http://www.albcoders.com/?p=417</guid>
		<description><![CDATA[Ta zejme shembull kemi nje faqe per chat dhe duam te krijojme nje page (faqe) per Java Applet por qe mos te duket diçka e vogel na duhet te krijojme nje faqe pa sidebar.Tani ne kete mesim do ju tregoj se si mund te krijojme nje faqe pa sidebar ne wordpress theme. Te fillojme duke [...]]]></description>
			<content:encoded><![CDATA[<p>Ta zejme shembull kemi nje faqe per chat dhe duam te krijojme nje page (faqe) per Java Applet por qe mos te duket diçka e vogel na duhet te krijojme nje faqe pa sidebar.Tani ne kete mesim do ju tregoj se si mund te krijojme nje faqe pa sidebar ne wordpress theme.</p>
<p>Te fillojme duke bere disa shtesa ne stylesheet style.css te themes qe jeni duke perdorur.Sepse tani kemi nevoj te krijojme nje div id te re dhe ti japim emrin pa-sidebar .Dhe ne style.css i vendosim keto kodet e poshtem:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#pa_sidebar</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;">800px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">visible</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Dhe tani na duhet nje class id i ri ne style.css;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.pasidebar</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;">800px</span><span style="color: #00AA00;">;</span>font-<span style="color: #000000; font-weight: bold;">size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.4em</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.7em</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#444</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>rifreskojeni stylesheet.</p>
<p>Tani ne duhemi te krojojme nje file php te re.Shkoni ne Page Template php te themes qe perdorni dhe kopjojini te gjitha kodet qe jane aty dhe vendosini ne nje notepad.<br />
Tani para se te beni gje lart ketyre kodeve qe kopjuat ne fillim fare vendoseni kete kodin;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
Template Name: Pa-Sidebars
*/</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Kjo do i tregoj blogut tuaj qe keni nje template te re</p>
<p>Tani Nderrojeni kete kod:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;content&quot;</span><span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>me kodin ;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>div id <span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pa_sidebar&quot;</span><span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>Nderrojeni edhe</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;post&quot; id=&quot;post-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;</pre></td></tr></table></div>

<p>Me</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;pasidebar&quot; id=&quot;pa_sidebar-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;</pre></td></tr></table></div>

<p>dhe fshijeni kete;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> get_sidebar<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Mbase ti beni te gjitha keto template do mari nje pamje si shembulli qe po jap me poshte;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
Template Name: Pa-Sidebar
*/</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'header.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;div id=&quot;content_box&quot;&gt;
&nbsp;
&lt;div id=&quot;pa_sidebar&quot;&gt;
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;div class=&quot;pasidebar&quot; id=&quot;pa_sidebar-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
&lt;h2 style=&quot;padding-top: 0;&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/h2&gt;&lt;br&gt;
&lt;div class=&quot;entry&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_content<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;p class=&quot;serif&quot;&gt;Read the rest of this page &amp;raquo;&lt;/p&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> link_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;p&gt;&lt;strong&gt;Faqet:&lt;/strong&gt; '</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&lt;/p&gt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'number'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/div&gt;
&lt;/div&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;/div&gt;
&nbsp;
&lt;/div&gt;
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> get_footer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Tani ruajeni filen qe krijuat ne notepad me emer pa-sidebar.php dhe hudheni ne ftp.</p>
<p>Shkoni ne WordPress Dashboard ne panelin e administrimit,klikoni tek Pages – Add New .Ne te djathten ku jeni ,poshte Attributes, Templates, do shikoni nje template te re me emrin Pa-Sidebar ne menune drop down.<br />
Tani jipini nje emer faqes dhe filloni publikimin e nje faqeje pa sidebar.<br />
www.albcoders.com | AlbCoder</p>
]]></content:encoded>
			<wfw:commentRss>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/si-te-krijojme-nje-faqe-pa-sidebar-ne-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problemi me i perhapur ne WordPress</title>
		<link>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/problemi-me-i-perhapur-ne-wordpress.html</link>
		<comments>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/problemi-me-i-perhapur-ne-wordpress.html#comments</comments>
		<pubDate>Sun, 01 Nov 2009 13:08:31 +0000</pubDate>
		<dc:creator>AlbCoder</dc:creator>
				<category><![CDATA[Mesime / Modifikime]]></category>

		<guid isPermaLink="false">http://www.albcoders.com/?p=404</guid>
		<description><![CDATA[Warning: Cannot modify header information – headers already sent by (output started at …\wp-contact-form\wp-contactform.php:1) in …\wp-includes\pluggable-functions.php on line 272 Ky errori wp-contactform.php qe dhash me siper mund te ndodhi me teper me wp-config.php ose me ndonje dosje tjeter te wordpressit.Edhe sikur te jet nje problem i thjeshte qe mund te regullohet mjafton ta shkatarroj websitin. [...]]]></description>
			<content:encoded><![CDATA[<p>Warning: Cannot modify header information – headers already sent by (output started at …\wp-contact-form\<strong>wp-contactform.php:1</strong>) in …\wp-includes\pluggable-functions.php on line 272</p>
<p>Ky errori <strong>wp-contactform.php</strong> qe dhash me siper mund te ndodhi me teper me <strong>wp-config.php</strong> ose me ndonje dosje tjeter te wordpressit.Edhe sikur te jet nje problem i thjeshte qe mund te regullohet mjafton ta shkatarroj websitin.</p>
<p>Arsyeja e ketij problemi eshte kjo; ju kur regulloni nje file .php me ndonje editor, ne fillimin e faqes behet e mundur shtimi i firmes UTF-8 (BOM).</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">ï»¿&lt;?php</pre></td></tr></table></div>

<p>Ky karakteri qe dhash siper qe nuk ka as nje kuptim behet arsyeja qe te merni errorin e <strong>file.php:1</strong>,dhe ky numri 1 tregon qe eshte ne rrjeshtin numer 1.</p>
<h3>Zgjidhja</h3>
<p>Kur te regulloni dosjen ne opsionet e programit tipin e karakterit zgjidheni UTF-8 (pa BOM).Mepas zgjidhi te gjitha ne dosje (select all) dhe preje.Nderrojani tipin e files ngjiteni perseri dhe ruaje.Problemi do te zgjidhet.</p>
<p>Programi me me kualitet q emund te perdorni per kete eshte <a href="http://notepad-plus.sourceforge.net/uk/site.htm">Notepad++</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/problemi-me-i-perhapur-ne-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nese nuk futeni Dot ne wp-admin</title>
		<link>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/nese-nuk-futeni-dot-ne-wp-admin.html</link>
		<comments>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/nese-nuk-futeni-dot-ne-wp-admin.html#comments</comments>
		<pubDate>Mon, 26 Oct 2009 19:57:47 +0000</pubDate>
		<dc:creator>AlbCoder</dc:creator>
				<category><![CDATA[Mesime / Modifikime]]></category>

		<guid isPermaLink="false">http://www.albcoders.com/?p=370</guid>
		<description><![CDATA[Para nje Kohe ne albcoders.com bera nje test me nje plugin serioz dhe me shkaktoj disa probleme ne strukturen e databazes plus nuk hyja dot ne administrimin efaqes ,dhe kur doja te hyja me dilte nje tekst errori You do not have sufficient permissions to access this page Pra tani dua ta tregoj ne kete [...]]]></description>
			<content:encoded><![CDATA[<p>Para nje Kohe ne albcoders.com bera nje test me nje plugin serioz dhe me shkaktoj disa probleme ne strukturen e databazes plus nuk hyja dot ne administrimin  efaqes ,dhe kur doja te hyja me dilte nje tekst errori <strong>You do not have sufficient permissions to access this page</strong> Pra tani dua ta tregoj ne kete postim zgjidhjen e ketij problemi qe ndodh ne wordpress sepse ndoshta mund te kete nevoj dikush tjeter.<br />
Athere nese nuk po futeni dot ne wp-admin dhe ju del teksti qe dhash edhe me lart gjeja pare qe duheni te beni te shkoni ne adresen <a href="http://txfx.net/files/wordpress/force-upgrade.phps">http://txfx.net/files/wordpress/force-upgrade.phps</a> ,shkarkojeni dokumentin aty ku shkruan download dhe ruajeni me prapashtese .php domethen nderrojani emrin ne menyre <strong>force_upgrade.php</strong>,hudheni ne root aty ku ndodhet wpconfig.php dhe kur te lidheni tek force_upgrade.php do shikoni qe do ju dali nje hape per ta kaluar beni next dhe kaloni matan.Mepas provoni linkun <strong>adresajuaj.com/wp-admin</strong> Tani keni hyre ne wp-admin ,gjeja qe duheni te beni provoni opsionet nese klikoni neper plugins ,settings etj. Ju lejon te modifikoni apo perseri ju jep mesazhin  <strong>You do not have sufficient permissions to access this page</strong> Nese ju del ky tekst perseri duhemi te shkojme ne phpmyadmin dhe te bejme disa regullime.Vazhdojme;</p>
<p><img src="http://www.albcoders.com/wp-content/uploads/2009/10/wordpress001.png" alt="wordpress001" title="wordpress001" width="153" height="150" class="aligncenter size-full wp-image-371" /></p>
<p>Futuni ne Databazen e blogut</p>
<p><img src="http://www.albcoders.com/wp-content/uploads/2009/10/wordpress002.png" alt="wordpress002" title="wordpress002" width="300" height="150" class="aligncenter size-full wp-image-372" /></p>
<p>Shko tek <strong>wp_usermeta </strong>dhe hape;<br />
Me pas;</p>
<p><img src="http://www.albcoders.com/wp-content/uploads/2009/10/wordpress003.png" alt="wordpress003" title="wordpress003" width="300" height="102" class="aligncenter size-full wp-image-373" /></p>
<p>Hape <strong>wp_capabilities</strong> per ta edituar,klikoni aty ku eshte me shenje lapsi,</p>
<p><img src="http://www.albcoders.com/wp-content/uploads/2009/10/wordpress004.png" alt="wordpress004" title="wordpress004" width="300" height="102" class="aligncenter size-full wp-image-374" /></p>
<p>Pjesen ku eshte e shruajtur <strong>a:1:{s:10:&#8221;subscriber&#8221;;b:1;}</strong><br />
nderrojeni me kete tjetrin <strong>a:1:{s:13:&#8221;administrator&#8221;;b:1;}</strong> dhe mbaroj<br />
me pas fshini Historin e adresave dhe beni hyrjen ne wp-admin<br />
www.albcoders.com </p>
]]></content:encoded>
			<wfw:commentRss>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/nese-nuk-futeni-dot-ne-wp-admin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Element i ri Per HTML &#8211; Canonical</title>
		<link>http://www.albcoders.com/blog/seo/teknika-metoda/element-i-ri-per-html-canonical.html</link>
		<comments>http://www.albcoders.com/blog/seo/teknika-metoda/element-i-ri-per-html-canonical.html#comments</comments>
		<pubDate>Wed, 14 Oct 2009 21:01:37 +0000</pubDate>
		<dc:creator>AlbCoder</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Mesime / Modifikime]]></category>
		<category><![CDATA[Teknika & Metoda]]></category>
		<category><![CDATA[Vegla per SEO]]></category>

		<guid isPermaLink="false">http://www.albcoders.com/?p=297</guid>
		<description><![CDATA[Ask,Google,Microsoft dhe Yahoo thane qe perkrahin nje element te ri.Mund te jet i vlefshem per SEO. Puna qe ben Ky Element; eshte per ti drejtuar faqet qe kane linke çifte ose me shume tek adresa e drejte dhe per te ndihmuar botet e motorreve te kerkimit. Nese e tregojme pak me gjere; Ta zejme se [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Ask,Google,Microsoft</strong> dhe <strong>Yahoo</strong> thane qe perkrahin nje element te ri.Mund te jet i vlefshem per SEO.</p>
<p>Puna qe ben Ky Element; eshte per ti drejtuar faqet qe kane linke çifte ose me shume tek adresa e drejte dhe per te ndihmuar botet e motorreve te kerkimit.</p>
<p><strong>Nese e tregojme pak me gjere;</strong></p>
<p>Ta zejme se eshte nje kompani qe shet Kompjutera.Kjo kompani produktin X e kategorizon sipas markes.Por kjo kompani kete produktin X mund ta rrjeshtoj,kategorizoj edhe sipas çmimit.Kjo ka kuptimin qe produkti te indexohet dy here dhe te tregohet ne dy kategorija te ndryshme.</p>
<p>Vizitori qe e shikon kete produkt do te perballet me dy linke.Keshtu qe vizitori do te drejtohet ne dy adresa,dhe kjo e ul kategorine e kerkimit.</p>
<p>Per ti kaluar perpara ksaj gjeje eshte e mundur.Webmasteri mundet tia tregoj boteve se cili kerkim ne te cilen faqe duhet te duket.<br />
Per ta bere kete ne faqen e caktuar duhemi ta vejme kete Kodin;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>link rel<span style="color: #339933;">=</span>”canonical” href<span style="color: #339933;">=</span>”http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//produkti.com” /&gt;</span></pre></td></tr></table></div>

<p>Ky Kod botet do i drejtoj ne faqen e duhur dhe do e rrisi kualitetin e kerkimit.</p>
<p>Kete Pune ne <strong>WordPress</strong> me mire e ben dhe Shtesa  <strong>“All in one seo pack”</strong></p>
<p>Mjafton te shkoni tek <strong>settings</strong> -> <strong>All in One SEO</strong>  -> dhe te klikoni pjesen <strong>“Canonical URLs”</strong></p>
<p>Dhe per ta bere pa Shtese pa Plugin duheni ta vendosni kete Kodin ne <strong>header.php</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;link rel=”canonical” href=”<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>” /&gt;</pre></td></tr></table></div>

<p>Elementi <strong>Canonical</strong> eshte nje element qe pelqehet nga Botet e motorreve te kerkimit.<br />
Informacione me te teperta mund ti gjeni ne Google Webmaster Central blog </p>
]]></content:encoded>
			<wfw:commentRss>http://www.albcoders.com/blog/seo/teknika-metoda/element-i-ri-per-html-canonical.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem Me Sitemap.xml ne WordPress</title>
		<link>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/problem-me-sitemap-xml-ne-wordpress.html</link>
		<comments>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/problem-me-sitemap-xml-ne-wordpress.html#comments</comments>
		<pubDate>Tue, 29 Sep 2009 10:49:42 +0000</pubDate>
		<dc:creator>AlbCoder</dc:creator>
				<category><![CDATA[Mesime / Modifikime]]></category>

		<guid isPermaLink="false">http://www.albcoders.com/?p=264</guid>
		<description><![CDATA[Egzistojne shume persona qe kerkojne ndihme reth ketij problemi.Pershembull keni instaluar google sitemap generator ne WordPress dhe kur hyni me adresen http://emri.com/sitemap.xml Ju shfaqet sitemap.xml ne regull,por kur hyni me www ,http://www.emri.com/sitemap.xml perpara ju del nje error si ky Error loading stylesheet: An unknown error has occurred (805303f4)http://emri.com/wp-content/plugins/google-sitemap-generator/sitemap.xsl Shume veta jane te shqetesuar nga ky [...]]]></description>
			<content:encoded><![CDATA[<p>Egzistojne shume persona qe kerkojne ndihme reth ketij problemi.Pershembull keni instaluar google sitemap generator ne <font color="red">WordPress</font> dhe kur hyni me adresen <font color="red">http://emri.com/sitemap.xml </font>Ju shfaqet sitemap.xml ne regull,por kur hyni me www ,<font color="red">http://www.emri.com/sitemap.xml</font> perpara ju del nje error<br />
si ky<br />
<font color="red">Error loading stylesheet: An unknown error has occurred (805303f4)http://emri.com/wp-content/plugins/google-sitemap-generator/sitemap.xsl</font></p>
<p>Shume veta jane te shqetesuar nga ky Error por dua tju them se nuk ka as nje Problem sepse Botat e motorreve te kerkimit gjithsesi e indexojne Faqen .Tani per ato qe kembengulin qe thojne dua ta regulloj qe kur te hyj me <strong>www</strong> perpara dua te shfaqet e regullt,athere po jua tregoj se cfare duheni te beni per ta hequr kete error:</p>
<p>Hapeni dosjen .htaccess dhe vendoseni kete Kodin;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;">AddType application/xml .xsl</pre></td></tr></table></div>

<p>Me pas shkoni tek ;<br />
<font color="red">wp-content/plugins/google-sitemap-generator/</font><br />
dhe aty eshte dosja sitemap.xsl ,hapeni kete File,dhe pjesen qe eshte Lart fare nderroje me kete ;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=”1.0″ <span style="color: #000066;">encoding</span>=”UTF-8″<span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml-stylesheet</span> <span style="color: #000066;">type</span>=”text/xsl” <span style="color: #000066;">href</span>=”product-list.xslt”<span style="color: #000000; font-weight: bold;">?&gt;</span></span></pre></td></tr></table></div>

<p>Dhe do e shikoni qe cdo gje do te jete ne regull.<br />
AlbCoders.COM</p>
]]></content:encoded>
			<wfw:commentRss>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/problem-me-sitemap-xml-ne-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

