Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter nudge1969

    (@nudge1969)

    Hi Raducan.

    I do have errors but they are optional entries. The following still appear as errors in Search Console, most of which I don’t have information for, as they are product reviews of online courses.

    Warning Missing field ‘priceValidUntil’
    Warning Missing field ‘aggregateRating’
    Warning Missing field ‘availibality’
    Warning Missing field ‘url’
    Warning Missing field ‘description’
    Warning Missing field ‘brand’
    Warning Missing field ‘sku’
    No global identifier provided (eg gtin, mpn, isbn)

    Cheers

    I was also looking to do this. I’ve copied the template directory to my theme but the product-image.php file does not have the line of code you mention.

    Change the line:
    $image_link = wp_get_attachment_url( get_post_thumbnail_id() );
    to
    $image_link = esc_url( $product->get_product_url() ); Save and enjoy.

    Here’s my file code:

    <?php
    /**
    * Single Product Image
    *
    * This template can be overridden by copying it to yourtheme/woocommerce/single-product/product-image.php.
    *
    * HOWEVER, on occasion WooCommerce will need to update template files and you
    * (the theme developer) will need to copy the new files to your theme to
    * maintain compatibility. We try to do this as little as possible, but it does
    * happen. When this occurs the version of the template file will be bumped and
    * the readme will list any important changes.
    *
    * @see https://docs.woocommerce.com/document/template-structure/
    * @author WooThemes
    * @package WooCommerce/Templates
    * @version 2.6.3
    */

    if ( ! defined( ‘ABSPATH’ ) ) {
    exit;
    }

    global $post, $product;
    ?>
    <div class=”images”>
    <?php
    if ( has_post_thumbnail() ) {
    $attachment_count = count( $product->get_gallery_attachment_ids() );
    $gallery = $attachment_count > 0 ? ‘[product-gallery]’ : ”;
    $props = wc_get_product_attachment_props( get_post_thumbnail_id(), $post );
    $image = get_the_post_thumbnail( $post->ID, apply_filters( ‘single_product_large_thumbnail_size’, ‘shop_single’ ), array(
    ‘title’ => $props[‘title’],
    ‘alt’ => $props[‘alt’],
    ) );
    echo apply_filters(
    ‘woocommerce_single_product_image_html’,
    sprintf(
    %s‘,
    esc_url( $props[‘url’] ),
    esc_attr( $props[‘caption’] ),
    $gallery,
    $image
    ),
    $post->ID
    );
    } else {
    echo apply_filters( ‘woocommerce_single_product_image_html’, sprintf( ‘%s‘, wc_placeholder_img_src(), __( ‘Placeholder’, ‘woocommerce’ ) ), $post->ID );
    }

    do_action( ‘woocommerce_product_thumbnails’ );
    ?>
    </div>

    Anyone know how I should modify this?

    Cheers

    Thread Starter nudge1969

    (@nudge1969)

    Also, links won’t open in new tab!

    Same here.

    Forum: Plugins
    In reply to: [Legacy ePlayer] AFL
    Thread Starter nudge1969

    (@nudge1969)

    Thanks Brian.
    By the way, I couldn’t find a feed for the Super Rugby (Aus, NZ, Sth Africa). Is there not a feed for this or can I just not see it?
    Thanks

    Forum: Plugins
    In reply to: [Legacy ePlayer] AFL
    Thread Starter nudge1969

    (@nudge1969)

    How are you going with this issue Roch?

    Forum: Plugins
    In reply to: [Legacy ePlayer] AFL
    Thread Starter nudge1969

    (@nudge1969)

    Sure

    This is the AFL page I have your videos on.

    http://www.sports-fixtures.com/afl-fixture-2016/

    The first video seems corrupt. The second one is well over a year old and the 3rd, 2 years old.

    Thanks for looking into it.
    Nigel

    Again the same. Blank page of redirects, only menu showing up. What’s going on?

    OK, worked it out. The originals that are vertical are dummies. Choose the widget down the bottom called Zerif-Our Focus Widget, and the dummy widgets disappear. Insert as many new widgets as you like.

    The Our Focus Section does only allow change to the Title & Subtitle. Down the bottom there is a section called Widgets, this has it’s own Our Focus Section. The problem is that there are no widgets in there to change. It just says ‘reorder’ and add a widget button. So how do you change the foreign text in the Our Focus section?

    Forum: Plugins
    In reply to: [Game Schedules] Round Bye
    Thread Starter nudge1969

    (@nudge1969)

    Thanks Mark.

    Forum: Plugins
    In reply to: [Game Schedules] Round Bye
    Thread Starter nudge1969

    (@nudge1969)

    Right, but as I’m not doing a particular team website, can I have a home team column so I can list 9 different games. eg:
    Team A v Team B
    Team C v Team D
    Team E v Team F
    etc.

    Forum: Plugins
    In reply to: [Game Schedules] Round Bye
    Thread Starter nudge1969

    (@nudge1969)

    OK thanks Mark, no problem.
    Sorry to bother you again, One more question.
    Having looked at a few other people’s sites, most are set up for their sports team, hence showing all the games for their team. I’d like to show all the games in a league for a particular round. I notice under ‘schedule tables widget’ games between dates can be chosen but the schedule ID is from a particular team. Can I pick multiple ID’s to achieve this or is there another way?
    Thanks

    Mark
    I got back to trying the locations and got it to work. I was clicking on ‘save draft’ as opposed to ‘publish’. Thanks.
    I do have a quick question whilst I’m at it. I want to create a sports website with fixtures as the focus. I’d like to include major leagues, NFL, Aussie Rules, NRL etc. I may be able to get RSS feeds for these fixtures (not too sure?) but your plugin would make the fixtures look much better (a lot more work though). Is there a limit for how many leagues or teams I can have? Will it become confusing with so many teams?
    Thanks
    Nigel

    I mean when entering the team information, I thought the ‘Location’ is supposed to be integrated, and appear after the ‘team slider logo’. As on your link ‘Home team Venue’. I’ve installed and activated ‘Game Locations’ but its not showing up.

Viewing 15 replies - 1 through 15 (of 17 total)