I want to change url structure of my created archieve pages

i have created custom template in which i have run query from database . in the page i have run loop from database so i am taking id through url to another page and the link is creating like this so i want to change this link from this https://www.taxnetwork.in/single-share-file/?file_id=1 to this https://www.taxnetwork.in/single-share-file/file_name/ code is…

Details

can not get query to display post count by month of current custom taxonomy in custom taxonomy page

I am trying to display post count by month of current custom taxonomy in custom taxonomy page. but it display total count by month <?php $post_type = “sikayet”; $posts = get_queried_object()->term_id; $timestamp_start = strtotime(“first day of next month -1 year midnight”); $start = date(“Y-m-d H:i:s”, $timestamp_start); $posts = get_posts([ “nopaging” => TRUE, “post_type” => $post_type,…

Details

WP Editor Issue in Backend

I am stuck on silly issue of wp_editor function in WordPress backend in custom plugin page. See issue for wp_editor in attached images I have called the wp_editor function like this <?php wp_editor(stripslashes($item[‘custom_redirect_message’]), “custom_redirect_message”, array(“wpautop” => false,”name” => “custom_redirect_message”, “textarea_rows” => 20)); ?> There is also some js error in console in live environment when…

Details

How to make the redirects right? IP to domain name folders

Recently added a domain name and there are pages/links that still include the IP address and when pressed redirects from http://ipaddress/subfoldersite/folder to mydomain.com. I have multisite network and my subfolders site has this issue. Is it related to .htaccess? What has to be changed to fix this issue? Current .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On…

Details