networking – Category 7A Ethernet cable backward compatibility with 6A

I need to choose Ethernet cables for my home installation. I can buy U/FTP cat.6A or S/FTP cat.7A at the same price. As I know, category 7A provides more bandwidth, but in order to use the highest available bandwidth I need 7/7A connectors (e.g. GG45, not RJ45), which are not very popular.

I found that cat.7/7A cables are backwards compatible with categories 5/5E and 6. But I can’t figure out if the 7/7A cables are backwards compatible with category 6A cables. Can one say that a link with cat.7A cable and cat.6A connectors is not worse in case of bandwidth than a link with cat.6A cables and connectors? Are there any disadvantages of using 7/7A compared to 6A? Is it possible that any 6A connector or device is or will not be compatible with category 7A cable?

php – How to restrict content based on product purchase for specific woocommerce category?

I need a pay per post system for specific woocommerce products category.

Hi, my site is currently running the latest version of WordPress V5.4.1 with the woocommerce V4.0.0 plugin installed.

With woocommerce, by default the product page is accessible to all users. I would like to be able to restrict access to the product page to users who have already purchased the product. That is to say after adding it to the cart from the store and paying at checkout.

Product = a post type Woocommerce plugin link =

So, I would like to display the content of the product page only if the product has already been purchased by the user. That is, if the product is contained in the user’s order list.

I would like to apply this system only to products of certain specific categories to be defined.

As for the restriction of products, which are not yet purchased by the user, I would also like to have the possibility of defining a redirect page whose content remains under my sole responsibility.

For this, I will expressly need a small parameter in the rediction link which would display the ID of the product to buy in this way for example: **_redirect_id=PRODUCT_ID (It will be useful for me to display on the page, some product information by the get method 😉 Like this:

I found from my research, certain articles which deal with the subject but which always seem vague to me. Articles link:

woocommerce restrict content based on product purchase

I know it shouldn’t be too complicated if you merge some of the information from the links above, but I admit that I really don’t know how to go about it, I’m worried above for days .. Thanks in advance for your help !

Pagination not work on page but work on category

i am using kriesi Pagination, it is working perfectly fine category page but it when i do similar query on page then it is not working. any idea why ?

function kriesi_pagination($pages = '', $range = 2){  
 $showitems = ($range * 2)+1;  
 global $paged;
 if(empty($paged)) $paged = 1;
 if($pages == '')
     global $wp_query;
     $pages = $wp_query->max_num_pages;
         $pages = 1;

 if(1 != $pages)
     echo "<div class='pagination'>";
     if($paged > 2 && $paged > $range+1 && $showitems < $pages) echo "<a href='".get_pagenum_link(1)."'>&laquo;</a>";
     if($paged > 1) echo "<a class='prev' href='".get_pagenum_link($paged - 1)."'>&lsaquo; Previous</a>";

     for ($i=1; $i <= $pages; $i++)
         if (1 != $pages &&( !($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems ))
             echo ($paged == $i)? "<span class='current'>".$i."</span>":"<a href='".get_pagenum_link($i)."' class='inactive' >".$i."</a>";

     if ($paged < $pages) echo "<a class='next' href='".get_pagenum_link($paged + 1)."'>Next &rsaquo;</a>";  
     if ($paged < $pages-1 &&  $paged+$range-1 < $pages && $showitems < $pages) echo "<a href='".get_pagenum_link($pages)."'>&raquo;</a>";
     echo "</div>n";


my page query is

    <?php query_posts(array('category_name' => 'm-directory',
                          'meta_key'=> 'mno',
                         'orderby'=> 'meta_value',
                         'order'=> 'ASC')); if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>       <li class="post">  
   </li>  <?php endwhile;  kriesi_pagination(); ?>     <?php else : ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php

endif; ?>

collection – How do I get all products in a category?

Consider my ‘shorts’ category below. It has 149 products in. 13 are configurable, the rest are simple products that have a visibility of ‘Not visible individually’.

Category listing in admin

I have the following:

$category = $this->categoryRepositoryFactory->create();
$category = $category->get(20);

$collection = $this->productCollectionFactory->create();
$collection->addAttributeToFilter('visibility', (1,2,3,4));

This only retrieves the 13 records with the Configurable products with visibility of ‘Catalog, Search’.

(It also doesn’t order by position, but that’s another matter)

I want to get a list of ALL of the products in the category – Not visible included.

I have tried reindexing, cache etc, but no luck.

lock screens – In Android 10, is there a way to prioritize notifications (i.e. their lockscreen order) WITHIN the alert category?

In Android 7 (Nougat), there was a special option that allowed for improved granularity in managing notification order, see e.g. this report. I made extensive use of this feature but, alas, it has been dropped. Now on Android 10, I only find two notification classes, “alert” and “silent/gentle”.

I have a lot of calendar reminders and messages that are both required to be alerted to me. However, I need the messages (Slack, Whatsapp, etc.) to be ON TOP of all the other notifications, especially on top of the calendar reminders, so that incoming messages do not get lost among the many reminders of a day.

Previously, in Android 7, this was readily feasible by giving the messenger apps “highest priority” and the calendar app “second highest priority”. Both generated palpable alert notifications, but the messenger notifications would always be moved to the top and remain there, even as new calendar reminders come in. Currently, the only way to move the reminders below the other notifications is to classify them as silent, which defies their very purpose.

Is there any way to change the order of notifications on a per-app basis within the alert category on android 10? I looked extensively for an Xposed module or custom rom that could do that. So far, in vain. Help very much appreciated!

magento2 – Admin ui form category tree population issue

I’ve got an admin ui form with category tree field

        <field name="category" component="Magento_Catalog/js/components/new-category" sortOrder="60" formElement="select">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="filterOptions" xsi:type="boolean">true</item>
                    <item name="multiple" xsi:type="boolean">true</item>
                    <item name="showCheckbox" xsi:type="boolean">true</item>
                    <item name="disableLabel" xsi:type="boolean">true</item>
                    <item name="levelsVisibility" xsi:type="number">1</item>
                    <rule name="required-entry" xsi:type="boolean">false</rule>
                <label translate="true">Category</label>
                    <link name="${ $.namespace }.${ $.namespace }:responseData">setParsed</link>
                        <options class="MagentoCatalogUiComponentProductFormCategoriesOptions"/>

I’ve got the field populating and data is saving correctly

The remaining issue is that the field appears blank on load

enter image description here

But sorts itself out when you click

enter image description here

I’ve missed a step. Any ideas?

magento2 – In ui-select how to select all child and sub-child categories when parent category is clicked?

I have a field with ui-select for categories in my custom form.

I have this piece of code in ui_component form for generating the ui-select

  <field name="categories">
            <argument name="data" xsi:type="array">
                 <item name="options" xsi:type="object">MagentoCatalogUiComponentProductFormCategoriesOptions</item>
                <item name="config" xsi:type="array">
                    <item name="label" xsi:type="string" translate="true">Categories</item>
                    <item name="componentType" xsi:type="string">field</item>
                    <item name="formElement" xsi:type="string">select</item>
                    <item name="component" xsi:type="string">Magento_Ui/js/form/element/ui-select</item>
                    <item name="elementTmpl" xsi:type="string">ui/grid/filters/elements/ui-select</item>
                    <item name="dataScope" xsi:type="string">categories</item>
                    <item name="filterOptions" xsi:type="boolean">true</item>
                    <item name="showCheckbox" xsi:type="boolean">true</item>
                    <item name="disableLabel" xsi:type="boolean">true</item>
                    <item name="chipsEnabled" xsi:type="boolean">true</item>
                    <item name="multiple" xsi:type="boolean">true</item>
                    <item name="levelsVisibility" xsi:type="number">1</item>
                    <item name="sortOrder" xsi:type="number">50</item>
                     <item name="tooltip" xsi:type="array">
                        <item name="description" xsi:type="string">Select the categories.</item>
                    <item name="required" xsi:type="boolean">true</item>


Which gives the the ui-select field with categories loaded in tree view.

The problem i am facing is,
enter image description here


when i select gear parent, the child categories are not auto selected by default.

How do i do this? ie. Auto select all child categories when parent category is selected, and uncheck all when parent category is unchecked. I need this in backend form.
Any suggestion is helpful.

magento2 – How added custom widget container to Catalog Category page?

How added custom widget container for adding widgets to Catalog Category page after main scope?

I tried added to tag body catalog_category_view.xml
My custom container

<container name="custom.container" label="Custom Container" after="main.content"/>

but this is not working
enter image description here

wordpress – Will disrupting the Parent/Child Category relationship, with Static Pages, negatively affect SEO efforts?

I am working on my personal website where, for the purpose of this question, we can assume the site structure is as follows:

enter image description here

At present, the ‘Keeping Fit’ and ‘Healthy Eating’ Pages are Parent Category Pages with the Pages below these being Child Categories. The Child Categories contain an Archive of their respective Blog Posts with the Parent Categories containing an Archive of all the Blog Posts that appear in their respective Child Categories.

In the interest of providing greater unique content, I was thinking of changing the ‘Keeping Fit’ and ‘Healthy Eating’ Category Archive Pages into Static Pages. I would then remove the Archived Posts from the Parent Categories and replace with content, such as:

  1. Why I am keeping fit.
  2. Before and after I started keeping fit photographs.
  3. Healthy Eating Milestones.
  4. Money saved to date on not buying processed foods


Would performing the above changes be considered good practice or would I be causing some potential issues, from an SEO perspective? The concerns I have, are as follows:

  1. The current Child Categories will be moved up to Parent Categories and thus be on the same level as the newly transferred Static Pages (‘Keeping Fit’ and ‘Healthy Eating’). Would this cause issues with search engines understanding the layout of the website?
  2. The URLs will no longer reflect the Parent/Child Category relationship. Instead, the URLs will present the newly created static pages as being independent from the newly appointed Parent Categories.
  3. The Breadcrumbs will no longer reflect the relationship between the ‘Keeping Fit’ and ‘Healthy Eating’ Pages with the new Parent Category Archive pages.
  4. The ‘Keeping Fit’ and ‘Healthy Eating’ pages will lose all the Internal Links from having displaying the archived Blog Posts.
  5. I may lose ‘SERPS real Estate’ by losing the Sitelinks, since I am using a mix of Pages and Categories rather than choosing just one and maintaining a consistent URL structure.

Are my concerns warranted and is it a case of choosing which areas I want to focus on or are my concerns something that should get be thinking of a better way in approaching this … Possibly leaving things as they are?

magento2 – Unable to upload Category Thumbnail and Category Hover thumnail image

I am uploading the Category thumbnail image and category hover thumbnail image, but after saving the configuration both image links seems broken.
screenshot after uploading

when i am clicking on the link, its not correct, it is like
enter image description here

i can see that the directory path is repeating itself, so , kindly help