You need to run the content through do_shortcode()
– at the moment you’re just echo’ing the raw post content, so nothing gets parsed.
echo do_shortcode( $content->post_content );
However, you might be better off implementing a proper “loop” and using the_content()
template tag – doing so will ensure everything runs “as normal” (firing all the typical hooks and formatting filters), accommodating for any quirks/extra hooks your slider plugin might rely on:
while ( $posts->have_posts() ) {
$posts->the_post();
the_content();
}
wp_reset_postdata(); // Restore the global post to the "current" post
Related Posts:
- How to stick the footer to the bottom of the page? [closed]
- How to remove version and thank you message from the admin footer
- Can i put ‘page’ at the bottom of each page?
- footer.php – twentysixteen child theme – social links menu to output font awesome icons
- How to edit footer
- How do i change the footer?
- Where is the admin bar instantiated?
- Using wp_register_style to load CSS in footer?
- editing footer text in JBST theme
- How to find the right file with inspector? [closed]
- WordPress Footer Missing After Website Hack
- wp_footer hook not working inside a class if not single [closed]
- Identify the page I am viewing
- Removing a link below from footer
- WordPress Site footer on Firefox displays a error
- How to edit footer content
- Changing copyright year in Footer.php with Custom plugin
- footer does not respect css stylesheet
- How to fix the footer to the bottom of the screen
- Delete bullet points in footer menu [closed]
- Getting A Link below footer – Want to remove it. How?
- How can I change this footer.php code to call a random image on reload?
- Editing footer for one page, keeping it the same for others
- Place Footer at bottom of page with short text
- Can’t deregister / dequeue scripts in WordPress
- Code for changing the size of the footer block (background) and font size
- How to add another image on footer.php
- On just 1 (new) page of my site there appears a wordpress footer with copyright 2012 which I want to remove
- Footer not visible
- how to edit part of footer
- How to remove the footer from a theme
- footer display problem
- How I can Delete Footer without using plugin BlankSlate?
- My footer has disappeared but only on my home page
- Footer with next/previous posts
- Move jquery ui to footer
- How do I change the footer (Norma) [closed]
- Re-position footer and force it to drop below blog post excerpts on home page [closed]
- How can I completely edit the footer?
- How to edit the WordPress footer
- How to Keep footer link remain intact?
- Footer Missing in website [closed]
- How to create a video from images with FFmpeg?
- How to make a sticky footer in react?
- Flushing footer to bottom of the page, twitter bootstrap
- How to add code to just before closing body tag
- Slideshow control for use in WordPress Thesis theme – non flash
- Add script to footer – on post editor
- Wp_head and wp_footer vs wp_enqueue_script javascript files?
- Add footer.php to WordPress child theme
- Why and how is twentythirteen adding a margin-top to my footer?
- Change directory where get_header(), get_footer() and get_sidebar() look for templates
- How can a Theme Contain no Header File or Footer File?
- How can I customize wp_footer, where is the code that controls what this function does?
- Adding an image slider in the header of my site
- Execute Hook on the footer or header after activating a plugin
- Enqueue scripts in footer
- How can I change the do_action function in footer (copyright area)
- Getting post meta in the flex slider
- Removing jQuery from footer
- Load CSS in footer, like your can with JS?
- WordPress Image Slider Looping Title Not Working
- Add Different Actions To Different Page’s wp_footer
- Create special WordPress slideshow with “jquery.cycle.all.js”
- how to change image of jquery slider plugin
- Insert nofollow in a “Powered By” link, except in the homepage [closed]
- WordPress 5.1 upgrade has lost the parent theme JavaScript
- Cannot change footer text?
- How to make footer area transparent? Using Avada and WordPress [closed]
- Call Shortcode on wp_footer
- Changing sidebar.php and footer.php depending on URL
- Custom headers in WordPress, are there also custom footers?
- How to add videos on my home page slider?
- How to turn off automatic operation for Nivo Slider?
- Lightbox gallery in a link [closed]
- wp Query Posts to display in Nivo Slider
- enqueue jQuery into the footer
- WordPress slider that allows image, headline, text, and button?
- Slidedeck Pro WordPress Image Size
- How do you remove header sitewide from mobile only?
- How can I make a thumbnail slider
- add another variable to php function
- How is called this thumbnail slider feature
- How to make jquery slider to start afresh [closed]
- How could I change contact details in the footer?
- Add Developer Link on Homepage Only
- How to enqueue an external Javascript file to Frontpage footer
- Links in footer section
- Show Header When Not In Iframe
- Slider height settings
- Display custom gallery in each wordpress post
- WP supersize not displaying when different languages flags are selected
- Want to increase the # of slides in FlexSlider in WooThemes Scrollider
- How can i make like this structure?
- Slider do not add alt attribute. Cant get alt attribute from a media library!
- Content in footer file
- Footer in middle of page in different browers [closed]
- help me about my slide bar
- Twenty fourteen slider navigation doesn’t work
- Can’t edit the widgets sidebar or footer