Have you tried
echo do_shortcode('[your_shortcode attribute1="value" attribute2="another"]');
this should fire the shortcode function in PHP
Related Posts:
- Specific loop in Shortcode
- Shortcode for Comments and Comment Boxes in Post Loop
- Post gallery as carousel
- Shortcode in loop always display data of first post on the page
- Loop don’t work within single.php page
- Use Click Image to Play Youtube Video in a WordPress Loop
- older blog posts not showing in new theme
- How to get posts published on the latest date?
- The_excerpt() doesn’t parse – how to change that?
- Trying to edit archive.php to only show post extract, with featured image
- Add Blog to WP homepage Manually
- How can I remove the first two words and shorten get_the_title()
- How to only publish posts with image in it
- How to show all posts by author on buddypress profile with navigation
- Page and post loop same template
- WordPress Query Posts From Category Post on Static Page
- ACF to select posts not displaying on blog page
- Add custom text automatically on each post
- Getting blog pagination to work on page set as front page
- Extracting relevant tags associated with that particular single post only
- Shortcode with ‘year’ parameter
- Make loop inside slider divisible [closed]
- How to add automatically bootstrap 4 order-lg-1 and order-lg-2 classes for columns in foreach loop based on the count?
- Why this function doesn’t works without the_post?
- How come a YouTube link isn’t transformed into a shortcode inside the post content?
- Is it possible to add a shortcode below post title?
- Display current post position in Elementor Posts widget
- WordPress 302 Redirect to Random Product/Post/Page
- Loop through posts? Want to remove extra newlines in actual post HTML/content on backend
- WP_Query: Show 10 posts in date order, first three random
- How include css class based on post ( in loop ) slug?
- WordPress Loop: How to display recent posts in multiple divs
- Querying another post category to match current post and display in loop
- How to display posts on custom page without declaring a posts page in reading settings?
- Show posts by quarter
- separate the post of a category by subcategory
- How to display post list in a table layout (multiple queries in single loop)
- Cannot implement byline into posts container in single.php
- Not all posts showing in query
- how to handle the loop using filling bootstrap grid structure?
- Optimizing the blog loop
- How to check if there are posts with the same tag
- How to convert query sql to shortcode in wordpress?
- How can I add 2 buttons with shortcode
- Why aren’t paragraphs breaking on this page?
- WordPress loop not working on static front page
- Accessing Post ID Within Loop
- Some doubts about how the loop work (trying debugging it)
- Custom WP_Query not working correctly
- Different number of posts per row in grid layout
- Optimize CPT-function with a loop
- Display specific posts on home page
- HTML Inside of Shortcode Breaks Shortcode Output
- The loop starting at a certain ID
- linking to post outside the loop
- WP_Query of Category Not Showing First Post
- If custom field is empty, use one from a previous post
- Cant’ Grab WordPress Built-in Posts Through Loop
- How come this loop is not working? [closed]
- Loop not showing first post
- Get post category as a separate string and url
- Limiting the amount of posts retrieved by the loop
- Display 3 posts with different HTML markup using a loop
- Pagination for normal (standard) posts on a page with a custom loop?
- How to get the next and previous image title from attachment or gallery?
- Changing wp_link_pages() to “Next Page” and “Previous Page” buttons?
- I can’t find the relevant part of the loop in my theme file. How do I find the full content with “More…”
- posts going to 2 pages/categories only show up in 1
- How to repeat a loop after 4 posts [duplicate]
- Shortcode for tables which can include comma and linebreaks
- WordPress as CMS: How to manage/handle images assigned to a post as full-sized background images in a slideshow?
- Custom Post Type Single Loop Outputting Wrong Post
- Using the loop to set locations for all posts on a single google map
- How to separate each individual blog post?
- post/page content
- Defining ‘last’ class on foreach blog posts
- Get current taxonomy and display query accordingly
- How to show full post on home page
- Error while excluding a post from another loop (using its ID)
- Is there a way to define the $post var outside the loop?
- ACF flexible content block not showing on live site (works locally)
- Only the most recent post is showing on my category page (working on localhost, not live site)
- Want to change the post every three days with in specific category
- Separate top level categories on archive-product.php by meta
- How can i showcase all my galleries?
- Rewrite image links from attachment id to attachment link
- While loop in functions.php outputting the_title() of each post on frontpage
- Change published date and time using SQL query for page in every 5 hour
- What parameters do I need to pass to get_tags to get ALL tags for the site, when used in a post
- get category in list of posts // shortcode for custom related posts
- shortcode // get posts by ids
- Display “no post” message
- How can I create a shortcode to show the number of posts of actual day?
- Permalink Short code showing unnecessary link text inside the loop
- Featured Story Shortcode not outputting content
- Function is printing twice – any suggestions?
- How to pull sticky post permalink inside php?
- Contact Form 7 Shortcode not recognized inside another shortcode
- Display image gallery if more than 1 image
- Display Post from Custom Post Type with Shortcode