in case someone else in searching for this, I used a WP Query with the statement tag:
$args = array (myargs1,....,myargsn);
for ($i=0; $i<count($args);$i++){
$query = new WP_Query( array( 'tag' => $args[$i] ) );
…and so on with if have_posts() and a while loop, you can find the whole syntax on wordpress.org, only thing i did working with a for-loop to run run my array
Related Posts:
- How to associate dynamic PHP page for chosen WordPress tag?
- How can I add more code to this?
- How to automatically apply woocommerce product title to all product images alt tags?
- Receiving Stripe Webhooks on a wordpress website
- What would be a PHP command to erase all posts from category X from the last month?
- Add a wp editor to custom plugin and save data
- Walker class: Problems with understanding how walk() method can be called without error
- How to Use the Function is_user_logged_in To Display Different Menus?
- Change comments form title on a page by page basis
- Add value to usermeta without removing previous values?
- Setting up the child theme so as to enable right-to-left WordPress?
- display most popular tags in two columns
- String replace WordPress Site Title
- Displaying Only Certain Tags in Loop
- query if on page/2/?
- Type hinting and void return question
- Customized title tag for each page in pagination?
- Why WordPress architecture is not pure object oriented and it don’t use MVC pattern? [closed]
- How to break down importing of feeds
- Add relevant tag to search results
- How to create and work with custom data / tables (i.e., for arbitrary data)?
- PHP can I add line numbers to file_get_contents()
- Multiple choice in a custom taxonomy
- How to create a linked tag list in my sidebar
- Accessing data from a non-WP database/table within a page content
- WP dynamic featured image – Can’t get second featured image url
- Selectbox in admin panel function linking to CSS
- How to hide products that do not have an image from a slider carousel for an ecommerce webpage?
- Add New User, extra fields which are required?
- Send an email to specific adress when button is clicked?
- Customizer: active_callback and sanitize_callback incompatibility?
- Redirect specific user role to specific site after login?
- Send multiple attachments with wp_mail in PHP
- custom url rewrite for wordpress
- How to get the value of input hidden html from text editor to custom page template?
- Make a list of sites for each user in WPMU – switch_to_blog (display in SITE_ID: 1)
- Output Video Download Link in template
- Adding Taxonomy Image to taxonomy loop [closed]
- how to show only specific category for a template
- Adding Meta Tags to a Post using its Tags, Excerpt and content
- How to get private property in parent class into extended class?
- Edit the_category (); for a hierarchical display
- Use Tags to initiate Search
- Clickable image link sends people to wrong URL
- Create page template via functions.php?
- How to include custom PHP file both in header and footer files
- Delete or edit postmeta with specific meta_key?
- Display an image based on field value
- get_theme_mod outputs number when using WP_Customize_Cropped_Image_Control
- How to tag the main tag? [closed]
- Update if post with specific title exists
- Reusable code that I can store in the function.php and apply to other templates as need. Dry Code
- Assign Custom classes to every Excerpt
- Make next post button link to random post
- WordPress Twenty Eleven PhP – forcing php code to skip first post on homepage?
- pass html code to worpdress
- How do I custom code the start page?
- Kohana Frontend, WordPress Backend
- Commas in Tag Cloud
- making my own “related pages” / “pages you might like” section
- Getting a WordPress tag to print inside of a traditional php echo
- Site DOES NOT LOAD after 3.1 update
- For some time, some of my pages do not display the content anymore. Any idea where this could be coming from?
- WP_REST_Response – How to return Gzip answer and add Content-encoding header?
- Customizer control save then return to default
- Create Columns with Custom Walker and CSS Classes
- How can I check that the acf field value is not a duplicate when adding a post?
- Adding an Anchor Link to a wordpress menu using WPBakery Page Builder
- Removing “There is no account with that username or email address.” error message in “/wp-login.php?action=lostpassword”
- How to add Text before my Custom Term and hide it when empty
- update_user_meta as multiple value but with same meta key
- Delete post meta by serialized meta value
- Dynamic Banner Text based on Subdomain
- How to add a full working piece of website already coded, to a large scale Website design project?
- Redirecting the lost password page request when using a custon login page
- Create custom admin page with custom text fields
- Remove specific javascript when viewing page in Customizer?
- Running local copy of an old WordPress site on MAMP
- View tag description on page
- Customizing WooCommerce with PHP
- Multisite – Display different header content based on which site is accessed
- Display tag links on archive page?
- What image is this pulling?
- How can I customize a WordPress theme before it’s downloaded?
- How do you change the tag font size in the repeater-template.php [closed]
- PHP tag in post content makes wordpress go crazy
- Replace Underscore (_) on Space ( )
- Display product attributes for current product
- How to only fetch certain Tag ID’s
- Why isn’t my custom Javascript showing up in my custom template?
- A Customizer checkbox control that sets the setting to “” or to “blank” and show() or hide() a color control
- PHP call div with function
- Editing the contents of just one div on a page from wordpress
- WordPress – show all posts + ones with specific tag
- Where can I find the code for the menu page meta boxes?
- WordPress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache
- Loading a post’s content, into a div outside the loop, when it’s title is selected in a list
- HTML in PHP problem [closed]
- how to loop through blog posts in php
- How to continuously developing a WP site that is already deployed in production without damaging it during development