If the plugin has shortcodes, then you can use the function do_shortcode
to display it within a theme file.
It’d be a case of:
<div class="align-center"><?php do_shortcode( "[audio-player title="Lorem Ipsum"]" ); ?></div>
Related Posts:
- do_shortcode() doesn’t work if shortcode contained in variable, works if shortcode passed as string
- Plugin shortcode won’t work on a custom template file [closed]
- Where to find the code used to render a page that has a shortcode and a template defined?
- How to use template inside plugin shortcode with variables for big HTML code
- how to display a template.php in a shortcode
- How to check if short code is present in template?
- How to add HTML to a template only when user is logged out/ not registered
- WP Customer Reviews call short code on another page [closed]
- How to add a shortcode button to the TinyMCE editor?
- how to include other plugins css files in a shortcode?
- What characters are allowed as a shortcode tag and how should they be sanitized?
- Creating a default Custom Post Template that a Theme can override
- Autogenerate wordpress shortcodes using array?
- Enqueue style inside shortcode but its loaded at the bottom of page (before footer scripts)
- How can I add a custom header to a custom template in a plugin without using the theme folders
- Shortcode under a Shortcode Multiple times Possible?
- Custom url structure for custom template
- Developer plugin to echo template names/filepaths [closed]
- wp_specialchars and wp_specialchars_decode in a shortcode plugin
- Only execute jQuery function(on document ready) on the page has shortcode from plugin [duplicate]
- echo do_shortcode is not working on theme’s template
- Override comments.php template with plugin
- Built in audio player?
- Shortcode to generate and save password in a file
- Overriding Attributes values in Shortcode Plugins
- Woocommerce email template customization [closed]
- Demystifying and understanding shortcode nomenclature
- How to modify shortcode attributes with data from current post
- Confused about shortcode and settings values
- Running jquery script after shortcode [closed]
- Any Short code Availble for Get Post List With Thumbnail Plugin?
- Can we use a webservice with WordPress?
- Where to call add_shortcode function in WordPress Plugin Boilerplate?
- Plugin echos text from shortcode function in gutenberg page editor
- Register Page Template from Plugin
- Adding Shortcode to Text Widget
- wordpress prevent multiple shortcodes
- (FES EDD) New vendor submission page is blank
- Best place for short bio,image and button [closed]
- Use of Templates in a Plugin
- get_post_title is not working on homepage
- How to create a custom shortcode based on the layout?
- How do I apply style to each category of a list?
- Template filter for custom taxonomy terms
- how to force tag page layout to use same as search layout?
- Calling the_excerpt from inside a plugin template file
- Anyway to convert a plugin to become a shortcode?
- Displayed content disappears when adding attributes to shortcode
- How do I pass custom shortcode-extracted variables (taxonomy) into a query function for WordPress RoyalSlider?
- Flipping Book PHP Code? Any experience?
- WordPress as template engine
- Opening a JQuery modal window on click of a button with a JQuery plugin
- download button for audio file in post [closed]
- shortcode – multiple instances of same parameter name in one shortcode instance
- Function call in wordpress short code handler fails
- strange shortcode error: does shortcodes requires any dependency?
- wp_localize_script not passing the data
- Get post content from outside the loop with plugin shortcode usability
- Custom form not showing in correct place on page
- How do I show content from a plugin using the template the site is currently working with?
- Is there any way to inject text onto pages?
- Create Short code dynamically
- Get variable value based on string constant
- How can I replace content on site generated from plugin without changing plugin
- Error Using Audio plugin
- use EDD Content Restriction for restricting php in template
- How can I disable an attribute from a Gutenberg block included in a template via InnerBlocks?
- WordPress load same script two times
- How to turn my WordPress site into a ready to deploy template?
- the_posts_pagination() not working if I add wp_head() to header.php
- Get a value from a shortcode for another function
- Shortcode do not return the right data in post
- How to call function in WordPress on button click?
- Why does my custom plugin only function correctly once per page?
- Hide content for specific users with id
- using WPPB shortcodes without the plugin
- save short-code in my custom plugin settings problem missed something
- How to pass multiple custom fields as shortcode’s parameters
- Do_shortcode before send email content
- Get shortcode attribute for AJAX call
- How to use a shortcode of a plugin in another plugin php file
- Bootstrap carousel – Using shortcode inside enclosing shortcode
- How to store multiple instances of the plugin’s options for various shortcodes
- Modify Plugin shortcode function code
- Meta box or shortcode help
- Call/Run a Mathematica (.m) Shell Script from WordPress Page/Blog
- Allow user to input shortcode into wordpress widget
- How to use shortcode of any plugin to show it visually where i want?
- How to Set Limit with WordPress Get Bookmarks Shortcode
- Need to change contact email depending where user is from
- Pulling RSS from site and display it in posts
- Shortcode return is printing a 1 afterward
- How to use ‘Event Manager Shortcodes’ plugin via the php code? [closed]
- WordPress shortcode plugin not working
- Shortcode returning specific content of a post
- How to display content depending on the Woocommerce Product Category
- Need help with wordpress audio preload
- How can I get the permalink of a page on which shortcode has been used
- How to make a Template page to show the information of different things Shop and Product page?
- Cannot register a block in my Twig-based theme using Timber for WP