Open and edit content-page.php. Remove the following code in it.
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->
Upload/save the file file. From now, you won’t see the date and time display in pages.
In the content-featured.php, remove the following lines (from 5th line)
<?php if ( has_post_thumbnail() ): ?>
<?php the_post_thumbnail('thumb-large'); // only difference to content.php ?>
<?php elseif ( ot_get_option('placeholder') != 'off' ): ?>
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-medium.png" alt="<?php the_title(); ?>" />
<?php endif; ?>
This will remove the big fat featured image in homepage of list of posts in hueman WordPress theme.
The free WordPress theme Customizr converts the top menu into mobile menu (burger menu system) at the width of 979px. We have created a child theme for Customizr that uses a skin and sets mobile checkpoint to 767px. Because sometimes, the number of menus are very less and in iPad like tablets, unnecessary, the mobile… Read More »
We heard you and here we would like to provide you the setup data for Twenty Fourteen WordPress Theme. You can get this same demo setup in your localhost or even in your live site. You can download the following xml file and another file called “wie”. The WIE file is generated from “Widget Importer… Read More »
SabaiDirectory uses wp_mail function for emailing purposes. By default, it does not support HTML tags inside the templates. However, you can enable this feature by adding a filter. Just add the below code in your theme functions.php file. But note that, once you add this feature, you need to edit all the Sabai Directory email… Read More »
It is general process to remove style of parent theme while creating child theme for any WordPress themes. In the same way, recently I tried to dequeue style of TwentyTwelve WordPress theme. But it did not work. After Googling and with lots of trials and errors, I found that the style needs to be deregistered too.… Read More »
We all know Hueman is one of the best made WordPress theme. And it is free too. This theme basically does not have slider in it. So, I created a child theme called “Hueplus” with slider in it. However, That slider is not full width. Hence I modified the code a little more on header.php… Read More »
Use the below code to get the current page id or post id, but outside loop, global $wp_query; echo $wp_query->post->ID;