.et_pb_pricing_heading:before { content: ”; position: absolute; top: 0; left: 0; …
#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:…
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…
Contact Form 7 Date Picker problem Add the below code to the theme function.php file: add_filter( ‘wpcf7_support_html5_fallback’, ‘__return_true’ );
div[id^=”attachment_”] {display:none !important;} http://coding.smashingmagazine.com/2009/08/17/taming-advanced-css-selectors/
Simply paste the following code on your functions.php file and save it. No other action is needed! function replace_uploaded_image($image_data) {…
$args = array( ‘post_status’ => ‘publish,future’, );
$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…
$str = get_the_content(); $charset = ‘utf-8’; $len = iconv_strlen($content, $charset); $max_len = 97; $max_cut_len = 10; if ($len > $max_len)…