开发者 |
daveshine
deckerweb wpautobahn toolbarextras |
---|---|
更新时间 | 2019年11月13日 07:38 |
捐献地址: | 去捐款 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 5.3 |
版权: | GPL-2.0-or-later |
版权网址: | 版权信息 |
span
, p
, div
, h
, or any other appropriate HTML5 element, like article
, section
, whatever)[bse-copyright]
does exactly that.\
2️⃣ Second example: You want to put a "Last updated" date under each single post or page - use our Shortcode [bse-post-modified-date]
, set your custom date format, set a custom label and place it into a (footer) widget. Done.\
3️⃣ Third example: You are using Elementor free, not Pro, and want to display one of your templates via a Shortcode? Now you can! (with our Shortcode [bse-elementor-template]
)
4️⃣ Fourth example: You want to display a Reusable Block via a Shortcode? Now you can! (with our Shortcode [bse-wpblock]
)
🍰 Available Shortcodes:
[bse-version]
-- attributes: wrapper, class, before, after, type, plugin, custom[bse-copyright]
-- attributes: wrapper, class, before, after, copyright, first[bse-site-updated]
-- attributes: wrapper, class, before, after, type, label_date, date_format, label_time, time_format, tooltip[bse-site-title]
-- attributes: wrapper, class, before, after[bse-site-slogan]
-- attributes: wrapper, class, before, after[bse-home-link]
-- attributes: wrapper, class, before, after, text, target, rel[bse-loginout]
-- attributes: wrapper, class, before, after, login_text, logout_text, login_target, logout_target, login_redirect, logout_redirect[bse-user]
-- attributes: wrapper, class, before, after, user_id, field, default[bse-post-count]
-- attributes: wrapper, class, before, after, post_type, status[bse-post-date]
-- attributes: wrapper, class, before, after, post_id, format, label, relative_depth[bse-post-time]
-- attributes: wrapper, class, before, after, post_id, format, label[bse-post-modified-date]
/ [bse-item-last-updated]
-- attributes: wrapper, class, before, after, post_id, format, label, relative_depth[bse-post-modified-time]
-- attributes: wrapper, class, before, after, post_id, format, label[bse-post-author]
-- attributes: wrapper, class, before, after[bse-post-author-link]
-- attributes: wrapper, class, before, after, target, rel[bse-post-author-posts-link]
-- attributes: wrapper, class, before, after, target, rel[bse-post-tags]
-- attributes: wrapper, class, before, after, sep[bse-post-categories]
-- attributes: wrapper, class, before, after, sep[bse-post-terms]
-- attributes: wrapper, class, before, after, sep, taxonomy[bse-post-edit]
(Post Edit Link) -- attributes: wrapper, class, before, after, label[bse-post-link]
-- attributes: wrapper, class, before, after, id, slug, post_type, privacy, text, target, rel[bse-item-content]
-- attributes: id, css[bse-nav-menu]
-- attributes: wrapper, class, before, after, menu, container, container_class, container_id, menu_class, menu_id, fallback_cb, item_before, item_after, link_before, link_after, depth, walker, theme_location, items_wrap, item_spacing[bse-comment-form]
-- attributes: wrapper, class, before, after, post_id, id_form, class_form, title_reply, title_reply_to, cancel_reply_link, label_submit[bse-wpblock]
-- attributes: id[bse-elementor-template]
-- attributes: id, css[bse-astra-layout]
-- attributes: id[bse-genesis-footer]
-- attributes: wrapper, class[bse-genesis-breadcrumbs]
-- attributes: wrapper, classtoolbar extras
in the plugin installer ;-)en_US
= default, always includedde_DE
- always includedde_DE_formal
- always included.pot
file (builder-shortcode-extras.pot
) for translators is always included in the plugin's 'languages' folder :)builder shortcode extras
), or extract the ZIP file and drop the contents in the wp-content/plugins/
directory of your WordPress installation.The plugin itself loads NO styles or scripts for the Shortcodes! It only adds very minimal markup by default (HTML span tag), with one specific class for the Shortcode. It's completely up to you to style these default classes (if you want) or add your own. -- In most cases the Shortcodes put out only simple strings - so, when used within regular text paragraphs you won't see any difference compared to the text around. But, if you need some special styling you can always add it and tweak your styles.
It can display any Reusable Block from WordPress Core Reusable Blocks (post type: wp_block
) via a Shortcode. Just copy the Shortcode for a certain Reusable Block from the post type list table - look for the "Blocks" left-hand admin menu. This will make the Reusable Blocks way more useful and you can use them everyhwere - without coding!
It can display any Astra Custom Layout via a Shortcode. Just copy the Shortcode for a certain Astra Custom Layout from the post type list table - look for the "Custom Layouts" under the left-hand "Appearance" admin menu. This will make those Custom Layouts even more useful and you can use them everyhwere - without coding! This Shortcode feature comes in handy especially for "Hook" type Shortcodes: you don't need to specify a Hook if used via Shortcode. This makes the Astra Custom Layouts more independent from Hooks and gives you even more possibilities.
It displays the a template from Elementor "Saved Templates" (former "My Templates") library via a Shortcode. It is the same thing Elementor Pro does - but our plugin brings this feature to Elementor free version. This will make Elementor free version way more useful as this brings so many new possibilities to work with Templates!
Genesis Footer Shortcode - It takes the whole content block of your Genesis Footer settings from the Customizer - since Genesis 3.1.0 or higher - and displays it wherever you want. That way it becomes totally easy to customize your footer info text even if you want to show it somewhere else than the default location. It is easier than to use hooks or code for that. Genesis Breadcrumbs Shortcode - It takes the whole content block of Breadcrumbs for a current item/view and displays it wherever you want via Shortcode. This could be useful in some situations. It can make you a bit more independent from hooks and coding work. Please note: At the time being it is not possible to tweak the Breadcrumb arguments via the Shortcode!
Yes, of course! Everywhere a Shortcode is working in your Page Builder, our plugin's Shortcodes will also work. For more info on that you might also have a look in the documentation of your favorite Page Builder or similar plugin about Shortcode support for that tool.
Yes, of course! - The plugin is fully compatible with Gutenberg Block Editor: you can use Shortcodes almost everywhere within the Block Editor, not just in the so-called "Shortcode" block but also in Paragraph, List, Heading, whereever you can enter regular text, most likely Shortcodes will also be rendered. And, for our type of Shortcodes this makes total sense, for example to display a "last updated date", a post counter, a version number, some user info field, whatever. Just try it out.
Yes, this plugin works with the Classic Editor plugin perfectly fine. By default the plugin is also fully compatible with ClassicPress. I will try my best to also have my plugin work perfectly in ClassicPress, the fork of WordPress without Gutenberg. It should already be fully compatible but I will follow all events closely to adjust compat if needed.
Absolutely not. Since the plugin is NOT loading any scripts or styles all is really lightweight. A no brainer to install and use.
Yes, it works fine in Multisite, you could even activate it Network-wide. You can use the Shortcodes in each sub site like you would in a regular (single) install.
Only if it makes sense, like the current Elementor Template Shortcode for example. Remember: we don't want to load any scripts or styles. So, if a potential Shortcode fits our philosophy and could be totally useful, then the chance of adding it to this plugin gets very high! ;-) If you have any suggestion for such a Shortcode, please feel free to open a new GitHub Issue in our development repository and tell us all about it. Thanks in advance!
/wp-content/languages/builder-shortcode-extras/
(just create this folder) - This enables you to use fully custom translations that won't be overridden on plugin updates. Also, complete custom English wording is possible with that as well, just use a language file like builder-shortcode-extras-en_US.mo/.po
to achieve that (for creating one see the following tools).