You need to apply the do_shortcode to the content itself. Example below:
function test_func( $atts, $content ) {
extract( shortcode_atts( array(
'foo' => 'no foo',
'baz' => 'default baz'
), $atts ) );
return "<div class="test">".do_shortcode($content)."</div>';
}
add_shortcode( 'test', 'test_func' );
So in other words you need to care about the shortcode that print the posts, no the vine one.
Related Posts:
- Split Content and Gallery
- How to return loop contents
- How do I get the attributes of a short code from a post?
- Return vs Echo Shortcode
- as a shortcode within the loop?
- Adding shortcode closing tag after a loop
- What are the disadvantages of using global variable?
- Displaying terms based on loop posts?
- Missing image in gallery shortcode in custom feed
- Shortcode with a foreach and arguments
- Output loop leveraged shortcode twice on one page
- Custom Loop Using Shortcode in Custom Page Template
- Shortcode in posts called by ajax is not working
- Trying to get property of non-object in shortocde
- WordPress shortcode in content, output in sidebar?
- Query posts only with actual text content (not including shortcode or images)
- How to put a block of code between [shortcode][/shortcode] in do_shortcode()?
- How can I pass additional params to a shortcode while in a loop?
- Get a Post Loop based on Logged in User information into a Shortcode
- How to add pagination in Terms
- Split Content and Gallery
- Shortcode for pulling specific Post Title outside loop when ID is passed in
- Have multiple loops on a page appear after/between page content
- How wp maps urls into files
- Get excerpt using get_the_excerpt outside a loop
- how to upload image using wp_handle_upload
- Avoiding using a loop to access a single post
- Adding ‘current_post_item’ class to current post in the loop
- WordPress Alphabetical Glossary close div in loop
- Landing Page – Redirect Loop?
- How to make multiple Column in archive Page?
- Sort Popular Posts by Views for the Last Week
- category__not_in — anyway to use category name instead of id?
- Filtering posts by multiple taxonomies
- Is it possible to display previous post revision?
- Gist shortcode is not working
- How to retrieve current page WP_Query arguments?
- Help with Changing loop.php?
- Get Pagination (WP-PageNavi) not to work
- Filtering The Loop For Single Page and Blog Page
- Removing the_content() from the page
- Change front-page layout after x amount of posts ( while in the same loop)
- How can i use the same template file with a widget and category loop?
- Filter the loop by categories using checkbox form
- Duplicated posts on category page
- WordPress loop: exclude if it is the latest post
- angularjs not displaying all posts
- query_posts() vs get_posts() multiple loops [duplicate]
- Page-loop is looping content from custom loops on the same site. How to avoid that?
- Split wordpress loop to multiple layouts
- How do I make a variable available inside partials?
- WordPress: Loop Help
- Update status of all posts in a category
- is_active-sidebar loop
- Unable to change the “Read more” text inside the_excerpt
- Display Post Author Link above the loop
- Enabling users to control custom loop’s query
- Conditional: IF current user has NOT commented on current post (not including post author)
- Loop counter style
- Change post order by meta key, per post basis
- Loop Problem: Displays same set of post for all categories
- Shortcode leaves no space for other elements?
- display post format text in loop
- How do i find and restore a sidebar that i accidentally deleted? [closed]
- Posts not showing
- Get post content from outside the loop with plugin shortcode usability
- Use BuddyPress data in loop (mkdir)
- Wrap every four posts within a div [duplicate]
- Get most recent post for every term in a given taxonomy type
- using update_user_meta to rank users
- Can’t grab author info outside of the loop
- Open Graph in Index Loop
- How to tell if all posts are only in one category?
- How to get post category and author name for cusmot API?
- How do I set the Stewart Search Template to return only published posts in the result
- How to add Default Level-0 parent and Level-1 class in WordPress Category in li element?
- WordPress posts in the loop not stacking side by side
- How to output values from a loop into a javascript array
- Include only one category but Exclude if is in a category from loop
- Create an archive page(loop) for edd products (music files) with an audio player?
- Do embed shortcode on wordpress ajax request
- WordPress Pages in an Array
- the_content() keeps repeating itself
- Show different Google Map markers for different post_meta values
- numberposts not responding to wp_reset_postdata()
- Foundation modal in wordpress php loop
- My loop of random posts drags in comments of said random post
- Why my title change the last post title in my loop?
- Get child taxonomies in loop
- Building theme so user can change header image [closed]
- display only parent replies count in index.php
- using the loop on a page
- Tag custom loop show posts
- While loop inside another while loop
- get_page() unlike Loop returns the post content without html tags. How can I fix this?
- Fix html inside a for loop [closed]
- Display all posts in a page code for template
- Creating mixture of shortcodes to use in the visual/text editor
- Insert multiple custom components after x-number of posts
- Hook in the loop after the first post