seo – Google / Favicon mobile search result icon does not appear

I put the rel = icon link in the HTML with an icon size of 48 px, I tried with .ico and .png but the custom main site icon does not appear in the Google search result (mobile). I requested to reindex in Search Console, but I had no luck. I know I asked to reindex so many times every time I tried to change the link alternatives. By the way, I can see very well the icon in the browser tab and the Google mobile shortcut thumbnail.

Meanwhile, I installed WordPress in the domain subfolder and set the icon, for only a couple of days the icons appeared. So I copied the rel = icon link from WP to my personalized main site, but I had no luck. It still shows the default world icon.

Any suggestions?

plugins – WooCommerce: creation of a page with the user input used to check the status of the order and the external API and return a result

I don't know where to start in terms of building a plugin, some php or how to carry out my project for my woocommerce store:

Feature Summary:

  1. User Entries Order ID
  2. The order ID consults the WooCommerce API for order status and custom fields for that order
  3. The result of the custom field is used to query external API
  4. The result of the WooCommerce API (Order Status) query, as well as the external API based on the return of custom fields, is shown on a page

What is my best approach? Frontend html for user input, php for queries and html again to show?

Thank you

php: search two sites and show the result on the first site

I have two sites, the first is a product search page and the second site is a blog post page. I want to change the first search to all the search fields that search on both sites and show the result on the first site.

First WordPress site search field.

enter the description of the image here

Second search field of the WordPress site.

enter the description of the image here

How should I add the field search on the first site and show both the result of the site?

Both sites work with WordPress.

I hope someone helps me!

algorithms: select a member from each set of numbers and provide unique numbers in the result set

I have set set A of set B of set C of natural numbers (all finite), for example,

  ( (1,3,5), (2,4,8), (1,5,9) ),
  ( (1,2,3,9), (3,5,19), (10,12,33), (14) ),
  (22,46,50), (13,15,33,44,57), ..., (7,17)

I need to select a set C from each set B so that all numbers are unique, for example,

(1,3,5) from first set,
(10,12,33) from second and so on,
where (1,3,5,10,12,33,..) <== contains unique numbers

Is there an algorithm (faster than brute force) to solve this task?

sum: strange result for the sum $ sum _ {k = 1} ^ { infty} frac { sin (k (k-1))} {k} $

In this sum more than $ k $

Sum(Sin(k (k - 1))/k, {k, 1, (Infinity)})

the result still contains the sum index $ k $.

 (* Out 1/2 I (Log(E^-I (E^I - E^(I k))) - Log(E^(-I k) (-E^I + E^(I k)))) *)

What is hapening here?

If the sum were divergent, Mathematica would normally return the entry.

Sum(1/k, {k, 1, (Infinity)})

(* Outside (148) = $ sum_ {k = 1} ^ { infty} frac {1} {k} $ *)

However, plotting the r.h.s. (designed by $ f $) as a function of $ k $

Plot(2/(Pi) f, {k, -2 (Pi) + 1, 1.1 + 6 (Pi)}, 
 PlotLabel -> "Result of a 'strange sum'", AxesLabel -> {"k", "f(k)"},
  PlotRange -> {{-2 (Pi) + 1, 4 (Pi) + 1}, All})

enter the description of the image here

we see that it is discontinuous and in the range of $ – frac { pi} {2} $ to $ frac { pi} {2} $.

This could be an indication that the sum is divergent delivering values ​​in this range. I have not studied convergence, but I have limited myself to Mathematica's question.

What do you predict will be the result of Trump's impeachment?

Accused by House after extensive evidence of irregularities. Authorized in the Senate. He is running for re-election alleging & # 39; totally exonerated & # 39 ;. Loses the second term.

1. Democrats have gathered MASSIVE evidence, and it's getting closer. He is not willing to defend himself, but he cannot.

2. WE KNOW that Republicans are not going to vote to get him out of office, no matter what.

3. It is already behind the main Democratic candidates. 47% of Americans have said they would not vote for Trump no matter what, compared to 34 or 35 percent who plan to vote for him no matter what. He won't be able to make that hole.

c # – Calculation method with complex result

I have a method that calculates the price that a given supplier obtains for an item.

Simplified, check if we have prices for that specific supplier, if not, check if we have prices for that specific group of suppliers, if you don't get the normal price.

There are several possible results here:

nothing found
MultiplePricesFound = a mistake in our data 
Vendor is in multiple groups = user needs to pick the group

So, instead of simply returning a double or null or -1 to indicate an error, I build a class that looks like this. I don't want typos in my result, so I turned it into an enumeration.

public class PriceResult {
   double Value;
   PriceResults Result;
   Dictionary VendorGroupPriceDictionary;
public enum PriceResults {NothingFound, Success, MultipleVendorGroups, MultiplePrices }

The dictionary contains the multiple groups of suppliers and their corresponding prices.

This will work. However, I created a new class and an enumeration that will probably be used exactly with one method. This seems somewhat exaggerated.

I wonder if this indicates something. Do I need to simplify the calculation method?

How to use the display template (search result) to change dispform.aspx and editform.aspx to a custom one?

I have configured a source of results and currently when I do a search it returns some pages with allitem.aspx, disform.aspx and editform.aspx but I want to do the following: –
– Remove allitems.aspx for this particular list
– Change disform.aspx? ID = itemID and editform.aspx? ID = itemID to a custom page, for example showNews.aspx (what would look like showNews.aspx? ID = itemID

Is this possible for some particular lists and not for all lists?

Thanks in advance

Optimize the query that according to the plan produces more than 500 billion rows: the actual result is only 400k rows

I am trying to improve database performance. I have noticed a query that according to the plan produces many rows, but I know that, in fact, there are no more than 400k rows in the table after that insertion. Why is there such a big difference between the current plan and the result of the consultation?
The consultation plan is here

The cookie check returns the correct result only within Elementor Editor

I want to allow the user to download the publications (show the list of publications) only when they have submitted the lead generation form, which in turn adds the cookies in their browser.

Now, when someone completes the lead generation form, there is an AJAX request submission that does the following:

add_action( 'wp_ajax_nopriv_set_lead_cookie_and_mail', 'mail_and_cookie_function' );
add_action('wp_ajax_set_lead_cookie_and_mail', 'mail_and_cookie_function');
function mail_and_cookie_function(){
    check_ajax_referer( 'aj-demo-nonce', 'nonce' );  
    parse_str($_POST('form_data'), $form_data); // This is the new added line
    $name =  $form_data("wpcf-lead-name");  // This is how you call the field.
    $email =  $form_data('wpcf-lead-email');
    $number = $form_data("wpcf-lead-number");
    $class =  $form_data("wpcf-class");
    $category =  $form_data("hidden_category");

    if(!$_COOKIE($category)) {      
        setcookie($category, "1", time()+2592000);

Now, when the cookie is saved, the website redirects to the page where I want to verify which cookies are saved to display the content.

This is my short code content to verify the values ​​of cookies.

add_shortcode('check_cookies', 'check_cookies_for_category');

function check_cookies_for_category($atts){
    $atts = shortcode_atts(     array(
    'taxonomy' => '',
    ),  $atts

    $terms = $atts('taxonomy');

        return 1;   
        return $terms;

When I see this shortcode inside my element or editor, it returns the correct result.
And once I check it on the live website, it says that cookies are not set. ?
"science" <= cookie term value
How can I make it work on the frontend website too?