First show the post in a loop based on the meta key in an array of multiple categories

I try to achieve the following.
The WordPress Topic Newspaper uses a custom block to display the four most recent multi-category posts specified in a TagDiv composer that came with the topic.

These blocks provide sorting options that are built into the topic as case or wp query arguments. These cases can then be applied to the blocks in which you set the number of posts, categories for displaying posts, and so on.

However, I need the latest post from a category (called Win Win Win) that, when set to this category, sets the custom field "wedstrijd" to "true" to appear as the first post of the four.

So if there is a contest, the first post is always this competitive post, the other three are filled with the latest entries from a range of categories.

Until the contest post is deleted, it should stay in the top position while adding other content, which will have a later release date. This competition category always has only one active published contribution.

I tried the following, but unfortunately I can only show the single post with the key wedstrijd to true. Someone out there who can help me with this?

The categories are set in the TagDiv composer of the site. These are 4,5,9,433.43,47,36,18,17,427,790,31648, where 31648 is the competition category. I've already tried to set the categories in the following query, but this does not work or overrides the settings in tagdiv composer.

                            case & # 39; winfirst & # 39 ;:
$ wp_query_args['meta_query'] = array (
& # 39; relation & # 39; => & # 39; OR & # 39 ;,
& # 39; # 39 & query_one; => array (
& # 39; key & # 39; => & # 39; wedstrijd & # 39 ;,
& # 39; compare & # 39; => & # 39; = & # 39 ;,
& # 39; value & # 39; => & # 39; 1 & # 39;
& # 39; # 39 & query_two; => array (
& # 39; key & # 39; => & # 39; wedstrijd & # 39 ;,
& # 39; compare & # 39; => & # 39; = & # 39 ;,
& # 39; value & # 39; => & # 39 ;,
$ wp_query_args['orderby'] = array ('query_one' => 'ASC', 'query_two' => 'DESC');

To extract shared data between multiple columns in Excel

I'm trying to extract a report in Excel that shows a commonality between multiple columns. The problem is that a cell can contain multiple values!

For example –

Manufacturer-A DC subnets port-y
Server 2-port-a

Manufacturer-A DC subnets port-y

Manufacturer B DC Subnets Port-Y

Manufacturer-C Server-1 Port-x
Manufacturer C Server 2-port-a

Is this possible in Excel 2013? Or do I have to install Power Query in my Excel version?

Any advice or insight is greatly appreciated.

Deployment – Best Practice for Deploying VUI Programs in Multiple Locations?

I do not know if this belongs here … But I've written a custom Alexa for Business Skill for my organization. They are happy with how "hq" works. But now we are developing the same skill for about 10 different locations. The capabilities of each site should be able to respond, for example, to dining facilities within that particular facility.

What is the best practice here? I suggested that we create a new skill for each location. That's what I thought up:


Targeted code for specific use cases

More reusable pieces of code to accelerate future development

Avoid writing code to avoid unwanted / inappropriate functions and AWS resources
(Reduction of the central code base) *

Improved readability / writability / maintainability

More detailed control of access to various AWS resources across the enterprise

All errors in updates affect only one place


All similar updates
need to be replicated via skills

Possible misinterpretation of the call name
(Could be fixed by fixed naming convention)

Every advice is appreciated.

Linux network – Routing multiple NICs with the same address

I tried this question in NetworkEngineering StackExchange. It was rejected and forwarded to Serverfault. Serverfault rejected an earlier version and referred me to StackExchange. It's time to stop giving the money. This is a real question about a true network administrator setting.

The situation:

I have 4 wireless APs based on the ESP8266. These APs all send different SSIDs, but each provides LAN addresses in the 192.168.4.XXX subnet. The subnet value is not configurable.

Then I have a Linux host with 4 Wi-Fi NICs. I can connect any network card as a client of another AP. NIC # 1 is connected to AP # 1 … NIC # 4 is connected to AP # 4. Since all APs serve 0.4 addresses, it is possible that all 4 NICs will be assigned the same IP, e.g. All 4 network adapters can be assigned

Each of the APs has additional devices in addition to the dedicated host NIC. All devices receive addresses in the .4 network. For example, the second access point might have a printer with the IP address, and the fourth access point might have a scanner with the IP address

The question:

Is there a way to get the network up and running on the Linux host?

In the above example, how could one address the printer in comparison to the scanner (read / write data)?

Thanks, Bilal

Javascript – How to search multiple sites with Google and get random results?

I try to find examples of English collocations on a number of websites. I know how to search on multiple websites as this has already been fixed before.

Search term Page: A OR Page: B OR Page: C

The problem is that Google is showing all the results of site A and site B and is overriding the purpose of concurrently locating multiple sites because you need to go through all of site A's results to get to site B's results.

Is there a way (for example, a javascript code?) To randomly display Google results, so I can have examples of all the sites in the first 100 results?

woocommerce – Are multiple accounts available on the same site?

I have a website that serves several business areas of a company. The company wants to be able to sell different products in each division. Each business has its own account and wants to transact with its own account.


  • Business Area A wants to sell Widget A and that
    Transaction on account A.
  • Business Area B wants to sell Widget B and that
    Transaction on account B.
  • Business Unit C wants to sell Widget C and that
    Transaction on account C.

For accounting reasons, you can not share a single account. The site uses WooCommerce.

I've searched pretty much and found plugins and methods for using multiple different gateways (such as and Stripe), but not multiple accounts for the same gateway, as the keys are typically present per installation.

I'm pretty sure the answer to the question is no, but I want to make sure I do not give up prematurely.

You can not store multiple arguments with read -p in the macOS terminal with bash

The variable IFS is used by various commands. The safest way is to save the value and then restore it. Below is an example.

declare "IFS_BACKUP = $ IFS"
IFS = $ & # 39; t & n & # 39;
read -p "Enter your command:" cmd arg1 arg2
Echo "$ cmd"
echo "$ arg1"
echo "$ arg2"

The documentation command Man bash Are defined IFS as follows:

            IFS The internal field separator used for word division
after expansion and lines in words to share with reading
built-in command. The default is ``& # 39; # 39 & ;.

apache 2.2 – To redirect multiple domains to the same IP address but to a different port for different services

In my VM, I execute both apache2 and nginxbut Apache2 is on port 8080 and Nginx is port 80. Already I have pointed my domain to IP in nginx and its proper execution. The same thing I have to do for Apache2. But how will I give Port number while Assignment of the IP to the domain, I can not specify the port in the cName record. Is there an alternative way to fix this problem?