<?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>polylang &#8211; Κατασκευή Ιστοσελίδων Χανιά &amp; Θεσσαλονίκη</title>
	<atom:link href="https://selidamou.gr/tag/polylang/feed" rel="self" type="application/rss+xml" />
	<link>https://selidamou.gr</link>
	<description>Web design &#38; Φιλοξενία</description>
	<lastBuildDate>Tue, 10 Jul 2018 15:10:11 +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>
	</channel>
</rss>
