Can WordPress comments be replied to programmatically?
in WORDPRESS, when need to add comment use this function: wp_insert_comment(); but, after add the comment, I need to add reply to comment programmatically, there is way for this?
in WORDPRESS, when need to add comment use this function: wp_insert_comment(); but, after add the comment, I need to add reply to comment programmatically, there is way for this?
I configured functions.php with the code that enables Post Thumbnails on the theme, but it doesn't appear in wp-admin. <?php add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 1280, 720 ); When I create a post, the option to upload the featured image does…
I'm currently trying to fetch data from an external source (not a Wp site) to a Wp site using the wp_remote_get method. The site that i want to get data from doesn't have an actual json file to make the…
How could I hide element button in my case if the product is in specific category ? I have tried <div id="buttonid" if ( has_term( "category", "product_cat", $post->ID ) ) { echo 'style="display:none;"' }?>></div> </div>
After a "manual" install of WordPress on my host iPage. I was able to setup the database and looks like I have access to everything but my home url. So my www.homeurl.com has the message Forbidden You don't have permission…
I'm having an issue where the first second of loading time of my website shows the elements of my banner (a form field as well as a background image), but the text shows up significantly later. The text is using…
I'm new to visual studio code and intelephense. I'm working with WordPress and using a class called WP_CLI which's a system installed. So, if I'm not wrong, class WP_CLI is not in my path so I get Undefined type 'WP_CLI'.intelephense(1009)…
I have the following favicon setup in header.php: <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" sizes="180x180" href="<?php echo get_template_directory_uri()." /assets/build/favicon/apple-touch-icon.png "; ?>"> <link rel="icon" type="image/png" sizes="32x32" href="<?php echo get_template_directory_uri()." /assets/build/favicon/favicon-32x32.png ";…
I'm using Astra theme on WordPress and I'm trying to replace the site logo with an ACF field entry. Having really big difficulties setting the logo at all using Astra's astra_replace_header_logo filter. Trying to start with baby steps and replace…
Fairly new to wordpress, but Im trying to do what should be fairly straight forward. I want to get a list of all "departments" (a custom taxonomy). and then all the posts in those departments. A post can be in…