What do you mean by “isn’t liking what I’m doing for some reason.”?
What happens? Does it break or just not return the amount you expected? Is the second query working?
As for the trick of stripping shortcodes it’s just as easy as:
<?php echo strip_shortcodes( get_the_content() ); ?>
Related Posts:
- Custom wordpress gallery option
- Gallery Inside One Post
- How do i add class=”fancybox” to the default gallery?
- Modifying the media-template.php file, the right way?
- Responsive Images
- how do i create a downloadable gallery with image descriptions?
- Set default link type to “file” for image galleries
- Images Missing from built in WP Gallery
- How can I remove or change a border/outline on a picture when it is in a gallery page?
- Add size in Gallery Settings in Media Library
- Post photo galleries [closed]
- Media gallery – inserting full size images without link
- Getting the image title/alt attribute from the gallery shortcode
- Can I attach an image to a different post?
- Add a checkbox in Media Upload window
- remove featured image from gallery woocommerce [closed]
- Display all albums in nggallery on a page [closed]
- How to determine if a post has attached images?
- How can I make wp default gallery responsive?
- How to get clean code for a gallery?
- show other images from same gallery
- how do i embed the pdf gallery in wordpress post
- Attach custom gallery to a page
- How To Put Multiple Image Galleries In A Single Post?
- Add new images to top of existing gallery not bottom
- WordPress gallery not sorting the images if I change the order of image ids
- GalleryView binding for WP Gallery, without NextGen
- Gutenberg MediaUpload component with default gallery functionality?
- Large Media Library
- Displaying a combination of Galleries
- Can I nest a element within tags from default wordpress?
- Text lost under image after WordPress 5.0 upgrade
- Strange issue with gallery when displays 3 columns
- Extending Media Gallery – Retrieving values from short code
- Is it possible to setup a gallery in the backend without including it in the content?
- Custom links or pages from Media Gallery
- My “Description” in gallery doesn’t accept formatting/html
- Is it possible to set JJ NextGen JQuery Carousel dynamic ids? [closed]
- How to show private flickr group on a WordPress site?
- Is it possible to import NextGen Galleries into WordPress Galleries and convert embeds in all posts? [closed]
- Gallery Shortcode – only show first x thumbnails
- Image Gallery links to medium image instead of FULL size image
- Gallery backend only
- How to make gallery images responsive?
- How to make universal gallery and improve admin side of managing galleries?
- Where is image gallery information saved?
- Making a [gallery] in a loop with attachment IDs?
- Display number of latest images from wordpress gallery in your homepage
- How can I attach a gallery to a post with a short code?
- How to dynamically insert in the image caption?
- WordPress Gallery not being output correctly/consistently
- Add #content to next_image_link()
- Change default values of Gallery Block settings
- WordPress WebSite is jumps while scrolling bottom [closed]
- Implementing Lightbox Photo Gallery in
- Add image to gallery with slug
- Gallery image caption inside link
- How to retrieve media images urls in different sizes?
- Why do the images only display in original size, not my custom size?
- WP Gallery showing captions twice
- Display Gallery Images from Custom Post Type
- zip download plugin works well in localhost but not on live site
- Image thumbnails slider
- How can we create a wallpapers gallery with different resolution?
- gallery shortcode exclude not working
- Slideshow with thumbnails
- Ipad app: Need uploaded images to go into “Gallery” as well as “Media Library”
- A proper gallery in wordpress?
- Can I create a NextGen gallery from a WordPress gallery
- is there a jcarousel plugin for wordpress that loads dynamic images
- Making the caption & click through link more visible on a gallery photo
- Get caption from unattached images in gallery?
- how do i can make a preview of image gallery
- Extract Gallery picture info from empty gallery shortcode
- Add title tag to image in wordpress gallery
- Page WYSWIG only allowing slides
- Pulling in Column Count in Custom Gallery
- Post gallery loop with thumb and full size
- Gallery attachment not found
- Responsive WordPress Gallery
- How to add more fields to wordpress galleries?
- How to refresh the Gallery images?
- Standard WordPress gallery – Possible to open image in page?
- next_image_link Displaying All Images Attac
- the_content() won’t load galleries on homepage
- How can I make gallery slideshow width fit to picture width?
- Get raw image detail from post gallery?
- How to display images that was uploaded in the media gallery and not by the current post?
- How to show the image caption on custom post type …?
- JavaScript Errors when Loading NextGEN Gallery [closed]
- Single Image Gallery Post [closed]
- Multiple Galleries in WordPress 3.3.1
- Get post image gallery link
- How to create a custom image gallery in the footer?
- Seeking recommendations on Gallery plugins , specifically captioning thumbnails [closed]
- Looking to implement a scrolling gallery in my theme
- Hover/Zoom on Lightbox gallery
- Need help making Gallery slideshow with lightbox work correctly
- How to upload multiple images per single post and display them in a gallery?
- Trouble with WordPress Gallery since update using has_block(‘gallery’