WordPress.org

Support

Support » Themes and Templates » [Resolved] Need help with Structured Data Testing Tool

[Resolved] Need help with Structured Data Testing Tool

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,
    Is there anyone who can help me out with this ? I am sure it is simple just that I lack technical knowledge. Any help will be appreciated.

    Theme Author heatmap

    @stuartwider

    Just look in /inc/template-tags.php

    Then edit the time related parts of heatmapthemead_posted_on() function to suit what you want.

    Thanks stuatwider for the reply.

    I found the line which you have mentioned but changing it did not solve the problem or might be I dint do it the right way.

    I changed the below line from:

    if ( ! function_exists( ‘heatmapthemead_posted_on’ ) ) :

    To:

    if ( ! function_exists( ‘heatmapthemead_posted_on_date_updated’ ) ) :

    & I even tried without underscores like:

    if ( ! function_exists( ‘heatmapthemead_posted_on date updated’ ) ) :

    None of the above fixed the problem. Please tel me how exactly am I suppose to place the code.

    Theme Author heatmap

    @stuartwider

    I was assuming you would read the code contained in the function I pointed you to, not literally try and change the line containing the function 😉

    Try changing…
    print '<time class="entry-date" datetime="' . esc_attr( get_the_date( 'c' ) ) . '">' . esc_html( get_the_date() ) . '</time>';

    to
    print '<time class="entry-date updated" datetime="' . esc_attr( get_the_date( 'c' ) ) . '">' . esc_html( get_the_date() ) . '</time>';

    Hey stuartwider,
    Thanks a lot for the reply. I finally got the issue fixed. Thanks for your time.

    Great support.

    Thanks once again.

    Theme Author heatmap

    @stuartwider

    Glad you got it fixed.
    Don’t forget to leave a star rating and review thanks.

    I have left my review. Thanks for making such a nice wordpress theme.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Need help with Structured Data Testing Tool’ is closed to new replies.