• Resolved gasballoon

    (@gasballoon)


    site address https://www.deemster.olibatchelor.com

    When a story has a location added, the location icon appears beside the title ( as expected) but it also appears above the story’s featured image with the following characters after it “>
    How do I suppress the icon and characters?
    Thanks, Robin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter gasballoon

    (@gasballoon)

    Example…. HERE.

    I have the same problem and would really appreciate a solution.

    I could solve the problem.
    Open the content.php (you can find this document in the folder ‘template-parts’) and search for this code:

    <div class="entry-thumb">
    <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail('oria-small-thumb'); ?></a>
    </div>

    Now change it to:

    <div class="entry-thumb">
    <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail('oria-small-thumb'); ?></a>
    </div>

    Save the document and see how it looks like ??

    Thread Starter gasballoon

    (@gasballoon)

    BINGO! You’re a star alhe0012.
    Thank you very much.
    That worked perfectly ??

    Gasballoon.

    You are welcome ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Location icon appears above featured image’ is closed to new replies.