Is this issue with my mobile or the mobile menu is not working

hello friends,

I have made a bootstrap template
but for some reasons when i open the wbesite on mobile the mobile menu and the preloader animation doesn't seem to work..although it works on several online browser testing website

when i open the website in my mobile ..i see this
golf tdi 0 60
and the a javascript doesn't work at all to close the menu

any help will…

Is this issue with my mobile or the mobile menu is not working

Cannot add custom taxonomy to specific menu

I’m trying to add a custom taxonomy to a menu, but for some reason it won’t show.

This is the custom post type that I want use to associate the taxonomy:

$  labels = array(     'name' => 'Esperienza',     'singular_name' => 'Esperienza',     'menu_name' => 'Esperienza',     'all_items' => 'Esperienza',     'add_new' => 'Aggiungi nuovo',     'add_new_item' => 'Aggiungi nuova Esperienza',     'edit' => 'Modifica',     'edit_item' => 'Modifica Esperienza',     'new_item' => 'Aggiungi nuova Esperienza',     'view' => 'Visualizza Esperienza',     'view_item' => 'Visualizza Esperienza',     'search_items' => 'Cerca Esperienza',     'not_found' => 'Nessun Esperienza trovata',     'not_found_in_trash' => 'Nessun Esperienza trovata',     'parent' => 'Esperienza genitore',     'filter_items_list'     => 'Esperienza $  s',     'items_list_navigation' => 'Navigazione',     'items_list'            => 'Lista Esperienza',     'view items'    =>    'Visualizza Esperienza',     'attributes'    =>    'Attributi Esperienza' );  $  args = array(     'labels'  => $  labels,     'public' => true,     'publicly_queryable' => true,     'show_ui' => true,     'query_var' => true,     'rewrite' => array('slug' => 'st_experiences'),     'has_archive' => true,     'hierarchical' => false,     'menu_position' => 0,     'show_in_menu' => 'edit.php?post_type=st_tours',     'supports' => array('title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments'),     'taxonomies' => array('st_experience_categories') );  register_post_type('st_experiences', $  args); 

and this is the custom taxonomy:

function experience_category_post_type() {     $  labels = [         'name' => __('Categorie esperienze', 'traveler'),         'singular_name' => __('Categorie esperienze', 'traveler'),         'search_items' => __('Search Categorie esperienze', 'traveler'),         'popular_items' => __('Popular Categorie esperienze', 'traveler'),         'all_items' => __('All Categorie esperienze', 'traveler'),         'parent_item' => null,         'parent_item_colon' => null,         'edit_item' => __('Edit Categorie esperienze', 'traveler'),         'update_item' => __('Update Categorie esperienze', 'traveler'),         'add_new_item' => __('Add New Categorie esperienze', 'traveler'),         'new_item_name' => __('New Experience Type Name', 'traveler'),         'separate_items_with_commas' => __('Separate Categorie esperienze with commas', 'traveler'),         'add_or_remove_items' => __('Add or remove Categorie esperienze', 'traveler'),         'choose_from_most_used' => __('Choose from the most used Categorie esperienze', 'traveler'),         'not_found' => __('No Categorie esperienze.', 'traveler'),         'menu_name' => __('Categorie Esperienze', 'traveler'),     ];      register_taxonomy('st_experience_categories', array('st_experiences'), array(         'labels' => $  labels,         'show_ui' => true,         'show_admin_column' => true,         'query_var' => true,         'rewrite' => array('slug' => 'st_experience_categories'),         'show_in_menu' => 'edit.php?post_type=st_tours',         'show_in_nav_menus' => true,         'hierarchical' => true     )); }  add_action('init', 'experience_category_post_type'); 

when I visit my custom post I correctly see the taxonomy on the right menu:

enter image description here

but on the left side menu I can’t get displayed:

enter image description here

what I did wrong?

WordPress add page under admin submenu and retaining the active status of the parent submenu page in the menu

I have added a page in the admin menu(pxmag-menu) and a submenu(pxmag-plans). There is another page(pxmag-plans-edit) set under the submenu(pxmag-plans) as the parent page.

public function __construct() {     require('pxMagAdminPlans.class.php');     $  this->admPlanObj= new pxMagAdminPlans();      add_action('admin_menu', array($  this, 'add_plan_admin_menu')); }  public function add_plan_admin_menu() {     add_menu_page(__('Dashboard', 'textdomain'), get_bloginfo('name'), 'manage_options', 'pxmag-menu', array($  this, 'pxmag_dash'), 'dashicons-welcome-view-site', 6);              add_submenu_page('pxmag-menu', __('Subscription Plans', 'textdomain'), 'Plans', 'manage_options', 'pxmag-plans', array($  this->admPlanObj, 'plan_admin_menu_page'));     add_submenu_page('pxmag-plans', __('Add/edit Plans', 'textdomain'), 'Add/edit plans', 'manage_options', 'pxmag-plans-edit', array($  this->admPlanObj, 'plan_admin_menu_edit')); } 

All the menu and submenu pages load fine.

But, when I open this page(pxmag-plans-edit), the menu selection in the WordPress admin shows nothing as current item, whereas the pxmag-plans is supposed to be the current selection.

(It is supposed to work like: when I click ‘Posts > Categories‘ and subsequently open the ‘edit category‘ page, the ‘Posts > Categories‘ option in menu keeps selected).

What is going wrong? What is the correct process?

Adding Author URL to Nav Menu via Shortcode

I’m looking to add the Author URL to the Nav Menu via a shortcode.

Here’s the shortcode I registered:

add_shortcode( 'author_url', function() {     return get_author_posts_url( get_current_user_id() ); } ); 

After registering the shortcode, I tried using this plugin to add it to the nav menu:

However, the shortcode output is https//mysite.local on my localhost

Notice how it’s lacking the ‘:’ after the https.

What’s going on, and how can I fix this?


Create a custom display order in the main menu

I have main menu which displays two types of links: CPT and Subcategory. I create the menu with a custom request: I retrieve the Custom Post Type then the sub-categories of the main category in Alphabetical order :

Category A: - Product a - Product b - sub category a - sub category b ... 

But, my client wants a custom display example:

Category A: sub category a - Product b - Product a - sub category b ... 

I thought about creating a Drag Drop solution … but how to implement it

menu for custom type and taxonomy at the same time or filter by type

I have two custom types (eg: Cooks and Restaurants) and both have a shared taxonomy (eg: specialty). I want a menu that pulls all the restaurants based on a specific specialty but there doesn’t appear to be a way to use appearance -> menu to add the specialty taxonomy so that it only links to restaurants but not to cooks. eg: a menu that basically does a search for one type with that taxonomy match but doesn’t also pull the other type with that taxonomy match

To be clear I can get the taxonomy with both by simply editing a menu, placing a check-mark in the taxonomy name in screen options and then adding the individual taxonomy terms… I just don’t see how to filter the results to be only a single type. I assume that I will need to do this with some code but wanted to be sure I wasn’t over-engineering it.

Is there a way that is built into WordPress that would allow this to be done or am I looking at writing some custom code/adding a plugin? Alternately… what keywords should I have used to find an answer to this? It seems like anything that is remotely related is dealing with using a taxonomy with the same name as a type. I also looked at the title (at a minimum) of all the advanced-taxonomy-queries tagged questions when I discovered that but none seemed to be like my issue (though many were interesting in other ways).

Can’t add any menu items on live server (no item list)

I can’t add any items to menus on live server (can’t even see items to add list – there is list of dropdown "titles" like posts, pages, custom post types etc, but when I expand it – list is empty).

Locally it works. Another weird thing is that if I add items to menu locally and export whole wordpress installation with AIO WP Migration to live server, items are there, added to menu. But I still can’t add any other items (on the live server).

Any ideas what is going on? As I said, I have EXACTLY the same site on live server as I’m having locally (exported with AIO WP Migration), but still can’t add menu items on live server, while locally I can…