Problem 1
It doesn’t work because you’re using new_weber
but you’re registering news_burner
, and they aren’t the same
So instead use:
[news_burner]
You only need a closing shortcode if it’s containing content which that plugin does not.
Problem 2
Shortcodes don’t work in text widgets out of the box, you can add that functionality via a plugin though, see this question/answer:
Shortcode in Text Widget not working
This is why it works with do_shortcode
but not in widgets. It’ll also work in post content
Related Posts:
- Shortcode display outside the div
- creating html reusable blocks via shortcodes
- Redirect to another page using contact form 7? [closed]
- Shortcode Attributes to Return different $_POST
- My widget won’t update its values when save is clicked
- Shortcode cannot parse attributes within double quotes. ” is becoming ” breaking my shortcode
- How to get next day date of a specific day
- Scope for PHP Variables Assigned in functions.php or a plugin
- Ajax gives 400 error
- The Point of Using apply_filters()
- How to get variables from fucntion.php to my plugin files
- How to include code into functions.php file via a plugin
- Avoiding Duplicate function names in Post Loop (WP_Footer script)
- May i Use ShortCode in Template?
- Missing argument 3 for wp_register_sidebar_widget()
- Demystifying and understanding shortcode nomenclature
- How to add class in plugin only for network site?
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- Any Short code Availble for Get Post List With Thumbnail Plugin?
- plugin development: problem with functions
- Where to call add_shortcode function in WordPress Plugin Boilerplate?
- Prevent shortcode from being wrapped in tags
- Input with spaces in Shortcode attributes overwritten by defaults
- wordpress plugin is not activating from widget
- Allow users of my plugin to define their own shortcode rather than use mine?
- Archive – same title for the first two posts
- Edit Yoast SEO breadcrumbs output [closed]
- Adding Shortcode to Text Widget
- Snippets: is it better to add them in functions.php or make site-specific plugins?
- Custom random quote widget breaks when used in multiple sidebars
- Display post lists in 2nd paragraph
- Using a post-signup hook to get user details
- Ajax contact form widget plugin data not insert in database
- Making a Template for a CPT created by a plugin
- Single API call exposed via shortcode with params
- Nested shortcode functions accessing variable
- Calling an attribute from a plugin shortcode
- Conditional attributes and logic per product category
- Creating shortcodes in plugin
- How to create a custom shortcode based on the layout?
- WordPress Widget – Saving multidimensional arrays into $instance
- WordPress get_avatar function not correct working
- Which file of wordpress manage plugins functionalities?
- Inject HTML meta tag inside wordpress tag using add_shortcode
- Difference and examples of esc_attr__() and esc_attr_e()
- Create shortcode to echo javascript
- What is @Action in WordPress?
- List the authors that have written posts in a category
- Namespaced shortcode?
- Check if variable is set in filter
- execute function after one completed
- How can I run a custom shortcode function on a live site and only run if the viewer is a specific machine?
- Why am I unable to load scripts in head in plugin?
- WordPress checkbox and Illegal string offset
- How to add a dvi tag to a shortcode then change a generated text using jQuery
- Add Shortcode tag in Widget/Sidebar
- plugins_url() works everywhere but wp_reqister_script()
- Widget’s container?
- Return multiple values in a shortcode attribute
- IF condition based on wp_remote_get output
- Plugin onclick button activate other plugin
- How to use template inside plugin shortcode with variables for big HTML code
- All custom widgets are not showing in widget area at the same time
- How to access OOP plugin function inside themes or other plugin
- Add the_post_thumbnail_url to a shortcode in function.php
- WordPress Widget Not Saving Instance
- How to rewrite URL and get the values?
- How to set the default value as the saved value once a form of widget is saved?
- Different registration form for different roles
- How can i listing current category and Featured Category post list?
- How can i list random author?
- Adding a Tag Parameter / Filter to My Shortcode
- More gentle way to hook WordPress custom url
- How to add custom function to pluggable.php
- grab or load text on demand
- How to add captcha to publish widget
- auto activate plugin when theme is active
- Elementor Pro display featured image on section -> style -> image using shortcode
- Creating New Dynamic Fields for a Certificate (Number Generation, Code Referencing, and more)
- Table of contents (TOC) plugin is not showing header tag
- Checkbox show / hide output result
- How to keep plugin (media-sync) running even the tab is closed?
- Where do I put the code snippets I found here or somewhere else on the web?
- Widgets are not displaying in the admin panel
- How to upload large media file in chunks, without any plugin?
- How to get current cart values using WC_Shortcodes?
- Error using wordpress functions inside a plugin class
- Allow a particular user to access a particular plugin?
- Can I add Short Code Of A Plugin In The Code Editor of WordPress?
- Thumbnail image doesn’t show up in Shortcode output
- list of custom post by custom field in frontend
- How to copy the all WordPress media items to another custom plugin folder?
- Cookie value changes back to previous value after changing
- RSS Feed on WordPress showing code (hypertext) in articles titles
- Is there any way to sync Facebook Comments and with comments on WordPress website?
- Fatal error “Call to undefined function is_plugin_active” each time the plugin is activated
- Shortcode do not return the right data in post
- function post to trash problem
- How to call function in WordPress on button click?
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?