Should I provide structured data for the related products on a single product page?

In a single product page, should I provide Schema.org structured data for the related products, too?

As an example, this is a page of my ecommerce. As you can see, there are 5 Product items in the page. One for the product, and 4 for the related products. Should I remove (or change) them?

Should I give microdata to the related product on a single product page?

I have a question.

In a single product page, should I give the Schema.org microdata to the related product too?

As an example, this is a page of my ecommerce. As you can see, there are 5 product microdata in the page. One for the product, and 4 for the related product. Should I remove (or change) them?

How does the Christian Hell come to be called Hell? Is it related to the Norse Hel?

In the Greek New Testament, Hell is referred to by three names, two Greek (Hades, Tartarus) and one Hebrew (Gehenna). But in English, it becomes Hell.

This is related to the Old Norse hellir, and proto-Germanic hallo, meaning cavern or enclosed space, but why is this term adopted instead of using the Greek or Hebrew terms?

How do Norse ideas of Hel as a place relate to Christian ideas of Hell?

Related post without plugin for custom post types

I need some help modifying this script. I am trying to also show related posts by custom taxonomies and custom post types.

//* Define custom image size for featured image in Related Posts
add_image_size( 'related', 300, 0, true );


add_action( 'genesis_after_entry_content', 'child_related_posts' );
/**
 * Outputs related posts with thumbnail
 *
 * @author Nick the Geek
 * @url http://designsbynickthegeek.com/tutorials/related-posts-genesis
 * @global object $post
 */
function child_related_posts() {

    if ( is_singular ( ) ) {

        global $post;

        $count = 0;
        $postIDs = array( $post->ID );
        $related = '';
        $tags = wp_get_post_tags( $post->ID );
        $cats = wp_get_post_categories( $post->ID );

        if ( $tags ) {

            foreach ( $tags as $tag ) {

                $tagID[] = $tag->term_id;

            }

            $args = array(
                'tag__in'               => $tagID,
                'post__not_in'          => $postIDs,
                'showposts'             => 8,
                'ignore_sticky_posts'   => 1,
                'tax_query'             => array(
                    array(
                                        'taxonomy'  => 'post_format',
                                        'field'     => 'slug',
                                        'terms'     => array(
                                            'post-format-link',
                                            'post-format-status',
                                            'post-format-aside',
                                            'post-format-quote'
                                            ),
                                        'operator'  => 'NOT IN'
                    )
                )
            );

            $tag_query = new WP_Query( $args );

            if ( $tag_query->have_posts() ) {

                while ( $tag_query->have_posts() ) {

                    $tag_query->the_post();

                    // $img = genesis_get_image() ? genesis_get_image( array( 'size' => 'related' ) ) : '' . get_the_title() . '';
                    $img = genesis_get_image( array( 'size' => 'related' ) );

                    $related .= '
' . $img . get_the_title() . '
'; $postIDs[] = $post->ID; $count++; } } } if ( $count <= 7 ) { $catIDs = array( ); foreach ( $cats as $cat ) { if ( 6 == $cat ) continue; $catIDs[] = $cat; } $showposts = 8 - $count; $args = array( 'category__in' => $catIDs, 'post__not_in' => $postIDs, 'showposts' => $showposts, 'ignore_sticky_posts' => 1, 'orderby' => 'rand', 'tax_query' => array( array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => array( 'post-format-link', 'post-format-status', 'post-format-aside', 'post-format-quote' ), 'operator' => 'NOT IN' ) ) ); $cat_query = new WP_Query( $args ); if ( $cat_query->have_posts() ) { while ( $cat_query->have_posts() ) { $cat_query->the_post(); // $img = genesis_get_image() ? genesis_get_image( array( 'size' => 'related' ) ) : '' . get_the_title() . ''; $img = genesis_get_image( array( 'size' => 'related' ) ); $related .= '
' . $img . get_the_title() . '
'; } } } if ( $related ) { printf( '', $related ); } wp_reset_query(); } } //* Enqueue and initialize jQuery Masonry script add_action( 'wp_enqueue_scripts', 'sk_masonry_script' ); function sk_masonry_script() { if ( is_singular( 'post' ) ) { wp_enqueue_script( 'masonry-init', get_stylesheet_directory_uri().'/js/masonry-init.js', array( 'jquery-masonry' ), '1.0', true ); } }

Here are the post types that I have:

1: post (tags, categories)

2: custom_post_type: (4 custom taxonomies)

3: custom_post_type: (2 custom taxonomies)

4: custom_post_type: (1 custom taxonomies)

I was able to make some adjustments by just looking at the code and was able to get custom post types related posts to show up. However, i am sure that there is someone better than I am out there who can make this work.

How to do “has term (with depth)” filter on field of a related field

i have a content type ‘product’, and two taxonomy lists ‘company’ and ‘country’.
Country list has one level of depth like:

……..
state1
-city1
-city2
……..

Each product has a ‘company’ field. Each ‘company’ term has a ‘country’ field.
I’m trying to create a view for ‘product’, filtering by ‘country’.
By adding the relationship “content: Company” i have only “taxonomy term: field_country” filter without depth.
There is a way to filter with depth like “Has taxonomy term (with depth)” ?

I’m on drupal 7

Related list is not visible in lightning mode for a user but visible in classic mode

I am trying to convert a classic application to lightning, in the process i got stuck with a wired issue.For a particular user one child object’s related list item is not getting displayed in the related list section. But the same related list item is getting displayed when user switched back to Classic Mode.

I checked all permissions for the particular user profile like:

  1. All crud permissions and view all available for this profile
  2. The same related list item is visible for other user with different profile
  3. On customize layout this related list section is under available category

Am I missing something here, or is this a bug in the instance?