Issue I have a Teamspeak status viewing script hosted on a different domain than my wordpress. So I’m trying to show the script results in a text/html widget using an iframe except it will not auto-size the height. WordPress is
Continue readingTag: wordpress
[SOLVED] AWS Kubernetes Cluster – WordPress Error establishing a database connection
Issue I am novice person to Kubernetes and trying to deploying WordPress and MySQL using the Kubernetes pod containers but its throwing the error "Error establishing a database connection" while running the Kubernetes . WordPress Error Overall Kubect status AWS
Continue reading[SOLVED] WordPress use wpdb -> update to update mutiple row
Issue I’m trying to update multiple rows once, I use the array to store the data and I use for loop to try to update the data but it’s not working because the data in the database is still the
Continue reading[SOLVED] get_permalink() return duplicate URL during loop
Issue I’m trying to show some posts in my slider; But this loop returns same link for all items $recent_posts = get_posts(array(‘posts_per_page’ => ‘6’, ‘meta_key’ => ‘post_views_count’, ‘orderby’ => ‘meta_value_num’, ‘order’ => ‘DESC’)); foreach ($recent_posts as $post_item) : ?> <?php
Continue reading[SOLVED] Automatically cancel order after X days if no payment in WooCommerce
Issue I have managed to put this together after searching the web and yet, it does not work. My aim is to automatically cancel ALL orders with the status on-hold no matter the payment gateway if the order has not
Continue reading[SOLVED] Get products from last orders in WooCommerce
Issue I want to show the last 10 products a user has ordered in the past. The problem is, that I don’t know how many products where in the last order. So I maybe need to get more than one
Continue reading[SOLVED] ACF form post woocommerce product
Issue i am developing a multivendor shop and i want the vendors to post products from a Template page. i am using Advance custom fields to achieve this functionality. What i did by far is to create the page template
Continue reading[SOLVED] Gutenberg render locate_template
Issue I wanna render a simple template with gutenberg serverside with create-guten-block. init.php: function melaniemueller_templateparts_block_cgb_block_assets() { register_block_type( ‘cgb/block-melaniemueller-templateparts-block’, array( ‘render_callback’ => ‘mmu_block_render’, ) ); } } // Hook: Block assets. add_action( ‘init’, ‘melaniemueller_templateparts_block_cgb_block_assets’ ); function mmu_block_render($attr, $content) { locate_template( ‘custom\php\templates\header\header_main_1.php’,
Continue reading[SOLVED] Gutenberg Block Style CSS Class Is Not Applying on Backend
Issue Block HTML on the front end are getting the “is-style-option1” class added but for some reason the back-end block HTML isn’t getting the “is-style option1” class being added. Here is the edit function in the index.js file – <section
Continue reading[SOLVED] How to exclude parent block from innerBlocks?
Issue I want to make a Section block in WordPress Gutenberg. I have created a section block and used Gutenberg <InnerBlocks> component as inner/child blocks. It is working fine but Section block itself showing as its inner blocks list. I
Continue reading