Output HTML Tags In Gutenberg Block
WordPress Development Stack Exchange
by Burgi
19h ago
I've been working to update our custom gateway plugin to make use of the block checkout in WooCommerce. I have managed to get the gateway to output but one of the settings fields we have takes raw html. This is now being rendered on the frontend as plaintext instead of rendering the HTML tags correctly. I saw a few people mention a RawHTML command but I'm not very familiar with how React works. Everything I have tried has resulted in either nothing being shown or a JS error. I am struggling to figure out how to get this section rendering correctly. This is the JavaScript that I'm using to out ..read more
Visit website
Copy the Value from one Meta to another Meta
WordPress Development Stack Exchange
by Amelia JC
19h ago
I need to copy the Value from one Meta to another Meta. Meta_key1 --> "Custom value1" (This value is inserted by the ERP) Meta_key2 --> "Custom value1" (I want it to copy the value of Meta_key1 ..read more
Visit website
How can I access user information on a subdomain?
WordPress Development Stack Exchange
by Kermit
19h ago
I am trying to access the WordPress user from a sub-domain (not a multi-site install), but can't get the following setup to work. The single WordPress install is on mydomain.com and I have a script on sub.mydomain.com. In mydomain.com/wp-config.php: define( 'COOKIE_DOMAIN', 'mydomain.com' ); define( 'COOKIEPATH', '/' ); define( 'SITECOOKIEPATH', 'mydomain.com' ); define( 'COOKIEHASH', md5('mydomain.com') ); In sub.mydomain.com/helloworld.php: header( 'Content-Type: application/json; charset=UTF-8' ); header( 'Access-Control-Allow-Origin: https://mydomain.com' ); header( 'Access-Control-Allo ..read more
Visit website
Failed to open stream: No such file or directory in /home/search/public_html/wp-includes/functions.php on line 6852
WordPress Development Stack Exchange
by Jan
19h ago
Warning: file_get_contents(/home/search/public_html/wp-content/plugins/open-user-map/open-user-map.php): Failed to open stream: No such file or directory in /home/search/public_html/wp-includes/functions.php on line 6852 Warning: file_get_contents(/home/search/public_html/wp-content/plugins/wp-optimize/wp-optimize.php): Failed to open stream: No such file or directory in /home/search/public_html/wp-includes/functions.php on line 6852 Website: renovateserchthailand.com is up and running. Suddenly get these messages when trying to log in with admin. Sorry, I am not experienced enough to mess ..read more
Visit website
Unabled to link all the pages
WordPress Development Stack Exchange
by Jungwon Kim
19h ago
I have a wordpress powered website https://woonkyung.or.kr/ main page is loading but all the liked page is not working the error msg is Not Found The requested URL /woonkyungfoundation/ was not found on this server. no one can't access to the ftp why this is happening ..read more
Visit website
How to redirect to settings page once the plugin is activated?
WordPress Development Stack Exchange
by Vignesh Pichamani
19h ago
I created the Plugin of my own. Everything seems OK but one thing I want to do in that plugin is redirect to the corresponding plugin settings page when the plugin is activate. For example: http://www.example.com/wordpress/wp-admin/options-general.php?page=rotator Is there a way to redirect to the corresponding page on activation, for example with register_activation_hook ..read more
Visit website
Custom Post Types in WordPress Dashboard List Rows But Data is Blank
WordPress Development Stack Exchange
by elke_wtf
3d ago
I have a WordPress site that has several custom post types. Recently I moved it to Amazon Lightsail hosting which I've used for years. After the move, all my post types appear in the dashboard but they cannot be edited, and while the rows appear all data is blank. I have checked the database to ensure that the data is indeed there (and it is). This is happening for every post type. As a test, I created a new post type and then added a new post to that post type, but the backend still shows the empty row. I can create posts, pages and new products (WooCommerce site) which all show as expected ..read more
Visit website
How to works woocommerce cart hash
WordPress Development Stack Exchange
by MahmoodZamaniNemati
3d ago
have a WordPress store and I built it using the WooCommerce plugin. Today, I encountered an issue with my site that I need help resolving. The problem is as follows: Imagine a scenario where a logged-in user adds a few products to their cart. Two days later, they return to my site but unknowingly log out. They then add another product to their cart, but suddenly realize that they are not logged in. They then proceed to log in to their account, but upon doing so, their new cart overwrites their previous cart. I found my issue, I wrote a plugin for login and register, and I understand this issue ..read more
Visit website
Add_submenu_page add multilevel menu
WordPress Development Stack Exchange
by kroma
3d ago
Im using: // wp-admin hotels list in sidebar function add_custom_submenu_under_add_new() { $args=array( 'post_type' => 'hotel', 'posts_per_page' => -1, 'post_parent' => 0 ); $the_query = new WP_Query( $args ); if ( $the_query->have_posts() ) { while ( $the_query->have_posts() ) { $the_query->the_post(); global $post; add_submenu_page( 'edit.php?post_type=hotel', // parent slug get_the_title($post->ID), // page title get_the_title($post->ID ..read more
Visit website
After moving content to a new site, gallery thumbnails are not pointing to media files
WordPress Development Stack Exchange
by Ondrej
3d ago
I am moving content from an old site based on Wordpress 4.9 to a new website based on the current release and PHP 8. I have moved all the content - meaning posts, pages, media, and so forth - using Updraft and have spotted an interesting issue. Many of the posts have embedded galleries in them that are based on the builtin gallery feature of WP, nothing special. When I create a new gallery in a post now, the anchor of the thumbnail is pointing to the media file, so for example, the link looks like mysite.com/media/image123.jpg. When I click that, the image opens fine. However, galleries in the ..read more
Visit website

Follow WordPress Development Stack Exchange on FeedSpot

Continue with Google
Continue with Apple
OR