How does Permalink work with the AMP plugin after Removing Parent Permalink Catalog from Posts

I have found some solutions, but they are not perfect with the AMP plugin. For example, I found that this code is completely true for posts that are not amp, but when viewed by url with amp, it reverts to non-amp. here add_filter( ‘post_link’, ‘remove_parent_category’, 10, 3 ); function remove_parent_category( $permalink, $post, $leavename ) {…

Details

Duplicate rows in CodeIgniter

Inserting to database is k. But then, database is returning same value twice! I tried many things. Don’t know, where I am going wrong. This is how it returns with one entry!!! Please help. My code(view, controller, and model) is: View function customerBarCode(){ var itemCode=document.getElementById(‘customerbarcode’).value; $.ajax({ type:’POST’, data:({itemCode:itemCode}), url:”<?php echo base_url();?>inventory/itemMaster/customerBarCode_c”, success:function (data){ var data=jQuery.parseJSON(data);…

Details