Category : wordpress-theming

I’m trying to build a search page template where the excrept of a page or post should be based on the first paragraph or , containing the searched keyword(s). I’ve tried the following but it’s not working: $content = apply_filters( ‘the_content’, get_the_content() ); preg_match( ‘/<div.*?>(.*?)’ . implode(‘|’, $keys) .'</div>/iu’, $content, $matchesWithSomeString ); Or even a ..

Read more

Is it possible to put a maxlength on the input fields i use in the customizer. Like putting some extra setting in the array : maxlength = > 50; via : $wp_customize->add_control( ‘textblock-text-content’, array( ‘label’ => ‘Tekstblok tekst’, ‘section’ => ‘textblock_background_section’, ‘type’ => ‘textarea’, )); I couldnt find any solution, i hope anybody here can ..

Read more

I hope everything fine. Basically, I want to customize my woocommerce single product page. https://baywize.com/product/california-gold-nutrition-sambucus-european-black-elderberry-syrup-2500-mg-8-fl-oz-240-ml/ check the link of the single product page I want to replace breadcrumb with brand name and brand name with breadcrumb. Also, you can see the ASK A QUESTION button below, I want to move it under share icons. Can ..

Read more

I have created an elementor SELECT2 Control and now I want to display selected categories post Title and thumbnail I have created a custom post type which is ‘post_type’ => ‘video’ in my control displayed all the video categories now i want to display all selected that posts Title and Thumbnail in Elementor content_template() and ..

Read more