This made it work. Thanks Milo for link
<?php
$args = array(
'posts_per_page' => 12,
'post_type' => 'post',
'paged' => get_query_var( 'paged' ),
'cat' => '106,93,138,136,86,23,103,83,84,92,78,137'
);
$query = new WP_Query($args);
?>
Related Posts:
- Consuming an external API in WordPress?
- How to Include a Loop Template File in a Plugin
- WP Post Template – Templates in own folder
- Perform internal redirect in WordPress?
- Change Jobs for WordPress templates
- How to echo a plugin’s function into a template?
- How to make a Template page to show the information of different things Shop and Product page?
- Should all plugins be encapsulated in a Class?
- Preserve custom URL parameter on more pages
- PHP code on Visual Composer Plugin
- if plugin is active? check if plugin is enabled or not?
- Displaying a WooCommerce product via PHP
- Making plugin unique to not conflict with plugins with the same name
- How to find out if option exists but is empty?
- How to store ACF custom fields data in a custom table
- Trying to disable plugins doens’t work
- Thumb rating for wordpress – top user
- Template plugin for blog posts? [closed]
- Have Plugin Handle Specific URLs
- How do I make a wordpress plugin with menu item etc
- Setting up widgets in wordpress with a unique ID for the after_title argument
- allow arabic letters when register new account
- taxonomy_template filter do not loads custom taxonomy template properly
- How do you remove plugin edit option?
- Make specific products accessible only to a user role in WooCommerce
- Where should I save an API key of my user when installing my plugin?
- Accessing post’s meta data based on user’s click of a post
- Custom form action to handle data inside a plugin
- How to add equivalent of php include to one page (as plugin?)
- Image upload and download from front-end
- Shrink down register_settings on Settings API
- Parse error: syntax error, unexpected ‘new’ (T_NEW) in /misc/41/000/204/381/9/user/web/ragami.net/wp-settings.php on line 219
- How to call WordPress function other files
- Removing an action from wp_footer called in a class that’s inside a bigger class
- Ajax call returning 0
- Some code in shortcode function being ignored
- Using window.onload with Ubermenu
- What is @Action in WordPress?
- PHP Error When a plugin is active
- Inserting custom PHP script on homepage
- Add bcc to contact from on wordpress
- Getting taxonomy images to display on single-post with their terms
- Default taxonomy template in plugin, override in theme
- Custom shortcode for displaying user based on a role parameter
- wp_enqueue_scripts
- WordPress Console Application (ability to excecute a custom function via crontab only)
- Get all the URLs of the pages that uses a specific shortcode
- Wp Debug Enabled True Notices and Warning
- “Allowed memory size” problem [closed]
- Echo out element to another page.
- Wp-minify doesn’t seem to minify my JS code
- eaccelerator PHP error
- Looking for a good way to include php code in posts, but using special include markup rather than direct php code
- Strange admin-ajax / CSS / $_SESSION issue
- How to create admin setting for this small plugin
- Enqueue css to a third-party plugin template
- Show prices with tax Inclusive in Minicart widget
- Custom fields not showing up in the user info (PaidMembershipsPro)
- Post source link plugin – small modification
- Remove a div class with condition
- Problem with checked box on wp car manager plugin
- issue concerning ob_end_flush functions.php
- In a plugin, How to update a json file using ajax
- How to use WordPress header function and footer function and not load word press database
- Hooking into the HTML header container
- PHP Error message Upload images to remote server
- No route was found matching the URL and request method
- Block plugin update possibilities (but not by hiding notifications)
- WP_get_image_editor resizing images in a foreach loop
- How to access Post Archive created by Elementor?
- my hook or my function wont run in the cronjob
- Accessing download link from the loop with WP Download Manager Pro
- CMB2 Output Select Box Chosen Option
- Move plugin upload folder from mywebsite.com/wp-content/uploads/pdfuploads to mywebsite.com/pdfs?
- Woocommerce list variations that are added already to cart in Single Product
- Conditional Fields depending on checkboxes
- Soflyy WP All Import Custom File Download Issue
- WordPress Admin sub-level menu issue
- Passing ajax variable to more than one wordpress plugin function
- Add class as plugin for other plugins
- Displaying friend’s posts only
- using href when creating wordpress plugin calls empty page instead of php file
- Saving custom form fields
- How to add php stylesheet to admin section instead of admin_head hook
- Template from scratch: Sidebars not showing widget
- Contact Form 7: custom validation [closed]
- Enforce conditions only for draft posts using WyPiekacz, ignore pending and published posts
- How to add homepage Widget?
- What can I do to customize a widget provided with this plugin? from where have I to start?
- WordPress show different custom post type
- WordPress create permalink structure for custom post type with userid
- Shortcode inside a redirect [closed]
- Attachement title in wpallimport
- Block registration with viewScript
- How to get URL param for pagination in shortcode?
- Make plugin admin page visible to other roles
- How Create LastMod and Update Date Only on Taxonomy Category and Tags
- How to provide page_template path in custom plugin using WordPress
- Accessing Correct Database to Create REST API Endpoint
- How do I replace a logo image that’s hard-coded into a plugin’s logo.php file?