I can’t access custom taxonomy page listing

The only problem that I have found is ‘query_var’ => ‘news’ in register_taxonomy(). Change it to ‘query_var’ => true and it will start working. function create_my_taxonomies() { register_taxonomy( ‘news_categories’, ‘news’, array( ‘labels’ => array( ‘name’ => ‘News Categories’, ‘add_new_item’ => ‘Add New Category’, ‘new_item_name’ => “New Category” ), ‘query_var’ => true, ‘show_ui’ => true, ‘show_tagcloud’ … Read more

Edit Permalink Structure For Custom Post Type or Modify .htaccess?

Based on your pastebin of the plugin code, the issue seems to be in the registration of the custom post type. The issue is on line 25. “Rewrite” should be set to true. <?php private $postTypeArgs = array( ‘public’ => true, ‘rewrite’=> false, ‘singular_label’ => ‘mydomainlist’, ‘publicly_queryable’ => true, ‘show_ui’ => true, ‘show_in_menu’ => true, … Read more

Adding a query string to only one page url

You can filter page_link to modify the output of any page’s permalink value. The simplest way to identify the page is by ID, then you can append the query string via add_query_arg: function wpd_append_query_string( $url, $id ) { if( 42 == $id ) { $url = add_query_arg( ‘ngg_force_update’, 1, $url ); } return $url; } … Read more

Locked out of admin panel after installing HC Custom WP-Admin URL [closed]

you sad u have access to phpmyadmin. Go to it, find wp_options table Look for custom_wpadmin_slug in option_name and in option_value column will be your’s custom defined wp-admin slug If you’ll still wount be able to access then remove next lines in .htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^{your_wp_admin_slug}/?$ {your_site.com/}wp-login.php [QSA,L] </IfModule> Note that {your_wp_admin_slug} … Read more