Don’t use a hyphen in the shortcode name. See https://codex.wordpress.org/Shortcode_API#Hyphens .
Related Posts:
- Shortcode with pagination advancing multiple queries
- Display gallery on top before content
- Display gallery on bottom after content
- Native gallery custom html output
- shorthand syntax for custom fields
- Using One Function To Create Two Different Shortcodes
- Gallery Shortcode Function Help
- the_posts_pagination() function returns missing page numbering on some blog pages
- Shotcode argument issues
- Shortcode parse error – wrong syntax
- Exclude category from shortcode
- wp_nonce_field is breaking form for reasons unknown
- Visual Composer creating own shortcodes with vc_map() to return simple Image
- get_pages() Returns Only One Item
- Function shortcode – Set Parameter
- Adding an option to a shortcode
- Functions Error: Impacting Galleries
- How to use author meta in shortcode?
- Using multiple line variable inside a function?
- Testing for a shortcode using a function. 404 page throwing PHP Notice
- Custom Query Not Paginating
- Use a shortcode to display custom meta box contents
- Echoing function into WordPress NextGen gallery
- Where to call my pagination function?
- Output loop to function return?
- How to echo the value of an array element using a function via a shortcode
- Wp-query Order By problem
- How to parse a shortcode within a shortcode?
- Variables not showing in short code
- Remove ‘page-numbers’ class from prev and next tags
- Woocommerce checkout field
- Modifying the_posts_pagination from within functions.php instead of template files
- How to include any template using Shortcode fuction?
- How can I pass a shortcode value to the head in wordpress functions.php
- Need to convert image url to a Base_64 data url with wordpress function..
- dynamic site link for future migration in echo do_shortcode()
- How to create shortcode with html and php content?
- get_terms (or tax_query) for term of current post?
- Tracking the number of shortcodes for a list?
- Need a method to prevent WP from adding in between my shortcodes
- Load scripts for do_shortcode( ‘ [ my_shortcode ] ‘ )
- Shortcode question
- Can I include a custom PHP function in a WordPress function?
- Shortcode to return single custom post based on post taxonomy
- How to create a shortcode out of a php function
- Shortcode to get featured image of specific id post
- Modify shortcode to work with custom post types
- Shortcode of a function
- Unable to Change “Pages:” Before WP_LINK_PAGES
- Check if a different page has any attached images
- show all the posts thumbnails
- How to add a shortcode to call a function
- How can I call a PHP function inside a hardcoded shortcode?
- Problem with shortcode inside a shortcode
- Need help making a short code work
- Is it possible to create a shortcode to link to a specific post/page where the tag is just an attribute?
- Display a list of random terms from custom taxonomy with shortcode
- Create shortcode for metabox gallery
- Load templates, pass arguments, and render output from functions.php
- How to add if statement on WordPress shortcode output
- Passing function arguments via a shortcode
- Render metabox gallery in frontend
- Pagination not working – FrontPage
- Customizing the wp_video_shortcode output with add_filter
- a SET of wordpress native galleries with title and text?
- Customise the WordPress gallery html layout
- page shows short code not output
- Probleme shortcode with list author
- Function to function shortcode help [closed]
- Last updated posts shortcode in functions.php
- Delete oldest wordpress post (SQL query)
- Selecting specific query for offset
- I want to display the sku in the product pages of my EDD website
- restrict access to specific urls on a specific period of time
- Adding pagination to custom WordPress function
- using enqueue_script in a shortcode isn’t working
- Run function from parent on child site
- Modifying Page-Links format
- Sorting date results from a query
- Add title & subtitle to shortcodes
- Echo custom field value in shortcode function
- Shortcode Variations?
- Shortcodes not outputting in correct divs
- shortcode inside post called by ID does not render as expected
- Custom shortcode not being included in content paragraph [duplicate]
- trouble with passing class method data to outside function
- Get term count on a category page
- How do grab the main loop, with conditions, and output via shortcodes
- Display function from functions.php in tag.php
- Creating mixture of shortcodes to use in the visual/text editor
- PHP error in shortcode [closed]
- WordPress is adding pagination for all pages not only for blog page, How to remove pagination for all pages except blog/posts page?
- multible shortcodes (for differnt values) with one function
- Insert image between X number of posts but on specific paginated pages?
- Adding a css class to the gallery
- Include posts under a custom taxonomy in author.php
- How to cache results of of get_available_post_statuses() function as it is causing a slow query on a website with over 1 million posts?
- post_content return zero!
- How to make my logged-in user-role shortcode displaying name instead of slug?
- Uploading images via ACF update_field function