The do_shortcode() syntax requires everything in one string.
<?php
$lockit="[lockercat]" . 'your buttons etc.' . '[/lockercat]';
echo do_shortcode($lockit);
?>
Related Posts:
- options creation for plugins
- Users are being redirected to main site when trying to register on subsite of my Multisite network
- Remove .htaccess portion upon plugin deactivation?
- Slider/text combination plugin
- How to disable a widget when dependent plugin is inactive?
- Two plugins using the_title; one not passing second param.
- How can i force wp-admin to use 2-column dashboard layout? [closed]
- First plugin, problem with get_pages
- eLearning Module
- Are there action hooks for comments?
- Collecting email addresses via a “beta” sign up form
- How to automatically redirect to custom admin menu after plugin activation?
- Readable titles in mobile
- adding Adsense’s In-Article Ads between images of blog post
- Export postmeta (custom fields)
- Customizing a blog page layout
- Sub Plugin deactivation when Parent Plugin deactivate
- Add logo to admin menu in my plugin
- what is the point of telling add_filter how many parameters you want passed to the function?
- I would like to remove date display on photo preview
- Load CSS files in header of Bones theme?
- Trying to get property of non-object wordpress error message
- Developing a WordPress plugin like a component in Joomla
- Advertising: Every page refresh counts as 3 ad impressions
- Google Maps with categories
- Somehow adding to “Insert Into URL” posts are contradicting each other
- Add posts from other WordPress blog to the current one
- Looking for a simple checkout plugin [closed]
- Trying to extend a plugin’s functionality
- WordPress Cache delete on plugin uninstall
- How to create repeater field manually, without plugin (ACF Pro)?
- Should I use the action in the plugin’s main file?
- Woocommerce checkout page broken when set as a checkout in woocommerce settings [closed]
- Jquery POST Ajax Return null data in wordpress
- How to get specific column data conditionally in database in WordPress?
- WpForms email notification displays the shortcode as variable instead of value
- Unknown theme modal source
- inserting custom css, html and js into the current page as a popup window
- How to create a folder in wordpress that will contain pages?
- Ajax Call not Working in Plugin
- Ayuda con este error: Failed to load plugin url: https://degranero.es/wp-content/plugins/easy-columns/tinymce/langs/es.js
- Changing the pointing of assets from old server to new server
- Store GravityForm data in phpmyadmin (mysql)
- How to remove WordPress Default Comment? not Facebook
- Try to debug a plug-in written by someone else
- Call function with button and return response
- Pagination (including title of each page) in a post for a long posts
- Notice: unserialize(): Error at offset 0 of 1 bytes in plugin Accordion on WordPress
- updraft plus migrator problem [duplicate]
- plugin operation launch every time i click on page
- Can I retain custom taxonomy data when uninstalling a third-party plugin that created it?
- Plug-In’s Selection Not Accessible
- After WP installation no GD lib recognition despite module is installed
- Category Arabic Slug shows as symbols in plugin lists
- Create password protected page, no registration
- How can I customize Easy Appointment plugin?
- Import only new articles from Joomla to WordPress
- How to add plugin css and js to iframe
- how to add custom css at top above all css file for specific url
- Related post based on 2 categories
- Facebook Quote Plugin for Blockquote?
- Include post_date in search
- Coming soon pages with rest of site in maintenance mode
- insert multiple entries in database using a loop issue
- WordPress, modular content, and syndication
- Query Shortcode from a multisite to appear on a different site?
- Unable to find PHPUnit code coverage stats
- How to markup wordpress site using Schema.org?
- Merge custom plugins in one folder
- Execute certain function on GET request
- White screen and can’t activate themes and plugins
- date function not correctly returning date
- Password Protected Directory Link Shows Maintenance Mode Page
- How do I increase the 255 character limit on the ‘description’ field for link library links?
- Dynamic price product
- Convert usernames listed by the Groups plugin shortcode to displayed names?
- Displaying custom profile fields using Mingle Plugin
- Undefined variable _POST
- Display Facebook photo albums and photo comments?
- custom registration form [duplicate]
- I want to remove the register/login WordPress top bar from my website
- (Plugin) Icon needed beside the post title [closed]
- To generate Flickr Gallery in my wordpress site which plugin to use [closed]
- WP Super Cache versus W3 Total Cache [closed]
- Detect if you’re in the “Frontend Editor” mode in Visual Composer WordPress [closed]
- Place a widget side by side rather than on top of each other
- How to create a nameplate extension? [closed]
- WP asking for ftp credentials when deleting plugin
- How can I view the responses of contact forms on different sites in one panel or elsewhere? [duplicate]
- Page with redirect
- How to add a simple design in classic editor plugin creating post page through another Wp plugin
- How to fix Fatal error: Cannot redeclare get_cli_args() in class-wp-importer.php
- Is there any performance difference between duplicating composer packages among multiple plugins and not doing it? How can I avoid it?
- Why is my Gutenberg block not saving and rendering the chessboard?
- Is it possible to use Classes between WordPress plugins with separate namespaces?
- Function to consider a plugin activated for selected users only
- unlimited chat rooms/channels/groups
- refresh media library item
- Similar hook to ‘init’ for when plugin page loads
- Elementor wp_register_script showing file when i not use ‘wp_enqueue_script’