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 change product title color in shop page if product has specific product tag (Woocommerce)?
- search and add in wordpress content
- Site DOES NOT LOAD after 3.1 update
- WP insert post Redirect after function has executed
- Create condition for Author bio Social Links
- remove specificly the last tag in all posts
- For some time, some of my pages do not display the content anymore. Any idea where this could be coming from?
- How to exclude labels from certain categories in a shortcode?
- Change permalink structure specific category
- Array data not saving to specified sections. How to make seting independantly?
- 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
- WP-Bakery – Add custom colors to buttons with template colors
- I need to display posts in subcategory beside posts in main category
- How can I add diffrent editable text fields?
- 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”
- Integrate otp in my custom singup form
- Tag title not being returned in page title of tag archives
- Woocommerce template file outputting tags
- Hide A Class and Add Custom HTML Code Using WordPress
- Featured image in menu wordpres
- Trying to update Woocommerce meta values
- How do I know if the user is a customer?
- How to block specific user id in custom login form?
- How to add Text before my Custom Term and hide it when empty
- update_user_meta as multiple value but with same meta key
- I want to fusion the product columns in email table order
- retrieve “Link Color” value
- Inserting a class on before_widget if checkbox is checked
- If Statement is Ignored?
- Add a new view on the Woocommerce account page
- Having trouble creating two shortcodes, one for logged in user and one for visitors
- Multiple Tag Filtering
- Delete post meta by serialized meta value
- How do I add a predefined class to a custom html element?
- How can I update the price when someone enters postcode or zip code in woocommerce checkout page?
- How to identify which php file a plugin is using on page load?
- clicking on the_tags() generated tags to show all tagged posts page
- Adding new divs with custom classes to products on WooCommerce shop page [closed]
- Dynamic “home” image and URL based on current folder
- Dynamic Banner Text based on Subdomain
- Create “blank” admin page without having admin-bar/admin-menu for faster load
- How to put a before and after with tags in a wordpress entry?
- Before & After Content – After Content directly below Before Content when using require_once
- Need help transforming echo to return for use with shortcode
- How to separate the taxonomies list from the form so that editing taxonmies is the same as pages and posts?
- Noob question: want to remove the “site identity” logo for specific part of website only
- How do I create a WP endpoint that retrieves all custom post types that have a tag?
- Create Schema in WordPress with PHP
- Trying to modify content.php
- Redirect after login depending on the URL
- Create form which redirects to site in network?
- Redirect user role to a specific page on login in a multisite network?
- 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
- How to get Post sidebar & footer including html like get_the_content() which only gets content section?
- Add custom attribute to product’s HTML to woocommerce cart page
- Create custom admin page with custom text fields
- Autoloading Classes in Plugins
- Remove specific javascript when viewing page in Customizer?
- Search only for posts with specific metadata?
- Running local copy of an old WordPress site on MAMP
- Remove node from multisites?
- Automatically refresh page if widget is added to page?
- custom field – changing an element or background of id div – different versions not working
- dynamically change content of div with php
- View tag description on page
- Real time notification on user profile after new comment
- Customizing WooCommerce with PHP
- How to add text before posts
- Multisite – Display different header content based on which site is accessed
- Display tag links on archive page?
- How to get php file based on URL in WordPress
- Using Tag Groups: Displaying groups and adjacent tags of current post
- Add two or multiple functions in WordPress Post or Page
- What image is this pulling?
- How can I customize a WordPress theme before it’s downloaded?
- Update same content in multiple posts at once?
- Only display notification on single post
- Get a list of tags present in a paged front page
- How do you change the tag font size in the repeater-template.php [closed]
- PHP tag in post content makes wordpress go crazy
- Add Alt attribute to image served with php
- Is there a way to have chunks of a page’s content expire?
- Notify admin (by email) if post added with specific tag
- Explode Content within specific HTML element
- Replace Underscore (_) on Space ( )
- Display product attributes for current product
- How to only fetch certain Tag ID’s
- Where can I find the declaration of `$_wp_theme_features`?
- Static home page ignored
- How do I routinely extract the thumbnail of the most recent post?
- Why isn’t my custom Javascript showing up in my custom template?
- Showing the project type in HREF
- WordPress error on my website