Skip to content
Hey, I'm
KRIS THAPA
  • Home
  • Why Me?
  • About Me
  • Contact Me
  • Services

Category: Wordpress

Overlay a layer

October 13, 2019 admin Leave a comment

.et_pb_pricing_heading:before {     content: ”;     position: absolute;     top: 0;     left: 0;    …

Continue Reading →

Posted in: HTML/CSS, Joomla, Web Development, Wordpress

How to add a color overlay to a background image?

September 4, 2018 admin Leave a comment

#Header_wrapper { background-image: url(https://yourwebiste.com/image.jpg); position: relative; } #Header_wrapper:before { content: “”; position: absolute; left: 0; right: 0; top: 0; bottom:…

Continue Reading →

Posted in: HTML/CSS, Joomla, Web Development, Wordpress

Contact Form 7 drop down required field customize

December 20, 2015 admin Leave a comment

function custom_wpcf7_form_elements($html) { function cf7_replace_include_blank($name, $text, &$html) { $matches = false; preg_match(‘/<select name=”‘ . $name . ‘”[^>]*>(.*)<\/select>/iU’, $html, $matches); if…

Continue Reading →

Posted in: Web Development, Wordpress

Contact form 7 date picker fix

December 10, 2015 admin Leave a comment

Contact Form 7 Date Picker problem Add the below code to the theme function.php file: add_filter( ‘wpcf7_support_html5_fallback’, ‘__return_true’ );

Continue Reading →

Posted in: HTML/CSS, Web Development, Wordpress

Ask facebook to re-scrape old page title

January 4, 2015 admin Leave a comment

Continue Reading →

Posted in: HTML/CSS, Web Development, Wordpress

Advanced CSS attributes

May 29, 2013 admin Leave a comment

div[id^=”attachment_”] {display:none !important;} http://coding.smashingmagazine.com/2009/08/17/taming-advanced-css-selectors/

Continue Reading →

Posted in: HTML/CSS, Joomla, PHP Nuke, Web Development, Wordpress, Zen-cart

How to automatically use resized images instead of originals

April 20, 2013 admin Leave a comment

Simply paste the following code on your functions.php file and save it. No other action is needed! function replace_uploaded_image($image_data) {…

Continue Reading →

Posted in: Web Development, Wordpress

Display published and future post

November 27, 2012 admin Leave a comment

$args = array( ‘post_status’ => ‘publish,future’, );

Continue Reading →

Posted in: Wordpress

Preserve post/page formatting with limited character

admin Leave a comment

$my_id = 162; $post_id = get_post($my_id); $content = $post_id->post_content; $content = apply_filters(‘the_content’, $content); $content = str_replace(‘]]>’, ‘]]>’, $content); //all content…

Continue Reading →

Posted in: Web Development, Wordpress

Count Character and DO NOT break word

August 8, 2011 admin Leave a comment

$str = get_the_content(); $charset = ‘utf-8’; $len = iconv_strlen($content, $charset); $max_len = 97; $max_cut_len = 10; if ($len > $max_len)…

Continue Reading →

Posted in: Wordpress

Post navigation

Page 1 of 3
1 2 3 Next →

Recent Posts

  • Overlay a layer
  • How to add a color overlay to a background image?
  • Fancy Checkmark Icons

Recent Comments

  • Joy Gordon on How to hide PHP errors on your Joomla site?
  • Elmer Skafidas on How to hide PHP errors on your Joomla site?
  • Anissa Kjellsen on How to hide PHP errors on your Joomla site?
Copyright © 2026 Hey, I'm