In situations where there is a menu item with sub-menu items, on a PC, I can view a page associated with the menu item AND also traverse the sub-menu to get at lower level pages.
However, when using a phone, it does not seem to be possible to access the page associated with the top level menu item.
See https://www.test.wcipp.org.au/ .
1. On a desktop computer, hover over the Plants menu item – a sub-menu of plant types is revealed.
2. Click on the Plants menu item itself – you are taken to a general page on plants.
3. Alternatively, you can click on a sub-menu item such as Trees to get a list.
On a phone (with Chrome at least), it does not seem to be possible to perform the equivalent of step 2 above.
Is there a way around this ?
]]>https://alwaysdeal.no/wp-content/themes/11.jpg
]]>I want to add the same below nav widget to these 2 pages:
SECURITY MENU: https://cra.org.za/category/community-information/security/
MEMBERSHIP MENU: https://cra.org.za/membership/
But I can’t find the main pages for any of the other pages with this widget – the page has no information or text or plugins or widgets.
]]>After updating to the latest version of wordpress I noticed that the page in Admin -> Appearence -> Menu is not working. I managed to narrow down the cause of the problem to a custom function
function my_custom_available_payment_gateways( $gateways ) {
$chosen_shipping_rates = WC()->session->get( 'chosen_shipping_methods' );
if ( ! in_array( 'local_pickup_plus', $chosen_shipping_rates ) ) :
unset( $gateways['cheque'] );
endif;
if ( in_array( 'local_pickup_plus', $chosen_shipping_rates ) ) :
unset( $gateways['cod'] );
endif;
return $gateways;
}
add_filter( 'woocommerce_available_payment_gateways', 'my_custom_available_payment_gateways' );
This function filters payment gateways depending on shipping method. If I remove this function Menu page in admin returns to normal. If I add the function again menu page does not work and server logs the following errors
#0: *2967264 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in /child-theme-path/functions.php:66
Stack trace:
#0 /path/wp-includes/class-wp-hook.php(298): my_custom_available_payment_gateways(Array)
#1 /path/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#2 /path/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(165): apply_filters(‘woocommerce_ava…’, Array)
#3 /path/wp-content/plugins/woocommerce/includes/wc-account-functions.php(115): WC_Payment_Gateways->get_available_payment_gateways()
#4 /path/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(242): wc_get_account_menu_items()
#5 /path/wp-admin/includes/template.php(1170): WC_Admin_Menus->nav_menu_links(NULL, Array)
#6 /var” while reading response header from upstream
I had no problems with previous wordpress versions. Any ideas?
]]>I want to make a page as a “menu” with pictures (thumbnails) as hyperlinks to other pages with more informations – more specific:
I want to name one page eg Norway, and on this page I want to have pictures as hyperlinks in say 4 or 5 rows. Under each picture I would like to add some text – and the whole area should be hyperlinks, eg
One picture from Kristiansand, with the text Kristiansand under it, one from Bergen with the name Bergen under it – and so forth.
The link should point to another page (static) called eg Bergen, and a description of what to do when visiting Bergen.
How could this be done i WP?
For example, I have group page in the menu specifically for client called “Client Special Packages” title and I do not wish to display also all the page links (Package 1, 2, 3, etc.) under that menu unless my real client logged in. So for non-member, they should not be able to see the client links (or the entire dropdown menu) at all.
Hope you can help. Thank you so much in advance for your support.
https://www.ads-software.com/plugins/simple-membership/
]]>Users added to a multisite network, and nothing else, will by default only have access to Profile and a Dashboard page with WordPress news only. I want to add a new top level menu here, but it seems to me that you can only add plugins for actual sites, and not users or WordPress per se.
The current goal is to let anyone and everyone who can login to WordPress be able to create a blog in their own name (username), regardless of whether they already have been added to any sites. Is there some other way to achieve this without editing the php files included with WP?
]]>