<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  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:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>wp themes on John hashim</title>
    <link>https://johnhashim.com/tags/wp-themes/</link>
    <description>Recent content in wp themes on John hashim</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>johnnyhashim [at] gmail.com (john hashim)</managingEditor>
    <webMaster>johnnyhashim [at] gmail.com (john hashim)</webMaster>
    <copyright>&amp;copy;{year}, All Rights Reserved</copyright>
    <lastBuildDate>Thu, 13 Aug 2020 22:41:09 -0400</lastBuildDate>
    
        <atom:link href="https://johnhashim.com/tags/wp-themes/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>how to disable auto crop images in wordpress</title>
        <link>https://johnhashim.com/posts/how-to-disable-auto-crop-images-in-wordpress/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/how-to-disable-auto-crop-images-in-wordpress/</guid>
        <description>Normally it is because a WordPress theme uses the thumbnails on its code: in loops, galleries, etc. It is defined in the file functions.php:
add_image_size( $name, $width, $height, $crop );
For example, like this:
1 2 3 4 5 6  &amp;lt;?php add_theme_support(&amp;#39;post-thumbnails&amp;#39;); add_image_size(&amp;#39;custom-thumbnail&amp;#39;, 80, 80, true ); add_image_size(&amp;#39;medium-thumbnail&amp;#39;, 180, 120, true ); add_image_size(&amp;#39;large-thumbnail&amp;#39;, 571, 300, true ); ?&amp;gt;   I don’t recommend you to remove the code if you really want to keep the good working of your theme.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature3/code-file.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>wordpress</category>
            
          
            
              <category>wp themes</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>wordpress theme</category>
            
          
        
      </item>
      
      <item>
        <title>how to display post based on a taxonomy term as get the term</title>
        <link>https://johnhashim.com/posts/how-to-display-post-based-on-a-taxonomy-term-as-get-the-term/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/how-to-display-post-based-on-a-taxonomy-term-as-get-the-term/</guid>
        <description>First things first you will have to get started this will work if you’re using CPT ( custom post type) In your theme or plugin development where you have a different term in your taxonomy.
lets you have this layout
 Custom Post = sports Taxonomy = types of sports term = soccer, NFL, and golf.  maybe you want a different header on each term or you want each section to have its own posts depending on the taxonomy term.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature2/workflow.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>wordpress</category>
            
          
            
              <category>wp themes</category>
            
          
            
              <category>custom post type</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>wordpress theme</category>
            
          
        
      </item>
      
      <item>
        <title>how to display post from different post types on the same page</title>
        <link>https://johnhashim.com/posts/how-to-display-post-from-different-post-types-on-the-same-page/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/how-to-display-post-from-different-post-types-on-the-same-page/</guid>
        <description>In this simple post, we will be looking How to show posts from multiple post types in a single loop? And display them separately on the same template.
ever wonder how news sites, e-commerce, and blog sites manage to display different article section on the same page.
to get started you will create your main function in a function.php. you can copy this code and modify it in your way</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature2/workflow.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>wordpress</category>
            
          
            
              <category>wp themes</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>wordpress theme</category>
            
          
        
      </item>
      
      <item>
        <title>Inserting a term into a custom taxonomy</title>
        <link>https://johnhashim.com/posts/inserting-a-term-into-a-custom-taxonomy/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/inserting-a-term-into-a-custom-taxonomy/</guid>
        <description>The taxonomy is registered as normal through the plugin. For any info regarding this, you can go and check out. register_taxonomy The part that I needed to highlight and what is relevant to this question, is how to insert new terms.
To insert terms through are quick and easy, wp_insert_terms but this code can also hurt loading time if not used correctly. The idea is to run that function once, and then never again, almost like removing it after the first run.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature2/workflow.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>wordpress</category>
            
          
            
              <category>wp themes</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>wordpress theme</category>
            
          
        
      </item>
      
      <item>
        <title>What is a WordPress Child Theme and how does it work ?</title>
        <link>https://johnhashim.com/posts/what-is-a-wordpress-child-theme-and-how-does-it-work/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/what-is-a-wordpress-child-theme-and-how-does-it-work/</guid>
        <description>According to WordPress Codex, a WordPress Child Theme” is a theme that inherits the functionality of another theme, called the parent theme, and allows you to modify, or add to, the functionality of that parent theme“.
It is very easy to create a WordPress child theme from an existing theme (which then will become its parent theme).
Everything starts by creating a new directory inside the WordPress themes directory, giving it the name we chose for the new child theme.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature2/mathbook.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>wordpress</category>
            
          
            
              <category>wp themes</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>wordpress theme</category>
            
          
        
      </item>
      

    
  </channel>
</rss>