wp_nav_menu is a standard WordPress function, so you would just copy/paste that PHP code into sidebar.php
using whatever additional arguments you need. However, since the theme has a sidebar.php
it probably has widget areas, so I would look in Appearance > Widgets
in the dashboard and look for a sidebar widget area.
In there, I would create a textarea widget into the sidebar widget area and copy/paste the shortcode into that widget. It should then render the menu in the same way as the PHP code.
Related Posts:
- Layout shop page: resize images and columns
- Delete mobile menu button [closed]
- Redirect to another page using contact form 7? [closed]
- Hide a Menu Item on Login
- Button and Countdown overlapping mobile menu
- Mobile Menu and Mobile Sidebar missing
- How to activate/deactivate menu tab and keep the same id?
- plugin style conflicts, how to override? [closed]
- Is there an earlier hook than login_head or login_enqueue_scripts?
- How to disable CSS rule in Twentythirteen style.css?
- Theme’s default styles are overriding my plugin’s custom CSS
- Remove ALL css for a specific plugin page
- (WooCommerce) Remove Sidebar only on Single-Product page
- Globally register styles but enqueue them selectively
- CSS from textarea in options page to frontend what to do
- custom changes removed after plugin update
- W3 Total cache “empty all caches” and no stylesheets render [closed]
- Creating a nav menu
- Admin Panel pagination link styles
- How to style the RSS wordpress?
- Can someone please tell me what is wrong with my plugin?
- How Do I Figure Out What File(s) to Edit from Looking at the Source Code [closed]
- Custom random quote widget breaks when used in multiple sidebars
- Easiest way to add dropdown to a page
- WPBakery JS composer unused css [closed]
- How to tie dark mode with prefers-color-scheme webkit? [closed]
- How to get the element ID from new menu list that added with add_filter()?
- How to display custom sidebar in wordpress 5.5.2
- Trouble with plugin styles in admin area of WordPress
- Add a CSS class based on categroy id to archive pages
- Changing “elapsed time” to “time remaining” on MP3-jPlayer audio player with CSS or PHP changes
- Child Pages Short Code plug-in and hover capabilities?
- Merging Two menus in the backend into one menu
- Removing included CSS file that doesn’t exist
- How to hide CSS by default and show on button press
- (Sticky Row) How do i make a row sticky in wpbakery page builder?
- How to create an input field, and base the output on spreadsheet data? [closed]
- WordPress plugin output formatting
- how to access all user dashboard on fronted page [closed]
- What would I need to write into a custom plugin in order to add a switch for a custom string of CSS to the edit page?
- Bootstrap and Custom CSS in custom plugin are being overwritten by theme
- Ajax Search Lite: Customize Autoscroll
- Widgets Scripts don’t load – but load when I reload the page
- html generated by theme exist but doesnt appear in browser
- Ability to automatically redirect a URL
- Changing page URL and connect newsletter to MailChip
- Dynamic admin submenu
- Center and hide overflow of WP toolbar custom links
- Displaying Custom Sidebar Without Modifying Theme’s Core File?
- How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]
- How to remove admin main menu name repetition
- Which filter affects the ‘entry-title’ post class
- Custom Permalink Plugin and Current Page/Ancestor in Menus
- wp-custom-menu filter removes the current_page_item class
- add_action does not call the function
- Adding CSS to custom post type admin page causes error
- Edit External CSS
- Stop Plugin from Getting Styles from Other Plugin
- Best practice for including plugin output in a template without using shortcode?
- How do I use add_action on custom widget?
- Why Do I get “wp_remote-get: could not handle for fopen()”?
- How to apply next/previous classes to LIs for pagination links?
- Override plugin styles via my custom theme
- How to add CSS via custom plugin?
- Plugin Theme CSS [closed]
- Full list of registered scripts or styles, but from an admin options page
- Overwrite a plugin’s CSS?
- Combining several CSS files into one for optimization
- How to add a dvi tag to a shortcode then change a generated text using jQuery
- how to prevent all css and javascripts files from loading
- Front-end CSS Library for plugin [closed]
- How to get menu location in wp_update_nav_menu hook
- Infinite scroll messing up nth:of-type
- PHP script from functions php is loaded via admin-ajax to div…and the result is 0, not the desired content
- Wooslider custom css
- Basics of changing plugin output
- Minimizing scripts & css files that plugins add
- Making that Admin Bar transparent or a blue color
- How to execute a plugin on a single page only?
- Widget’s container?
- How do I add the same contact form to multiple wordpress sites and capture the response in one place or database?
- How to limit image size for the entire website ? But without editing the post (css/plugin?!)
- Images under 1MB are not being compressed
- Skewed / slanted button within elementor [closed]
- plugin dev – minimum base css specificity?
- Progmatically adding menu links to the default (Top) or Footer menu
- get specific value of a array | PHP
- How to make a dynamic css class whose name changes every visit to confuse scraper
- Moving Jetpack buttons to appear below the first H2 title on all project/post pages [closed]
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- Historical customisations won’t go away [closed]
- $pages = get_pages(‘child_of=’.$post->ID); Why arguments are concatenated?
- Flickering sidebar when scrolling page [closed]
- Is there a way to remove a tooltip of a plugin via custom CSS? [closed]
- Adding a responsive grid onto a page (without using a Bootstrap theme) [closed]
- Changing location of “About me” section
- change or add css to theme from plugin
- Need to revert to an older version of wordpress
- Add logo to admin menu in my plugin
- WordPress Custom Menu Admin helper plugin