monishakrishnan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add custom tabs in MenusHi @threadi
Thanks for the details.
Is it possible to change the view of the menu items while selecting the menu?
We want to change the list view to grid view.
Forum: Fixing WordPress
In reply to: Mysql update from 5.7 to 8Hi @nheeko
Thank you for the explanation.
- This reply was modified 2 years, 5 months ago by monishakrishnan.
Forum: Fixing WordPress
In reply to: Custom field data to APIHi @threadi
I have tried like this..but i am getting an error only.. i am not able to click add new , it is throwing the error statement. Can you please help on this?
add_action( 'save_post', 'save_post_to_other_table', 10, 3 ); function save_post_to_other_table( $post_id ) { global $wpdb; $name=$_POST['name']; $address=$_POST['address']; if($wpdb->insert( 'table_name', array( 'name' => $name, 'labelName' => $address, ) ) == false) wp_die('Database Insertion failed'); else echo 'Database insertion successful<p />'; }Forum: Fixing WordPress
In reply to: Custom field data to APIHI @threadi
I tried like this.. Is this correct?
It is not updating for me.add_action(‘acf/save_post’, ‘my_acf_save_post’,1);
function my_acf_save_post( $post_id ) {
global $wpdb;
$table_name = $wpdb->prefix . ‘ngp_labels’;$wpdb->insert( $wpdb->myTabel, array(
‘id’ => $post_id,
‘name’ => $fields[‘field_gf7623rgh’],
‘address’ => $fields[‘field_62ferfef’],
‘label_author’ => $user_id,
‘updated_date’ => $now
));Forum: Fixing WordPress
In reply to: Custom field data to APIHi @threadi
Thanks for your response.
Can I ask you one more doubt?I have created a custom plugin with 3 to 4 fields.
and I have created a new database as well.Now, how to get the values from custom fields and store them in my custom table?
Forum: Fixing WordPress
In reply to: Database Upgrade Required issueThanks.
We are suddenly not getting the previously created posts in the front-api. if we update the post again, then it is displaying in the frontend.Is it because of this upgrade?
And more point, recently we upgraded the mysql version to 5.7.33Forum: Developing with WordPress
In reply to: Js, CSS files not loadingHi @bcworkz
Thank you. Can you please tell me why it is giving 500 in my local server?
Do i need to check with any other ports or is there any reason for this?Forum: Developing with WordPress
In reply to: Js, CSS files not loadingHi @bcworkz
Thank you for your response. I have resolved the maxSubmit function error and tried to use 20’s theme. But still getting 500 error.GET http://localhost/wp-content/plugins/advanced-custom-fields-pro/assets/css/acf-global.css?ver=5.6.0 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:42 GET http://localhost/wp-content/plugins/svg-support/css/svgs-admin-edit-post.css?ver=4.8.2 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:43 GET http://localhost/wp-content/themes/ngp/assets/library/tooltipster/css/tooltipster.bundle.css?ver=4.8.2 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:44 GET http://localhost/wp-content/themes/ngp/assets/library/tooltipster/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-punk.min.css?ver=4.8.2 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:45 GET http://localhost/wp-content/plugins/amazon-s3-and-cloudfront/assets/css/notice.css?ver=1.1.6 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:46 GET http://localhost/wp-content/plugins/advanced-custom-fields-pro/assets/css/acf-input.css?ver=5.6.0 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:47 GET http://localhost/wp-content/plugins/advanced-custom-fields-pro/pro/assets/css/acf-pro-input.css?ver=5.6.0 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:48 GET http://localhost/wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.min.css?ver=4.0 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:49 GET http://localhost/wp-content/plugins/advanced-custom-fields-pro/assets/inc/datepicker/jquery-ui.min.css?ver=1.11.4 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:50 GET http://localhost/wp-content/plugins/advanced-custom-fields-pro/assets/inc/timepicker/jquery-ui-timepicker-addon.min.css?ver=1.6.1 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:66 GET http://localhost/wp-content/plugins/post-duplicator/assets/js/pd-admin.js?ver=2.20 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:67 GET http://localhost/wp-content/plugins/wp-max-submit-protect/js/jquery-maxsubmit/jquery.maxsubmit.js?ver=1.1.2 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:68 GET http://localhost/wp-content/plugins/ngp-multisite/assets/js/multisite/ngp-multisite-base.js?ver=1.1 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:69 GET http://localhost/wp-content/themes/ngp/assets/library/tooltipster/js/tooltipster.bundle.min.js?ver=3.2.6 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:70 GET http://localhost/wp-content/themes/ngp/assets/library/tooltipster/tooltipster-scripts.js?ver=1.0.1 net::ERR_ABORTED 500 (Internal Server Error) load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable,jquery-u&load[]=i-datepicker&ver=4.8.2:9 JQMIGRATE: Migrate is installed, version 1.4.1 post-new.php?post_type=page:71 GET http://localhost/wp-content/plugins/advanced-custom-fields-pro/assets/js/acf-input.min.js?ver=5.6.0 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:72 GET http://localhost/wp-content/plugins/advanced-custom-fields-pro/pro/assets/js/acf-pro-input.min.js?ver=5.6.0 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:73 GET http://localhost/wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.full.min.js?ver=4.0 net::ERR_ABORTED 500 (Internal Server Error) post-new.php?post_type=page:74 GET http://localhost/wp-content/plugins/advanced-custom-fields-pro/assets/inc/timepicker/jquery-ui-timepicker-addon.min.js?ver=1.6.1 net::ERR_ABORTED 500 (Internal Server Error)Regards,
Monisha