Getting rid of default grey image thumbnail in Gimliii theme

Well , many people asked me , how to get rid of default thumbnail image if we set the home page to show blog posts.

It’s simple , we create a child theme and change copy the whole home.php file from parent theme into child theme and go to lines 16-19 where it has:

[php]<div class="col-md-5">
<?php if ( has_post_thumbnail() && ! post_password_required() ){ ?>
<a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail(‘thumb-medium’);
echo "</a>";

<img src="<?php echo get_template_directory_uri(); ?>/img/default-thumb.jpg" alt="<?php the_title(); ?>" class="img-responsive"/>

<div class="col-md-7">


1) If you want to completely don’t want to use thumbnails , replace the above lines with the following:

<div class="col-md-12">

This is the child theme for the above one.Download here.

2) If you want to use featured images for some posts and for others not.

Use the following child theme.Download here.

3) If you want to use another image , just replace the “default-thumb.jpg ” and “default-thumb-small.png” images in the images folder of your  theme .Don’t forget to use same image names and formats.

Gimliii V 1.0.6 theme is now translation ready


There were some missing strings in the version 1.0.8 and these strings are localized and new .pot file is generated , you can downloaded this updated theme here.


I thank Alexander for reporting missing translatable strings.

Soon it will be available on .If you are willing to translate to other languages and want to give me the .po files .you may head to the github or contact me.

Pages : Admin Collapse Sub Pages version 2.0 released

Pages Expand/Collapse:

Simple plugin that allows you to collapse subpages in the  admin list. Especially helpful if you have a lot of pages. It uses a cookie to save the expand/collapse status of your pages.

Well it uses jQuery to add this type of functionality and jQuery.cookie.js to remember user’s option of toggling.

What’s new in Version 2.0 ?

  • Fix en-queuing of scripts .
  • Expand all , Collapse all links appear only on the pages list not on every list (like plugins ,posts etc.,)
  • Updated jQuery.cookie.js to 1.4.0

 Download it here

Add class to posts list table row if page has children

If we take a look at current class-wp-posts-list-table.php, classes like level-0 or level-* are added to the table row which indicates the depth of page it is in.It does not give any information about whether the page has children as level-0 gets added to every page that is not a sub-page that includes pages which doesn’t have children.
What i’m suggesting is we have an extra-class ‘page-has-children’ that gets added to row when the page(only page not any custom type post which supports hierarchy) has children.
It will be very helpful to distinctly style page rows , also helpful for plugins(not much)which depends on JavaScript to manipulate the list management.

Ticket Here:  Patch here

Facebook No Damn Right !

New extension for chrome is going to be released within in a week . What exactly it does is :

  • It takes out the right side views like Trending , Recommended , Pages you may like , Sponsored Ads .
  • Adds Birthday /Event reminders under groups tab o the right side.
  • Adds Facebook copyright from left-side bottom to right side bottom.
  • Increases the room to main content (this looks good in old design not new design ,working on it).
  • Hides sponsored posts in the main news feed.

Goals / Tasks for  next Version :

  • Give hand to new-old design of Facebook.
  • Use CSS3 borders and gradients to give a new look.
  • Implement options for two basic styles.

How is it done?

  • Totally using jQuery and manipulating DOM elements
  • Color it with CSS.

That’s it.

If you have any new ideas or suggestions .Please comment.

Created a patch for small bug

Ticket Here : Patch Here

Any file called index.php (not just index.php)is labeled as Main Index Template by theme editor, even if it is not the main index template.

I’m very happy to say that i contributed to core by creating a patch for ticket #27201.

Well what is that about?

WP was checking the file names for one level deep and then it checks their name to standard WP theme descriptive file of $wp_file_descriptions, if it finds any file that is in the list of that,then it renames.

What’s the solution ?

Checking the file names in the level-0 directory (wp-content/themes/theme-name)

Quick Navigation for Posts ,Pages & CustomPostTypes

It would be great if we have a quick drop down for posts/pages/cpt’s lists(Check the link above),when we are in the back-end post/page/cpt-editor page, so that we can easily select which post/page/cpt to edit instead going back to posts/pages/cpt lists and searching for posts (if we have large number of posts/pages/cpt).

Note: When i say “cpt” it means CutomPostTpe

Leave a comment.