Category : wordpress

Hi I’m trying to create a custom plugin that will display the main product image from Woocommerce plugin. I want to use shortcode. How do I go about doing this? This is what I had and it didn’t work. I’ve also found different suggestions. I will share everything below add_shortcode( ‘product_image’, ‘bbloomer_product_image_shortcode’ ); function bbloomer_product_reviews_shortcode() ..

Read more

I need to make manageable some text in my full custom HTML/CSS theme. So I created a custom post to do it with ACF custom Field. Everything work fine ! Here the code : $posts = get_posts(array( ‘numberposts’ => -1, ‘post_type’ => ‘infos’, )); foreach ($posts as $post) : $contact = get_field(‘contact’); <a href="tel:<?=$contact[‘tel’]?>"><?=$contact[‘tel’]?></a> endforeach ..

Read more

i need help with my nginx config. At the moment I have a fully functioning Nextcloud instance, accessible from a subdomain. I tested my setup with a wordpress docker and a manuell install, with the same outcome. The problem is with my wordpress installation, Nginx will not access the files and i am not able ..

Read more