If I’m reading this right, both queries are identical so just copy the one to a new variable:
$book = new WP_Query( $args );
// ...
$book_2 = $book;
Or create them at the same time:
$book = $book_2 = new WP_Query( $args );
Related Posts:
- Mark error in form using Bootstrap
- Placeholder Color Change in Bootstrap
- Using glyphicon-facebook from bootstrap 3
- How to add text over the image in bootstrap
- bootstrap modal not working at all
- how to install bootstrap to twentyfourteen theme
- Two column layout using Bootstrap [closed]
- Using/compiling Foundation SASS on live WordPress server
- WordPress \ Bootstrap 4 not building breadcrumbs correctly
- NavWalker Bootstrap Error (won’t dropdown)
- Iframes inside bootstrap tab disappear when tab is shown
- Why is my Bootstrap 5 navbar not displaying the drop down menu on smaller screens?
- bootstrap 4 carousel inside every post of a page [closed]
- Each Slide Has Something Missing In Carousel
- Installing Bootstrap on Twentyeleven Theme
- Enque a stylesheet in functions.php to override Bootstrap
- boostrap on wp-admin backend via plugin installation
- Editor inserting bootstrap css and we don’t know why
- Modify YouTube Embed Code to fit theme
- Bootsrap.css Not Working [closed]
- WordPress keeps showing mobile version on Internet Explorer
- Problems with Bootstrap 3 Carousel Integration
- Use of Bootstrap nav in a page
- Display WP Meta Details in Bootstrap Modal
- bootstrap carousel in wordpress home page showing small images and not responsive
- Why items could not be enclosed within items in WordPress?
- WordPress Loop with different Column sizes
- creating different style CTA button in the menu
- Bootstrap code acting weird on wordpress
- How To Get WordPress To Pickup Boostrap’s CSS File?
- Connecting Stylesheet in WordPress using less styles
- Learning Html and a new on wordpress designing and developing
- Bootstrap Nav menu won’t toggle collapse when in mobile viewport size
- Link permalink in Twitter Bootstrap “TypeAhead” results
- Bootstrap 4 Theme Post Layout
- Bootstrap and Respond.js
- How to display a list of authors in bootstrap grid?
- Twentyseventeen theme and Bootstrap are seemingly incompatible [closed]
- do_shortcode for twitter doesn’t work well
- Enueue script for bootstrap
- how To Use wp_link_pages With bootstrap 4 for WordPress
- Vertical Align Center in Bootstrap
- How does the data-toggle attribute work? (What’s its API?)
- Adding images to a Bootstrap Carousel with AJAX
- Bootstrap 4, How do I center-align a button?
- Changing the width of Bootstrap popover
- Bootstrap throws Uncaught Error: Bootstrap’s JavaScript requires jQuery
- how to center form using bootstrap 4
- What are these attributes: `aria-labelledby` and `aria-hidden`
- twitter bootstrap autocomplete dropdown / combobox with Knockoutjs
- Bootstrap 3 Glyphicons CDN
- In a bootstrap responsive page how to center a div
- Twitter Bootstrap Modal Form Submit
- Excess White Space Above Admin Bar on Frontend Using Twitter Bootstrap
- How do I add the data-toggle=”modal” data-target=”#myModal” attribures to a WP Nav bar?
- Text symbols in the navigation menu
- Adding class to featured image
- Enqueue Child CSS to Load After Bootstrap CDN
- custom shortcode will not display the wrapped content
- Make menu bootstrap compatible
- Main Menu and Sub Menu Items for Footer
- Shortcode for Twitter Bootstrap Collapse
- How to add class to and childs of sidebar widget – WordPress
- How do I get row padding in a post feed?
- How to have two menus using Bootstrap nav walker?
- WP_bootstrap_Navwalker_issue [closed]
- How to Output which matched meta_keys were found from custom_type_posts?
- Add class to group inner container
- Loading Bootstrap with wp_enqueue_style and wp_enqueue_script
- Customizing the Widget content markup
- My website is not showing Footer section
- How to remove the gap on right side of webpage (using Bootstrap with WordPress)?
- How to style bootstrap container in wordpress theme?
- Handling repeater data
- All of my custom Bootstrap styles are not working in my child theme!
- Adding Bootstrap to WordPress TwentySixteen Theme
- Full width featured thumbnail
- Shortcode arguments to another shortcode
- Is there a way to multiply archive loop results sequentially?
- Why in this WordPress theme I can’t see the Main Menu?
- Search AJAX Filters – Multiple Query Loops Into One Loop (Optimization)
- porto theme pagination on woocommerce not working
- WordPress and Modal Popup – how to make the already loaded javascript assets available in modal?
- Make bootstrap 5.0 carousel dynamic using ACF and CPT UI [closed]
- WordPress does not load jQuery
- Is it possible to display the Navigation Menu without using Walker_Nav Class
- Navbar is hidden behind carousel when using wp-boostrap-navwalker
- From php web to wordpress conversion, href changes only in URL
- making a search.php query
- Add row after three columns
- Glyphicons Dont Show in WordPress Plugin Only
- add bootstrap modal after login in wordpress
- How to display thumbnail if post is assigned one otherwise not
- How to add a class name to the ancestor of a post?
- How to echo a different field if another field is empty?
- Bootstrap navbar-fixed-top issues [closed]
- Need to call this php function inside a modal window from text widget
- nav tag wrapping around dropdown
- Best Practice Jumbotron Image for WordPress ~ Responsive
- How to make a page extend full screen [closed]