<?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/"
	xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>All News Post Tag: WordPress Tutorial &#8211; Cilacap.info English</title>
	<atom:link href="https://en.cilacap.info/tag/wordpress-tutorial/feed" rel="self" type="application/rss+xml" />
	<link>https://en.cilacap.info</link>
	<description>Media Online Masa Kini, Akurat, Mengedepankan Etika</description>
	<lastBuildDate>Sat, 22 Jan 2022 12:35:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<image>
<url>https://img.cilacap.info/images/en/favicon-32x32.png</url><title>All News Post Tag: WordPress Tutorial &#8211; Cilacap.info English</title>
<link>https://en.cilacap.info</link>
<width>32</width><height>32</height><description>English Version News</description>
</image>
	<item>
		<title>Change Link in WordPress, Compatible Same Browser</title>
		<link>https://en.cilacap.info/article/change-link-in-wordpress-compatible-same-browser</link>
		
		<dc:creator><![CDATA[Redaksi Cilacap.info]]></dc:creator>
		<pubDate>Sun, 20 Jun 2021 18:28:14 +0000</pubDate>
				
		<category><![CDATA[Website]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Tutorial]]></category>
		<guid isPermaLink="false">https://en.cilacap.info/article/change-link-in-wordpress-compatible-same-browser</guid>

					<description><![CDATA[ aria-label="Cilacap.info English">Cilacap.info English &#8211; This article not change mobile subdomain or subdirectory, but only change url or link if you open browser from mobile device or desktop.]]></description>
										<content:encoded><![CDATA[<p><a href="https://en.cilacap.info" aria-label="Cilacap.info English">Cilacap.info English</a> &#8211; This article not change mobile subdomain or subdirectory, but only change url or link if you open browser from mobile device or desktop.</p>
<p>Example, if you open and visit site but exist link on website from facebok or youtube from desktop, url with www and if you open from mobile phone, then it will change to url mobile.</p>
<p>If you have social media and you add link on website to follow social media, link to youtube channel or facebook channel, later will change and adjust to browser device.</p>
<p>This functions not use CSS or JavaScript, but only use and add, create with if and else.</p>
<p> This code very simple, okay i will gift tutorial to you.</p>
<p>&lt;?php</p>
<p>if (wp_is_mobile())</p>
<p> { echo //your code mobile</p>
<p> } else</p>
<p> { echo //your code desktop</p>
<p> } ?&gt;</p>
]]></content:encoded>
					
		
		
					<media:content
				url="https://img.cilacap.info/mediafile/illustration-social-media-link-access-same-browser.jpg"
				type="image/jpeg"
				medium="image"
				width="700"
				height="393">
				<media:title type="plain">
					<![CDATA[illustration social media link access same browser]]>
				</media:title>
				<media:thumbnail
					url="https://img.cilacap.info/mediafile/illustration-social-media-link-access-same-browser-100x75.jpg"
					width="100"
					height="75" />
									<media:description type="plain"><![CDATA[illustration social media link access same browser]]></media:description>
													<media:copyright>Redaksi Cilacap.info</media:copyright>
							</media:content>
				</item>
		<item>
		<title>Change AMP WordPress Title Tags add Name Mobile Version</title>
		<link>https://en.cilacap.info/article/change-amp-wordpress-title-tags-add-name-mobile-version</link>
		
		<dc:creator><![CDATA[Redaksi Cilacap.info]]></dc:creator>
		<pubDate>Thu, 03 Jun 2021 15:51:58 +0000</pubDate>
				
		<category><![CDATA[Semrush]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Tutorial]]></category>
		<guid isPermaLink="false">https://en.cilacap.info/article/change-amp-wordpress-title-tags-add-name-mobile-version</guid>

					<description><![CDATA[ aria-label="Cilacap.info English">Cilacap.info English &#8211; We check search engine optimization (SEO) tools on Semrush, but we found issue on meta title.]]></description>
										<content:encoded><![CDATA[<p><a href="https://en.cilacap.info" aria-label="Cilacap.info English">Cilacap.info English</a> &#8211; We check search engine optimization (SEO) tools on Semrush, but we found issue on meta title.</p>
<p>On Semrush detect duplicate title tags from non AMP and AMP (Accelerated Mobile Pages), because problem this, then we are trying to fix it.</p>
<p>We think that most appropriate solution to prevent duplicate meta title tags in WordPress is to add an attribute in AMP page with name &#8220;Mobile Version&#8221;.</p>
<p>The method is not so difficult, you can use add_filter with document_title_parts attribute on functions.php.</p>
<p>Then don&#8217;t forget to add if (function_exists(&#8216;is_amp_endpoint&#8217;) &#038;&#038; is_amp_endpoint()) { // do stuff } so that name &#8220;Mobile Version&#8221; is only found on AMP pages.</p>
<p>If theme you are using supports amp, then you can use if(nametheme_is_amp()).</p>
<p>Okay this code can you use and add on fuctions.php in your theme.</p>
<p>add_filter(&#8216;document_title_parts&#8217;, function($title) {
if (mytheme_is_amp())
$title[&#8216;amp&#8217;] = &#8216;Mobile Version&#8217;;
return $title;
});</p>
<p>Don&#8217;t forget, change mytheme_is_amp with your theme if your theme support amp paired with plugins AMP.</p>
]]></content:encoded>
					
		
		
					<media:content
				url="https://img.cilacap.info/mediafile/ilustration-mobile-redirect-to-amp.jpg"
				type="image/jpeg"
				medium="image"
				width="700"
				height="393">
				<media:title type="plain">
					<![CDATA[ilustration mobile redirect to amp]]>
				</media:title>
				<media:thumbnail
					url="https://img.cilacap.info/mediafile/ilustration-mobile-redirect-to-amp-100x75.jpg"
					width="100"
					height="75" />
									<media:description type="plain"><![CDATA[ilustration mobile redirect to amp]]></media:description>
													<media:copyright>Redaksi Cilacap.info</media:copyright>
							</media:content>
				</item>
	</channel>
</rss>
