<?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>bavotasan.com</title>
	<atom:link href="http://bavotasan.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://bavotasan.com/</link>
	<description>Home of c.bavota, web developer extraordinaire and creator of multiple WordPress themes and plugins</description>
	<lastBuildDate>Sat, 14 Mar 2026 03:18:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>http://bavotasan.com/wp-content/uploads/2015/03/bavotasan-icon-54fef4ebv1_site_icon-32x32.png</url>
	<title>bavotasan.com</title>
	<link>https://bavotasan.com/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">22963127</site>	<item>
		<title>New PLC Construction Website Launches Using Bavotasan and Bandicoot Technology</title>
		<link>http://bavotasan.com/2026/new-plc-construction-website-launches-using-bavotasan-and-bandicoot-technology/</link>
					<comments>http://bavotasan.com/2026/new-plc-construction-website-launches-using-bavotasan-and-bandicoot-technology/#respond</comments>
		
		<dc:creator><![CDATA[Bandicoot Marketing]]></dc:creator>
		<pubDate>Sat, 14 Mar 2026 03:17:32 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<guid isPermaLink="false">https://bavotasan.com/?p=14598</guid>

					<description><![CDATA[<p>Several months ago, PLC Construction Company reached out to the team in search of a brand new digital presence. PLC Construction is the name behind many of the safest and most&#8230;</p>
<p>The post <a href="http://bavotasan.com/2026/new-plc-construction-website-launches-using-bavotasan-and-bandicoot-technology/">New PLC Construction Website Launches Using Bavotasan and Bandicoot Technology</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="525" height="420" src="http://bavotasan.com/wp-content/uploads/2026/03/PLC-Construction.png" alt="" class="wp-image-14599"/></figure>
</div>


<p>Several months ago, <a href="https://plcconstruction.com">PLC Construction Company</a> reached out to the team in search of a brand new digital presence. PLC Construction is the name behind many of the safest and most profitable upstream and midstream facilities in the oil and gas industry. Serving clients worldwide since 1993, they have provided clients with quality solutions to their most complex construction, engineering, design, and integration challenges. Today PLC is a nationally-recognized leader in the oil and gas industry for two things: the team’s vast experience and dedication to client success.</p>



<p>Here are some of the theme highlights of the new digital presence for PLC:</p>



<ul class="wp-block-list">
<li>Brand new 2026 custom web design and aesthetics</li>



<li>WordPress CMS and Elementor Page Builder</li>



<li>Strategic Project Resumes section with user filters to showcase PLC&#8217;s latest state of the art work on multimillion dollar projects across the globe</li>



<li>Full SEO architecture including high level IA, 301 redirect strategy and schema</li>



<li>Full site speed optimization and ongoing support</li>
</ul>



<div class="wp-block-button aligncenter"><a class="wp-block-button__link wp-element-button" href="https://plcconstruction.com">View Live Website</a></div>



<p></p>
<p>The post <a href="http://bavotasan.com/2026/new-plc-construction-website-launches-using-bavotasan-and-bandicoot-technology/">New PLC Construction Website Launches Using Bavotasan and Bandicoot Technology</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://bavotasan.com/2026/new-plc-construction-website-launches-using-bavotasan-and-bandicoot-technology/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14598</post-id>	</item>
		<item>
		<title>Introducing: Launchstream</title>
		<link>http://bavotasan.com/2019/introducing-launchstream/</link>
					<comments>http://bavotasan.com/2019/introducing-launchstream/#comments</comments>
		
		<dc:creator><![CDATA[Bandicoot Marketing]]></dc:creator>
		<pubDate>Fri, 05 Jul 2019 20:08:24 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Downloads]]></category>
		<guid isPermaLink="false">http://bavotasan.com/?p=14568</guid>

					<description><![CDATA[<p>With a few delays pushing the launch date for the new Themes by Bavotasan down the road a little bit, our team has decided to release one of our brand&#8230;</p>
<p>The post <a href="http://bavotasan.com/2019/introducing-launchstream/">Introducing: Launchstream</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image"><img decoding="async" width="1024" height="494" src="http://bavotasan.com/wp-content/uploads/2019/07/Image-2019-07-03-at-9.34.17-AM-1024x494.png" alt="" class="wp-image-14569" srcset="http://bavotasan.com/wp-content/uploads/2019/07/Image-2019-07-03-at-9.34.17-AM-1024x494.png 1024w, http://bavotasan.com/wp-content/uploads/2019/07/Image-2019-07-03-at-9.34.17-AM-570x275.png 570w, http://bavotasan.com/wp-content/uploads/2019/07/Image-2019-07-03-at-9.34.17-AM-768x371.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>With a few delays pushing the launch date for the new Themes by Bavotasan down the road a little bit, our team has decided to release one of our brand new themes today: Launchstream.</p>



<p>Launchstream is a software theme built to help you start pre-selling your software app, mobile app, or SaaS service in less than 10 minutes.</p>



<p>Built on the powerful Live Composer Page Builder, the Launchstream theme allows for easy drag-and-drop editing capabilities without compromising site speed and clean SEO architecture.</p>



<p>Here are some of the theme highlights:</p>



<ul class="wp-block-list"><li>Brand new 2019 Software theme design</li><li>Drag-and-drop website and page builder</li><li>Create unlimited landing pages and funnel pages</li><li>Home page, team page, features with screenshots and more</li><li>Header, footer builder makes menu and global page edits a snap</li><li>Royalty-free stock images</li><li>Built-in Font Awesome icon sets for use anywhere on the site</li></ul>



<div class="wp-block-button aligncenter"><a class="wp-block-button__link" href="https://themes.bavotasan.com/themes/launchstream/">BUY LAUNCHSTREAM NOW</a></div>
<p>The post <a href="http://bavotasan.com/2019/introducing-launchstream/">Introducing: Launchstream</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://bavotasan.com/2019/introducing-launchstream/feed/</wfw:commentRss>
			<slash:comments>15</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14568</post-id>	</item>
		<item>
		<title>New Video Header Option in Arcade</title>
		<link>http://bavotasan.com/2017/new-video-header-option-arcade/</link>
					<comments>http://bavotasan.com/2017/new-video-header-option-arcade/#comments</comments>
		
		<dc:creator><![CDATA[Bandicoot Marketing]]></dc:creator>
		<pubDate>Tue, 10 Oct 2017 16:00:14 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[custom feature]]></category>
		<category><![CDATA[header video]]></category>
		<category><![CDATA[premium theme]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wordpress Theme]]></category>
		<guid isPermaLink="false">http://bavotasan.com/?p=14523</guid>

					<description><![CDATA[<p>When WordPress 4.7 was released, an option to use a header video instead of an image was added to the Customizer. Including the feature in a theme like Arcade seemed&#8230;</p>
<p>The post <a href="http://bavotasan.com/2017/new-video-header-option-arcade/">New Video Header Option in Arcade</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="http://bavotasan.com/wp-content/uploads/2017/10/videoheader_large.jpg" alt="Header Video" width="664" height="300" class="alignnone size-full wp-image-14526" srcset="http://bavotasan.com/wp-content/uploads/2017/10/videoheader_large.jpg 664w, http://bavotasan.com/wp-content/uploads/2017/10/videoheader_large-570x258.jpg 570w" sizes="(max-width: 664px) 100vw, 664px" /></p>
<p>When WordPress 4.7 was released, an option to use a header video instead of an image was added to the Customizer. Including the feature in a theme like <a href="https://themes.bavotasan.com/themes/arcade-wordpress-theme/">Arcade</a> seemed like a good idea but took me a while to finally get right.</p>
<h3>Video Header Code</h3>
<p>Including support for a video header is straightforward enough.</p>
<pre class="prettyprint php">
add_theme_support( 'custom-header', array(
 'video' =&gt; true,
) );
</pre>
<p>If you already declare support for a custom header you can just add <code>'video' => true,</code> to the argument array.</p>
<p>In order for the new header video to appear in your theme, you need to place the <code>the_custom_header_markup()</code> function in the right spot. To get it working in <a href="https://themes.bavotasan.com/themes/arcade-wordpress-theme/">Arcade</a> took some custom CSS and a few changes to the core PHP code but I managed to figure it all out. </p>
<h3>Header Media Section</h3>
<p>With that in place, the Header Image section of the Customizer will now become the Header Media section, and a button to select/upload a video or include a YouTube link will appear.</p>
<h3>Conclusion</h3>
<p>If you already have a license for <a href="https://themes.bavotasan.com/themes/arcade-wordpress-theme/">Arcade</a>, be sure to update your copy to the latest release to play around with the new Header Video option. If not, head on over to <a href="https://themes.bavotasan.com/themes/arcade-wordpress-theme/">Themes by bavotasan.com</a> and purchase your copy today.</p>
<p>For more info on the Header Video functions check out <a href="https://make.wordpress.org/core/2016/11/26/video-headers-in-4-7/">the info page on Make WordPress Code</a>.</p>
<p>The post <a href="http://bavotasan.com/2017/new-video-header-option-arcade/">New Video Header Option in Arcade</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://bavotasan.com/2017/new-video-header-option-arcade/feed/</wfw:commentRss>
			<slash:comments>69</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14523</post-id>	</item>
		<item>
		<title>Simple Function Using wp_remote_get()</title>
		<link>http://bavotasan.com/2017/simple-function-using-wp_remote_get/</link>
					<comments>http://bavotasan.com/2017/simple-function-using-wp_remote_get/#comments</comments>
		
		<dc:creator><![CDATA[Bandicoot Marketing]]></dc:creator>
		<pubDate>Mon, 20 Feb 2017 14:43:45 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[cURL]]></category>
		<category><![CDATA[fopen]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[Url]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp_remote_get()]]></category>
		<guid isPermaLink="false">http://bavotasan.com/?p=14488</guid>

					<description><![CDATA[<p>There isn't a good amount of information on wp_remote_get() in the codex so here's a simple function to explain how it works.</p>
<p>The post <a href="http://bavotasan.com/2017/simple-function-using-wp_remote_get/">Simple Function Using wp_remote_get()</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>There isn&#8217;t a good amount of information on <code>wp_remote_get()</code> in the codex. Take a look to see what I mean:</p>
<p><a href="https://codex.wordpress.org/Function_Reference/wp_remote_get">https://codex.wordpress.org/Function_Reference/wp_remote_get</a></p>
<p>After you&#8217;ve used the function, the information it returns also has to be formatted in a certain way or you won&#8217;t be able to do anything with it.</p>
<h3>wp_remote_get() Basics</h3>
<p>Let&#8217;s start with a simple function:</p>
<pre class="prettyprint php">
$response = wp_remote_get( 'http://yoursite.com/api/somecallhere' );
if ( is_wp_error( $response ) ) {
   echo 'There be errors, yo!';
} else {
   echo 'It worked!';
}
</pre>
<p>With this function, we&#8217;re using <code>wp_remote_get()</code> to retrieve our URL. If there&#8217;s an error, we display the first sentence. If it worked, we display the second sentence.</p>
<p>Not much value in that so we need a few more lines of code.</p>
<h3>What Comes Next?</h3>
<p>Once we retrieve data from the URL, we need to format it correctly.</p>
<pre class="prettyprint php">
$response = wp_remote_get( 'http://yoursite.com/api/somecallhere' );
if ( is_wp_error( $response ) ) {
   echo 'There be errors, yo!';
} else {
   $body = wp_remote_retrieve_body( $response );
   $data = json_decode( $body );
}

if ( $data-&gt;Data ) {
   echo 'We got data, yo!';
}
</pre>
<p>After we retrieve our data, we use <code>wp_remote_retrieve_body()</code> and <code>json_decode()</code> to process it and get what we need.</p>
<p>We can even go one step further and display our data.</p>
<pre class="prettyprint php">
$response = wp_remote_get( 'http://yoursite.com/api/somecallhere' );
if ( is_wp_error( $response ) ) {
   echo 'There be errors, yo!';
} else {
   $body = wp_remote_retrieve_body( $response );
   $data = json_decode( $body );
}

if ( $data-&gt;Data ) {
   print_r( $data-&gt;Data );
}
</pre>
<p>This we&#8217;ll display the array of data that was returned.</p>
<h3>Conclussion</h3>
<p>When you need to hook into an API or retrieve data from a URL, <code>wp_remote_get()</code> is the function you need. Just remember that you&#8217;ll also have to take a few more steps in order to get to the actual data you want.</p>
<p>If you have any questions or feedback on this post, please use the comments below to start a discussion.</p>
<p>The post <a href="http://bavotasan.com/2017/simple-function-using-wp_remote_get/">Simple Function Using wp_remote_get()</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://bavotasan.com/2017/simple-function-using-wp_remote_get/feed/</wfw:commentRss>
			<slash:comments>27</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14488</post-id>	</item>
		<item>
		<title>Displaying Different Logos with WPML</title>
		<link>http://bavotasan.com/2016/displaying-different-logos-wpml/</link>
					<comments>http://bavotasan.com/2016/displaying-different-logos-wpml/#comments</comments>
		
		<dc:creator><![CDATA[Bandicoot Marketing]]></dc:creator>
		<pubDate>Thu, 22 Sep 2016 15:20:37 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[French]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[multi-lingual]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[WPML]]></category>
		<guid isPermaLink="false">http://bavotasan.com/?p=14386</guid>

					<description><![CDATA[<p>Living in Montreal, I often have to create multi-lingual websites for clients. That means finding the right plugin for the job. I don&#8217;t always use WPML, but it&#8217;s one of&#8230;</p>
<p>The post <a href="http://bavotasan.com/2016/displaying-different-logos-wpml/">Displaying Different Logos with WPML</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://bavotasan.com/wp-content/uploads/2016/09/flags.jpg" alt="WPML Languages" width="860" height="439" class="alignnone size-full wp-image-14391" srcset="http://bavotasan.com/wp-content/uploads/2016/09/flags.jpg 860w, http://bavotasan.com/wp-content/uploads/2016/09/flags-570x291.jpg 570w, http://bavotasan.com/wp-content/uploads/2016/09/flags-768x392.jpg 768w" sizes="auto, (max-width: 860px) 100vw, 860px" /></p>
<p>Living in Montreal, I often have to create multi-lingual websites for clients. That means finding the right plugin for the job. I don&#8217;t always use <a href="https://wpml.org/?aid=86191&#038;affiliate_key=knxdXAjzoGQN">WPML</a>, but it&#8217;s one of my go-to plugins when it comes to creating websites with multiple languages.</p>
<p>A recent client requested that their site display a different logo for each language. In order to make this happen, I had to code a simple conditional statement using PHP. But I needed to know which language was selected to display the right logo.</p>
<p>I wasn&#8217;t sure if <a href="https://wpml.org/?aid=86191&#038;affiliate_key=knxdXAjzoGQN">WPML</a> stored the current language selection so I had to do a bit of research. Thankfully, I discovered it did.</p>
<h2>The Language Code</h2>
<p>When a visitor selects a language, a two-letter language code is stored in the constant <code>ICL_LANGUAGE_CODE</code>. Using this and a little PHP, I wrote the following block of code to give my client what they wanted.</p>
<pre class="prettyprint php">
&lt;?php if ( defined( 'ICL_LANGUAGE_CODE' ) &amp;&amp; 'fr' == ICL_LANGUAGE_CODE ) { // If the language is French ?&gt;
	&lt;img src=&quot;&lt;?php echo esc_url( get_template_directory_uri() ); ?&gt;/images/fr_logo.png&quot; class=&quot;site-logo&quot; alt=&quot;&quot; /&gt;
&lt;?php } elseif( defined( 'ICL_LANGUAGE_CODE' ) &amp;&amp; 'it' == ICL_LANGUAGE_CODE ) { // If the language is Italian ?&gt;
	&lt;img src=&quot;&lt;?php echo esc_url( get_template_directory_uri() ); ?&gt;/images/it_logo.png&quot; class=&quot;site-logo&quot; alt=&quot;&quot; /&gt;
&lt;?php } else { // If the language is English, the default ?&gt;
	&lt;img src=&quot;&lt;?php echo esc_url( get_template_directory_uri() ); ?&gt;/images/en_logo.png&quot; class=&quot;site-logo&quot; alt=&quot;&quot; /&gt;
&lt;?php } ?&gt;
</pre>
<p>I placed that in <code>header.php</code> and used the class <code>site-logo</code> to style the CSS to match the client&#8217;s requested design.</p>
<h2>Is there a better way?</h2>
<p>If you take a closer look at the code above, you&#8217;ll notice that all the filenames have the language code as a prefix. That means you can simplify things even more which is always a better approach when it comes to coding.</p>
<pre class="prettyprint php">
&lt;?php $lang_prefix = ( defined( 'ICL_LANGUAGE_CODE' ) ) ? ICL_LANGUAGE_CODE : 'en'; ?&gt;
&lt;img src=&quot;&lt;?php echo esc_url( get_template_directory_uri() ); ?&gt;/images/&lt;?php echo esc_attr( $lang_prefix ); ?&gt;_logo.png&quot; class=&quot;site-logo&quot; alt=&quot;&quot; /&gt;
</pre>
<p>Using the <a href="https://wpml.org/?aid=86191&#038;affiliate_key=knxdXAjzoGQN">WPML</a> plugin&#8217;s <code>ICL_LANGUAGE_CODE</code> constant lets you create all kinds of custom code specific to each language. Displaying different logos is just the tip of the iceberg.</p>
<p><strong>NOTE:</strong> Konrad from WPML <a href="http://bavotasan.com/2016/displaying-different-logos-wpml/#comment-119692">mentioned in a comment below</a> a better way to get the current language code. It&#8217;s probably a good idea to use that one instead.</p>
<p>The post <a href="http://bavotasan.com/2016/displaying-different-logos-wpml/">Displaying Different Logos with WPML</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://bavotasan.com/2016/displaying-different-logos-wpml/feed/</wfw:commentRss>
			<slash:comments>26</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14386</post-id>	</item>
		<item>
		<title>Working with the WordPress admin_body_class function</title>
		<link>http://bavotasan.com/2016/wordpress-admin_body_class-function/</link>
					<comments>http://bavotasan.com/2016/wordpress-admin_body_class-function/#comments</comments>
		
		<dc:creator><![CDATA[Bandicoot Marketing]]></dc:creator>
		<pubDate>Fri, 17 Jun 2016 12:43:34 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[admin_body_class]]></category>
		<category><![CDATA[body_class]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[post_class]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://bavotasan.com/?p=14354</guid>

					<description><![CDATA[<p>For some reason, there are multiple functions in WordPress that do similar things but require different approaches. On the surface, you&#8217;d think the admin_body_class function would work the same as&#8230;</p>
<p>The post <a href="http://bavotasan.com/2016/wordpress-admin_body_class-function/">Working with the WordPress admin_body_class function</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://bavotasan.com/wp-content/uploads/2016/06/body_big.jpg" alt="WordPress admin_body_class function" width="900" height="600" class="alignnone size-full wp-image-14359" srcset="http://bavotasan.com/wp-content/uploads/2016/06/body_big.jpg 900w, http://bavotasan.com/wp-content/uploads/2016/06/body_big-570x380.jpg 570w, http://bavotasan.com/wp-content/uploads/2016/06/body_big-768x512.jpg 768w" sizes="auto, (max-width: 900px) 100vw, 900px" /></p>
<p>For some reason, there are multiple functions in WordPress that do similar things but require different approaches. On the surface, you&#8217;d think the admin_body_class function would work the same as the body_class function, but you&#8217;d be wrong.</p>
<p>When you modify the body_class function, you hook into the filter like this:</p>
<pre>add_filter( 'body_class', 'category_id_class' );
// add category nicenames in body and post class
function category_id_class( $classes ) {
	global $post;
	foreach ( ( get_the_category( $post-&gt;ID ) ) as $category ) {
		$classes[] = $category-&gt;category_nicename;
	}
	return $classes;
}
</pre>
<p>If you break that down, you&#8217;ll notice that adding a new class name requires extending the <code>$classes</code> array. Straightforward enough, though for some reason when you attempt to work with the admin_body_class function, this approach causes the following error:</p>
<p style="color: red;">Fatal error: [] operator not supported for strings</p>
<p>That&#8217;s because it uses a string instead of an array.</p>
<p>As long as your aware of this difference, working with the admin_body_class function is just as straightforward.</p>
<pre>add_filter( 'admin_body_class', 'custom_admin_body_class' );
function custom_admin_body_class( $classes ) {
        $classes .= 'custom-class';

	return $classes;
}
</pre>
<p>I&#8217;ve found the above filter useful when I needed to customize the admin after I activated a plugin. With a simple check, the function added a class name to the admin body tag which made it easier for me to use CSS on the page.</p>
<h3>Conclusion</h3>
<p>The difference is slight but important to understand how to use the admin_body_class function correctly. Then you can easily customize your admin with JavaScript or CSS using that new class name.</p>
<p>You can read a little more about the function in the <a href="https://developer.wordpress.org/reference/hooks/admin_body_class/">WordPress codex</a>. </p>
<p>The post <a href="http://bavotasan.com/2016/wordpress-admin_body_class-function/">Working with the WordPress admin_body_class function</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://bavotasan.com/2016/wordpress-admin_body_class-function/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14354</post-id>	</item>
		<item>
		<title>Creating a New Language File for a Theme Translation</title>
		<link>http://bavotasan.com/2016/creating-language-file-theme-translation/</link>
					<comments>http://bavotasan.com/2016/creating-language-file-theme-translation/#comments</comments>
		
		<dc:creator><![CDATA[Bandicoot Marketing]]></dc:creator>
		<pubDate>Mon, 04 Apr 2016 14:39:42 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[MO files]]></category>
		<category><![CDATA[PO files]]></category>
		<category><![CDATA[POT files]]></category>
		<category><![CDATA[theme translation]]></category>
		<category><![CDATA[translate]]></category>
		<category><![CDATA[translation]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://bavotasan.com/?p=14323</guid>

					<description><![CDATA[<p>Recently, I&#8217;ve had a lot of customers asking me about creating a theme translation file for some of my themes. What I always assumed was a straightforward process actually has&#8230;</p>
<p>The post <a href="http://bavotasan.com/2016/creating-language-file-theme-translation/">Creating a New Language File for a Theme Translation</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently, I&#8217;ve had a lot of customers asking me about creating a theme translation file for some of my themes. What I always assumed was a straightforward process actually has a few little kinks that could confuse most people. It takes a couple of steps, but once you get the hang of it, it won&#8217;t seem so difficult.</p>
<p>First off, let&#8217;s discuss the software I use to translate my themes.</p>
<p><img loading="lazy" decoding="async" src="http://bavotasan.com/wp-content/uploads/2016/04/poedit-header.jpg" alt="PoEdit translation software" width="1021" height="694" class="alignnone size-full wp-image-14326" srcset="http://bavotasan.com/wp-content/uploads/2016/04/poedit-header.jpg 1021w, http://bavotasan.com/wp-content/uploads/2016/04/poedit-header-570x387.jpg 570w, http://bavotasan.com/wp-content/uploads/2016/04/poedit-header-768x522.jpg 768w" sizes="auto, (max-width: 1021px) 100vw, 1021px" /></p>
<h2>Working with PoEdit</h2>
<p><a href="https://poedit.net/">PoEdit</a> is free, though there is a premium version you could buy. I opted for the premium version since I use it all the time and those extra features do really come in handy.</p>
<p>Once you load up a POT file, you will see all the translatable strings. Select your language and translate away. Once the strings have all been translated, click save and <a href="https://poedit.net/">PoEdit</a> will create the PO and MO theme translation files you need with the appropriate filenames.</p>
<p>Filenames are important and will help WordPress know which language file to use. You can read more about naming conventions here: <a href="https://make.wordpress.org/polyglots/teams/">https://make.wordpress.org/polyglots/teams/</a></p>
<p>You can see on that page that a Canadian English language file should be named en_CA.po and a French language file should be named fr_FR.po. Look through the list to see the correct name for your language.</p>
<p><img loading="lazy" decoding="async" src="http://bavotasan.com/wp-content/uploads/2016/04/general-langauge.jpg" alt="Wordpress General admin setting" width="1159" height="749" class="alignnone size-full wp-image-14332" srcset="http://bavotasan.com/wp-content/uploads/2016/04/general-langauge.jpg 1159w, http://bavotasan.com/wp-content/uploads/2016/04/general-langauge-570x368.jpg 570w, http://bavotasan.com/wp-content/uploads/2016/04/general-langauge-768x496.jpg 768w, http://bavotasan.com/wp-content/uploads/2016/04/general-langauge-1024x662.jpg 1024w" sizes="auto, (max-width: 1159px) 100vw, 1159px" /></p>
<h2>Switching WordPress into your language</h2>
<p>This step of the process has become easier ever since the setting option was added to the General admin page. Before you had to edit <code>wp-config.php</code> but now you can just select your language from the drop down list.</p>
<h2>Adding your theme translation file to the right folder</h2>
<p>This is the one step that I actually didn&#8217;t really know much about. I thought you just had to add the new theme translation file to the theme&#8217;s languages folder. Though, this creates an issue if you ever update, since that folder is replaced and the custom language files are deleted.</p>
<p>The correct and safe way to store a language file is to create a languages folder in your <code>wp-content</code> folder. The hierarchy should look like this:</p>
<pre>
- wp-content
- - languages
</pre>
<p>Since you&#8217;re creating a translation for a theme, you need one more folder.</p>
<pre>
- wp-content
- - languages
- - - themes
</pre>
<p>We&#8217;re almost there. The languages folder we&#8217;re going to use is now outside of the theme folder, so we need to let WordPress know which files link to which themes. That means we have to change up the naming convention a little to connect things.</p>
<p>If you&#8217;re creating a French language file for the theme <a href="https://themes.bavotasan.com/themes/arcade-wordpress-theme/">Arcade</a>, this is how the folder/file setup should look:</p>
<pre>
- wp-content
- - languages
- - - themes
- - - - arcade-fr_FR.po
- - - - arcade-fr_FR.mo
</pre>
<p>You need to add &#8216;arcade-&#8216; to the name of the language file. If you were using <a href="https://themes.bavotasan.com/themes/magazine-premium-wordpress-theme/">Magazine Premium</a>, you would have to add &#8216;magazine-premium-&#8216; to the file name.</p>
<p>Here&#8217;s another way to see the hierarchy:</p>
<pre>
/wp-content/languages/themes/arcade-fr_FR.po
/wp-content/languages/themes/arcade-fr_FR.mo
</pre>
<p>OR</p>
<pre>
/wp-content/languages/themes/magazine-premium-fr_FR.po
/wp-content/languages/themes/magazine-premium-fr_FR.mo
</pre>
<h2>There&#8217;s the rub</h2>
<p>It takes a few extra steps, but setting up a new languages folder this way will keep your theme translation files safe when you update. </p>
<p>If you&#8217;ve create language files for any of my themes, feel free to link to them in the comments below so everyone can benefit from your hard work.</p>
<p>The post <a href="http://bavotasan.com/2016/creating-language-file-theme-translation/">Creating a New Language File for a Theme Translation</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://bavotasan.com/2016/creating-language-file-theme-translation/feed/</wfw:commentRss>
			<slash:comments>17</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14323</post-id>	</item>
		<item>
		<title>Increase JPEG Quality in WordPress</title>
		<link>http://bavotasan.com/2015/increase-jpeg-quality-in-wordpress/</link>
					<comments>http://bavotasan.com/2015/increase-jpeg-quality-in-wordpress/#comments</comments>
		
		<dc:creator><![CDATA[Bandicoot Marketing]]></dc:creator>
		<pubDate>Thu, 01 Oct 2015 14:37:56 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[filter hook]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[Images]]></category>
		<category><![CDATA[JPG]]></category>
		<category><![CDATA[jpg quality]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://bavotasan.com/?p=14279</guid>

					<description><![CDATA[<p>When you upload an image to WordPress it&#8217;s processed and compressed to 90% of its original JPEG quality. This is a default setting that&#8217;s in place to automatically optimize every&#8230;</p>
<p>The post <a href="http://bavotasan.com/2015/increase-jpeg-quality-in-wordpress/">Increase JPEG Quality in WordPress</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://bavotasan.com/wp-content/uploads/2015/10/quality.jpg" alt="Increase JPEG Quality in WordPress" width="800" height="400" class="alignnone size-full wp-image-14285" srcset="http://bavotasan.com/wp-content/uploads/2015/10/quality.jpg 800w, http://bavotasan.com/wp-content/uploads/2015/10/quality-570x285.jpg 570w" sizes="auto, (max-width: 800px) 100vw, 800px" /></p>
<p>When you upload an image to WordPress it&#8217;s processed and compressed to 90% of its original JPEG quality. This is a default setting that&#8217;s in place to automatically optimize every image, which in turn can hopefully speed up your site&#8217;s loading time. </p>
<p>It&#8217;s a nice enough little feature, but the fact that it happens behind the scenes without anyone really knowing it&#8217;s going on can cause some users a lot of grief. Especially photographers who see a drop in JPEG quality every time they upload an image. </p>
<p>There&#8217;s no option to change this within the WordPress admin and not having the power to control the JPEG quality of your images can be frustrating.</p>
<h2>Stop Compressing My Images Already!</h2>
<p>As with most features in WordPress, there&#8217;s a filter or action in place that we can hook into which will allow us to modify and customize certain functions. For this mod, the filter we need to hook into is called <code>jpeg_quality</code>.</p>
<pre class="prettyprint php">
&lt;?php
add_filter( 'jpeg_quality', 'bavotasan_custom_jpeg_quality' );
function bavotasan_custom_jpeg_quality( $quality ) { 
   return 100; 
}
?&gt;
</pre>
<p>All the filter requires is a quality setting between 1 and 100, with 100 being no compression whatsoever.</p>
<p>You can read a bit about the <a href="https://developer.wordpress.org/reference/hooks/jpeg_quality/">jpeg_quality filter</a> and see the original function by checking out the <a href="https://developer.wordpress.org/reference/">code reference page</a>.</p>
<h2>Needs More Compression</h2>
<p>If you&#8217;re someone who believes in the full extent of optimizing your images, then compressing them even more might be the way to go. It&#8217;s an easy enough change since all you need to do is decrease the JPEG quality to a setting below the default of 90.</p>
<pre class="prettyprint php">
&lt;?php
add_filter( 'jpeg_quality', 'bavotasan_custom_jpeg_quality' );
function bavotasan_custom_jpeg_quality( $quality ) { 
   return 75; 
}
?&gt;
</pre>
<p>You can always play around with the number and test out the results. You might discover a perfect balance between smaller file size and optimal image quality.  </p>
<p>Make it easier on yourself and install the <a href="https://wordpress.org/plugins/regenerate-thumbnails/">Regenerate Thumbnails plugin</a> so you don&#8217;t have to re-upload your images again and again while trying out different quality settings.</p>
<p>If you have any suggestions or comments, please feel free to use the form below to start a discussion.</p>
<p class="imgprov">
Featured image provided by <a href="http://deathtothestockphoto.com/">Death to the Stock Photo</a>.</p>
<p>The post <a href="http://bavotasan.com/2015/increase-jpeg-quality-in-wordpress/">Increase JPEG Quality in WordPress</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://bavotasan.com/2015/increase-jpeg-quality-in-wordpress/feed/</wfw:commentRss>
			<slash:comments>16</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14279</post-id>	</item>
		<item>
		<title>Add More Details to the Previous Post Link</title>
		<link>http://bavotasan.com/2015/add-more-details-to-the-previous-post-link/</link>
					<comments>http://bavotasan.com/2015/add-more-details-to-the-previous-post-link/#comments</comments>
		
		<dc:creator><![CDATA[Bandicoot Marketing]]></dc:creator>
		<pubDate>Mon, 28 Sep 2015 09:16:29 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[latest posts]]></category>
		<category><![CDATA[next post link]]></category>
		<category><![CDATA[previous post link]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://bavotasan.com/?p=14243</guid>

					<description><![CDATA[<p>When you load up the latest post on a properly designed WordPress site, you should see a link for the previous post somewhere on the page. It usually appears right&#8230;</p>
<p>The post <a href="http://bavotasan.com/2015/add-more-details-to-the-previous-post-link/">Add More Details to the Previous Post Link</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://bavotasan.com/wp-content/uploads/2015/09/previous-post_big.jpg" alt="Add More Details to the Previous Post Link" width="800" height="400" class="alignnone size-full wp-image-14260" srcset="http://bavotasan.com/wp-content/uploads/2015/09/previous-post_big.jpg 800w, http://bavotasan.com/wp-content/uploads/2015/09/previous-post_big-570x285.jpg 570w" sizes="auto, (max-width: 800px) 100vw, 800px" /></p>
<p>When you load up the latest post on a properly designed WordPress site, you should see a link for the previous post somewhere on the page. It usually appears right after the main content. On older posts, you&#8217;ll also find a link pointing to the next post. </p>
<p>These previous/next links are often referred to as the &#8220;post pagination&#8221;. No to be confused with &#8220;posts pagination&#8221; which appears on archive pages to links to the previous/next page to show a list of older/newer posts. </p>
<p>In most WordPress themes, the previous link is displayed using the following function:</p>
<pre class="prettyprint php">
&lt;?php previous_post_link( '%link', __( '&amp;larr; %title', 'text-domain' ) ); ?&gt;
</pre>
<p>If you take a look at the <a href="https://codex.wordpress.org/Function_Reference/previous_post_link">previous_post_link()</a> page in the <a href="https://codex.wordpress.org/">WordPress codex</a> you can see the available parameters. If you use the code example above, the <code>%title</code> placeholder will be replaced with the previous post&#8217;s title.</p>
<p>Since we want to add more details to the previous post link, let&#8217;s take a look at <a href="https://codex.wordpress.org/Function_Reference/get_previous_post">get_previous_post()</a> instead. That function retrieves all of the details for the previous post which will give us the ability to customize things however we want.</p>
<h2>Gathering Previous Post Link Details</h2>
<p>Here&#8217;s a small function that will load the extra details we&#8217;re going to use.</p>
<pre class="prettyprint php">
if ( $prev = get_previous_post() ) {
   $prev_title = $prev-&gt;post_title;
   $prev_ex_con = ( $prev-&gt;post_excerpt ) ? $prev-&gt;post_excerpt : strip_shortcodes( $prev-&gt;post_content );
   $prev_text = wp_trim_words( apply_filters( 'the_excerpt', $prev_ex_con ), 15 );
   $prev_time_author = sprintf( __( '%s ago - by %s', 'byline' ), human_time_diff( get_the_time( 'U', $prev-&gt;ID ), current_time( 'timestamp' ) ), get_the_author( $prev-&gt;ID ) )
}
</pre>
<p>In the above code, we set up a few variables with the previous post&#8217;s title, excerpt, time and author. There&#8217;s a word limit set for the excerpt using <code>wp_trim_words()</code>. If you want to increase/decrease this value, change <code>15</code> to whatever you want.</p>
<h2>Adding the HTML</h2>
<p>With those variables set, we can now use some HTML to display all the info for our previous post.</p>
<pre class="prettyprint">
&lt;div class=&quot;previous&quot;&gt;
   &lt;a href=&quot;&lt;?php echo esc_url( get_permalink( $prev-&gt;ID ) ); ?&gt;&quot;&gt;
      &lt;span class=&quot;icon&quot;&gt;&amp;rarr;&lt;/span&gt;
      &lt;strong&gt;&lt;?php echo $prev_title; ?&gt;&lt;/strong&gt;
      &lt;br /&gt;
      &lt;?php echo $prev_text; ?&gt;
      &lt;br /&gt;
      &lt;em&gt;&lt;?php echo $prev_time_author; ?&gt;&lt;/em&gt;
   &lt;/a&gt;
&lt;/div&gt;
</pre>
<h2>Styling It Up</h2>
<p>Here are the CSS selectors and some basic CSS:</p>
<pre class="prettyprint css">
.previous {
   max-width: 50%;
   width: 100%;
   float: left;
   font-size: 14px;
   padding-left: 40px;
}

.previous .icon {
   -moz-transform: translateY(-50%);
   -ms-transform: translateY(-50%);
   -webkit-transform: translateY(-50%);
   transform: translateY(-50%);
   font-size: 24px;
   position: absolute;
   left: 0;
   top: 50%;
}

.previous strong {
   font-size: 18px;
}

.previous em {
   font-size: 12px; 
}
</pre>
<p>I&#8217;ve also added a black background and white text to the example image below to make it stand out form the page.</p>
<p><img loading="lazy" decoding="async" src="http://bavotasan.com/wp-content/uploads/2015/09/more-details.png" alt="Add More Details to the Previous Post Link example" width="626" height="296" class="alignnone size-full wp-image-14252" srcset="http://bavotasan.com/wp-content/uploads/2015/09/more-details.png 626w, http://bavotasan.com/wp-content/uploads/2015/09/more-details-570x270.png 570w" sizes="auto, (max-width: 626px) 100vw, 626px" /></p>
<p>Even though the example above is for the previous post link, the next post link can be displayed and styled in a similar way using <code>get_next_post()</code>.</p>
<p>If you have a suggestion or comment, please use the form below.</p>
<p class="imgprov">
Featured image provided by <a href="http://gratisography.com/">Gratisography</a>.</p>
<p>The post <a href="http://bavotasan.com/2015/add-more-details-to-the-previous-post-link/">Add More Details to the Previous Post Link</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://bavotasan.com/2015/add-more-details-to-the-previous-post-link/feed/</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14243</post-id>	</item>
		<item>
		<title>Add Word Count to Single Posts in WordPress</title>
		<link>http://bavotasan.com/2015/add-word-count-to-single-posts-in-wordpress/</link>
					<comments>http://bavotasan.com/2015/add-word-count-to-single-posts-in-wordpress/#comments</comments>
		
		<dc:creator><![CDATA[Bandicoot Marketing]]></dc:creator>
		<pubDate>Thu, 24 Sep 2015 09:53:50 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[content.php]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[single post template]]></category>
		<category><![CDATA[single.php]]></category>
		<category><![CDATA[str_word_count]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://bavotasan.com/?p=14227</guid>

					<description><![CDATA[<p>This is just a quick little snippet to display a word count on the single post page in WordPress. Since it requires being placed within the loop, you can actually&#8230;</p>
<p>The post <a href="http://bavotasan.com/2015/add-word-count-to-single-posts-in-wordpress/">Add Word Count to Single Posts in WordPress</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://bavotasan.com/wp-content/uploads/2015/09/word-count-bg.jpg" alt="Add Word Count to Single Posts in WordPress" width="800" height="400" class="alignnone size-full wp-image-14235" srcset="http://bavotasan.com/wp-content/uploads/2015/09/word-count-bg.jpg 800w, http://bavotasan.com/wp-content/uploads/2015/09/word-count-bg-570x285.jpg 570w" sizes="auto, (max-width: 800px) 100vw, 800px" /></p>
<p>This is just a quick little snippet to display a word count on the single post page in WordPress. Since it requires being placed within the loop, you can actually add it to any template file that includes a loop, such as <code>archive.php</code> or <code>index.php</code>.</p>
<p>The example below is for <a href="https://wordpress.org/themes/destin-basic/">my premium Destin theme</a>, which also has a basic version available for free through <a href="https://wordpress.org/themes/destin-basic/">WordPress.org</a>.</p>
<p>Since we&#8217;re editing the theme&#8217;s core files, I suggest first creating a child theme. This ensures that the changes stay intact when you update the theme in the future. </p>
<p>Check out my tutorial <a href="http://bavotasan.com/2011/creating-a-child-theme-in-wordpress/">Creating a Child Theme in WordPress</a> for guidance.</p>
<h2>The Basic Function</h2>
<p>Once you&#8217;ve created your child theme, include this short block of code in its <code>functions.php</code> file:</p>
<pre class="prettyprint php">
function bavotasan_word_count() {
   return sprintf(
      __( '%s words', 'text-domain' ),
      str_word_count( strip_tags( get_post_field( 'post_content', get_the_ID() ) ) )
   );
}
</pre>
<p><code>str_word_count</code> is a simple PHP function that counts the number of words inside string. All we&#8217;re doing is loading up the post&#8217;s content as the string after we&#8217;ve stripped out all HTML tags. Otherwise, those tags would be counted as words and mess up the total.</p>
<p>With that code in place, we can add <code>bavotasan_word_count()</code> to the theme&#8217;s <code>content.php</code> file.</p>
<h2>Displaying the Word Count</h2>
<p>We want the word count to appear on the left with the post&#8217;s meta data, so include the new function within this block of code:</p>
<pre class="prettyprint php">
&lt;div class=&quot;col-md-3 entry-meta&quot;&gt;
   &lt;p&gt;&lt;i class=&quot;fa fa-bookmark&quot;&gt;&lt;/i&gt; &lt;?php _e( 'Posted in ', 'destin' ); the_category( ', ' ); ?&gt;&lt;/p&gt;

   &lt;?php if ( comments_open() ) { ?&gt;
   &lt;p&gt;&lt;i class=&quot;fa fa-comments&quot;&gt;&lt;/i&gt; &lt;?php comments_popup_link( __( '0 Comments', 'destin' ), __( '1 Comment', 'destin' ), __( '% Comments', 'destin' ), '', '' ); ?&gt;&lt;/p&gt;
   &lt;?php } ?&gt;
&lt;/div&gt;
</pre>
<p>Here&#8217;s the new function:</p>
<pre class="prettyprint php">
&lt;p&gt;&lt;?php echo bavotasan_word_count(); ?&gt;&lt;/p&gt;
</pre>
<p>Add it all together:</p>
<pre class="prettyprint php">
&lt;div class=&quot;col-md-3 entry-meta&quot;&gt;
   &lt;p&gt;&lt;i class=&quot;fa fa-bookmark&quot;&gt;&lt;/i&gt; &lt;?php _e( 'Posted in ', 'destin' ); the_category( ', ' ); ?&gt;&lt;/p&gt;
   &lt;p&gt;&lt;?php echo bavotasan_word_count(); ?&gt;&lt;/p&gt;

   &lt;?php if ( comments_open() ) { ?&gt;
   &lt;p&gt;&lt;i class=&quot;fa fa-comments&quot;&gt;&lt;/i&gt; &lt;?php comments_popup_link( __( '0 Comments', 'destin' ), __( '1 Comment', 'destin' ), __( '% Comments', 'destin' ), '', '' ); ?&gt;&lt;/p&gt;
   &lt;?php } ?&gt;
&lt;/div&gt;
</pre>
<p>Check out the image below to see what it&#8217;ll look like:</p>
<p><img loading="lazy" decoding="async" src="http://bavotasan.com/wp-content/uploads/2015/09/word-count.jpg" alt="Destin WordPress Theme with Word Count" width="800" height="627" class="alignnone size-full wp-image-14229" srcset="http://bavotasan.com/wp-content/uploads/2015/09/word-count.jpg 800w, http://bavotasan.com/wp-content/uploads/2015/09/word-count-570x447.jpg 570w" sizes="auto, (max-width: 800px) 100vw, 800px" /></p>
<p>It&#8217;s an easy enough mod that allows you to include a bit more meta data for each of your posts.</p>
<p>If you have any thoughts or would like to add to this tutorial, please use the comment section below.</p>
<p class="imgprov">
Featured image provided by <a href="http://gratisography.com/">Gratisography</a>.</p>
<p>The post <a href="http://bavotasan.com/2015/add-word-count-to-single-posts-in-wordpress/">Add Word Count to Single Posts in WordPress</a> appeared first on <a href="http://bavotasan.com">bavotasan.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://bavotasan.com/2015/add-word-count-to-single-posts-in-wordpress/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">14227</post-id>	</item>
	</channel>
</rss>
