<?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>snippet &#8211; Κατασκευή Ιστοσελίδων Χανιά &amp; Θεσσαλονίκη</title>
	<atom:link href="https://selidamou.gr/tag/snippet/feed" rel="self" type="application/rss+xml" />
	<link>https://selidamou.gr</link>
	<description>Web design &#38; Φιλοξενία</description>
	<lastBuildDate>Tue, 10 Jul 2018 15:15:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Πως να δημιουργήσετε shortcode για το Polylang plugin</title>
		<link>https://selidamou.gr/seo-greece/%cf%80%cf%89%cf%82-%ce%bd%ce%b1-%ce%b4%ce%b7%ce%bc%ce%b9%ce%bf%cf%85%cf%81%ce%b3%ce%ae%cf%83%ce%b5%cf%84%ce%b5-shortcode-%ce%b3%ce%b9%ce%b1-%cf%84%ce%bf-polylang-plugin</link>
					<comments>https://selidamou.gr/seo-greece/%cf%80%cf%89%cf%82-%ce%bd%ce%b1-%ce%b4%ce%b7%ce%bc%ce%b9%ce%bf%cf%85%cf%81%ce%b3%ce%ae%cf%83%ce%b5%cf%84%ce%b5-shortcode-%ce%b3%ce%b9%ce%b1-%cf%84%ce%bf-polylang-plugin#comments_reply</comments>
		
		<dc:creator><![CDATA[Web-Design]]></dc:creator>
		<pubDate>Tue, 10 Jul 2018 15:10:11 +0000</pubDate>
				<category><![CDATA[seo related]]></category>
		<category><![CDATA[polylang]]></category>
		<category><![CDATA[shortcode]]></category>
		<category><![CDATA[snippet]]></category>
		<guid isPermaLink="false">https://selidamou.gr/?p=3406</guid>

					<description><![CDATA[Προσθέστε το παρακάτω κώδικα στο functions.php ή όπως πάντα μου αρέσει να υπενθυμίζω στο snippet Plugin σας για να μην χαθεί κάτι σε κάποιο Update // Προσθέτουμε στο functions.php αρχείο function polylang_flags_shortcode() { ob_start(); pll_the_languages(array('show_flags'=&#62;1,'show_names'=&#62;0)); $flags = ob_get_clean(); return '&#60;ul&#8230;]]></description>
										<content:encoded><![CDATA[<p>Προσθέστε το παρακάτω κώδικα στο functions.php ή όπως πάντα μου αρέσει να υπενθυμίζω στο snippet Plugin σας για να μην χαθεί κάτι σε κάποιο Update</p>
<pre><code>// Προσθέτουμε στο functions.php αρχείο

function polylang_flags_shortcode() {
    ob_start();
    pll_the_languages(array('show_flags'=&gt;1,'show_names'=&gt;0));
    $flags = ob_get_clean();
    return '&lt;ul class="polylang-flags"&gt;' . $flags . '&lt;/ul&gt;';
}
add_shortcode('POLYLANG', 'polylang_flags_shortcode');
</code></pre>
<p>Και προσθέτουμε το παρακάτω CSS για την δυνατότητα εύκολης μορφοποίησης.</p>
<pre><code>/* Polylang Flags Inline */

.polylang-flags {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.polylang-flags li {
    display: inline;  
}
</code></pre>
<p>Το Shortcode μπορεί να χρησιμοποιηθεί οπουδήποτε στη σελίδα σας.</p>
<pre><code>[POLYLANG]</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://selidamou.gr/seo-greece/%cf%80%cf%89%cf%82-%ce%bd%ce%b1-%ce%b4%ce%b7%ce%bc%ce%b9%ce%bf%cf%85%cf%81%ce%b3%ce%ae%cf%83%ce%b5%cf%84%ce%b5-shortcode-%ce%b3%ce%b9%ce%b1-%cf%84%ce%bf-polylang-plugin/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Πως να αφαιρέσετε μια κατηγορία άρθρου ώστε να μην φαίνεται στη σελίδα του blog σας</title>
		<link>https://selidamou.gr/problem-solving/%cf%80%cf%89%cf%82-%ce%bd%ce%b1-%ce%b1%cf%86%ce%b1%ce%b9%cf%81%ce%ad%cf%83%ce%b5%cf%84%ce%b5-%ce%bc%ce%b9%ce%b1-%ce%ba%ce%b1%cf%84%ce%b7%ce%b3%ce%bf%cf%81%ce%af%ce%b1-%ce%ac%cf%81%ce%b8%cf%81%ce%bf</link>
		
		<dc:creator><![CDATA[Web-Design]]></dc:creator>
		<pubDate>Mon, 18 Jun 2018 11:52:04 +0000</pubDate>
				<category><![CDATA[Problem solving]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[exclude category]]></category>
		<category><![CDATA[snippet]]></category>
		<guid isPermaLink="false">https://selidamou.gr/?p=3424</guid>

					<description><![CDATA[Πρώτα πρέπει να βρείτε το ID της καστηγορίας από τα άρθρα που δεν θέλετε να φαίνονται. Για να την βρείτε πρέπει να πάτε στο Posts &#62; Categories. Αν κάνετε Hover πάνω από την κατηγορία θα δείτε το ID της. &#160; Προσθέστε το&#8230;]]></description>
										<content:encoded><![CDATA[<p>Πρώτα πρέπει να βρείτε το ID της καστηγορίας από τα άρθρα που δεν θέλετε να φαίνονται. Για να την βρείτε πρέπει να πάτε στο <strong>Posts &gt; Categories. </strong>Αν κάνετε Hover πάνω από την κατηγορία θα δείτε το ID της.</p>
<p>&nbsp;</p>
<p>Προσθέστε το παρακάτω κώδικα(στο functions.php ή σε snippet plugin) και αλλάξτε το 101 με το ID της κατηγορίας σας.</p>
<ol>
<li>
<div id="highlighter_859193" class="syntaxhighlighter  php">
<div class="toolbar"></div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gutter">
<div class="line number1 index0 alt2">1</div>
<div class="line number2 index1 alt1">2</div>
<div class="line number3 index2 alt2">3</div>
<div class="line number4 index3 alt1">4</div>
<div class="line number5 index4 alt2">5</div>
<div class="line number6 index5 alt1">6</div>
</td>
<td class="code">
<div class="container">
<div class="line number1 index0 alt2"><code class="php keyword">function</code> <code class="php plain">exclude_category( </code><code class="php variable">$query</code> <code class="php plain">) {</code></div>
<div class="line number2 index1 alt1"><code class="php keyword">if</code> <code class="php plain">( </code><code class="php variable">$query</code><code class="php plain">-&gt;is_home() &amp;&amp; </code><code class="php variable">$query</code><code class="php plain">-&gt;is_main_query() ) {</code></div>
<div class="line number3 index2 alt2"><code class="php variable">$query</code><code class="php plain">-&gt;set( </code><code class="php string">'cat'</code><code class="php plain">, </code><code class="php string">'-101'</code> <code class="php plain">);</code></div>
<div class="line number4 index3 alt1"><code class="php plain">}</code></div>
<div class="line number5 index4 alt2"><code class="php plain">}</code></div>
<div class="line number6 index5 alt1"><code class="php plain">add_action( </code><code class="php string">'pre_get_posts'</code><code class="php plain">, </code><code class="php string">'exclude_category'</code> <code class="php plain">);</code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>Αν θέλετε να αποκλείσετε 2 ή παραπάνω κατηγορίες αλλάξτε το query σε</li>
<li><code class="php variable">$query</code><code class="php plain">-&gt;set( </code><code class="php string">'cat'</code><code class="php plain">, </code><code class="php string">'-101,-102'</code> <code class="php plain">);</code></li>
</ol>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Πως να αφαιρέσουμε τα related products στο woocommerce</title>
		<link>https://selidamou.gr/problem-solving/%cf%80%cf%89%cf%82-%ce%bd%ce%b1-%ce%b1%cf%86%ce%b1%ce%b9%cf%81%ce%ad%cf%83%ce%bf%cf%85%ce%bc%ce%b5-%cf%84%ce%b1-related-products-%cf%83%cf%84%ce%bf-woocommerce</link>
		
		<dc:creator><![CDATA[Web-Design]]></dc:creator>
		<pubDate>Tue, 15 Aug 2017 22:03:58 +0000</pubDate>
				<category><![CDATA[Problem solving]]></category>
		<category><![CDATA[related products]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[woocommerce]]></category>
		<guid isPermaLink="false">http://selidamou.gr/?p=3200</guid>

					<description><![CDATA[Αν το θέμα σας δεν είναι φτιαγμένο για το woocommerce ή απλά θέλετε να αφαιρέσετε τα related products που είναι στο τέλος της σελίδας στην product page μας, μπορείτε να προσθέσετε το παρακάτω snippet μέσα στο functions.php του theme σας.&#8230;]]></description>
										<content:encoded><![CDATA[<p>Αν το θέμα σας δεν είναι φτιαγμένο για το woocommerce ή απλά θέλετε να αφαιρέσετε τα related products που είναι στο τέλος της σελίδας στην product page μας, μπορείτε να προσθέσετε το παρακάτω snippet μέσα στο functions.php του theme σας.</p>
<p>remove_action( &#8216;woocommerce_after_single_product_summary&#8217;, &#8216;woocommerce_output_related_products&#8217;, 20);</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
