• Resolved Marco

    (@marco020)


    Hi Shazzad,

    I want to edit the plugin file ‘class-post-template-tags.php’ because I want to remove the word ‘view’ from the title link on mouse hover. My website is in Dutch so displaying the English word ‘view’ is a bit odd.

    I am using a child theme: ‘twentytwenty-child’. What should be the name of the folder where I can copy ‘class-post-template-tags.php’ to?

    For now I’ve removed the word ‘view’ directly from the plugin file ‘class-post-template-tags.php’.

    Thanks in advance for your reply and time!

    Marco

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    I will make the view translatable in future.

    Rather than using [title], use [post_title] with [post_permalink].

    <a class="post-title" href="[post_permalink]" title="View [post_title]">[post_title]</a>

    Thread Starter Marco

    (@marco020)

    Thanks for your snippet! I have removed ‘title’ from it because, in my opinion, it adds no value for the visiters of my website.

    Thanks again. Enjoy your weekend!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin file child theme’ is closed to new replies.