Home » Articles posted by binny daniel (Page 2)

Author Archives: binny daniel

Understand the use of Border in CSS

1.. All Side Thick Borders A div element with a border .allborder{ border-top: 20px solid red; border-bottom: 20px solid #fc0; border-left: 20px solid blue; border-right: 20px solid green; } 2.. Square Border .bordernospace{ font-size: 0px; line-height: 0%; width: 0px; border-top: 20px solid red; border-bottom: 20px solid #fc0; border-left: 20px solid blue; border-right: 20px solid green; […]

Read it

WordPress Issues : Paragraph tag <p> disappears after publishing the article?

No worries.. You just need to modify the loop file and find this line <?php the_content(); ?> and replace it with <?php echo wpautop( $post -> post_content ); ?> Thats it!!! 😀

Read it

How to write CSS for Select arrow

HTML arrow_classic arrow_round arrow_minimal CSS select { /* styling */ background-color: white; border: thin solid blue; border-radius: 4px; display: inline-block; font: inherit; line-height: 1.5em; padding: 0.5em 3.5em 0.5em 1em; /* reset */ margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-appearance: none; -moz-appearance: none; } /* arrows */ select.classic { background-image: linear-gradient(45deg, transparent 50%, blue […]

Read it

Resolve Windows Photo Viewer Issue in Windows 10

Here is the steps to Restore Windows Photo Viewer for All USER Download the following .reg file and follow the steps: 1.. Open/Run the downloaded .reg file 2.. If prompted, approve to run. 3.. Go to Control Panel > search Default Apps > select Windows Photo Viewer from the list and click Set this program […]

Read it

Thumbnails are not showing in Windows?

1.. Go to Control Panel 2.. Search for File Explorer Options 3.. Click on it to open the Folder Options dialogue box 4.. Click on View Tab 5.. Uncheck the Always show icons, never thumbnails Yeah its Done!

Read it

Gravity Forms Error… Resolved!

If you find this error in the confirmation page of any Gravity form then follow these simple steps to resolve it. function WP_List_Table::get_columns() must be over-ridden in a sub-class. Add this code in form_settings.php and notification.php under the class GFConfirmationTable extends WP_List_Table { function get_columns() { $columns = array( ‘name’ => ‘Name’, ‘subject’ => ‘Subject’ […]

Read it

How to get the excerpt without html tags?

If you want to show excerpt without html then you can simply use these options: 1.. use echo get_the_excerpt(); that simply return the text without any html tags. 2.. use echo wp_filter_nohtml_kses(get_the_excerpt());

Read it

Remove the Entry Footer from the Genesis Theme?

Use the following code in the child or genesis functions.php to remove the entry_footer: //* Remove the entry footer markup (requires HTML5 theme support) remove_action( ‘genesis_entry_footer’, ‘genesis_entry_footer_markup_open’, 5 ); remove_action( ‘genesis_entry_footer’, ‘genesis_entry_footer_markup_close’, 15 ); remove_action( ‘genesis_entry_footer’, ‘genesis_post_meta’ );

Read it

Add new thumbnail size for Genesis

Add the following code in functions.php //* Add new image thumbnail size add_image_size( ‘mythumbnail’, 180, 180, TRUE ); You can modify 180 with any sizes.

Read it