Home Forums WoodMart support forum How can I modify the H3 in entry-header single post

How can I modify the H3 in entry-header single post

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #74516

    duran
    Participant

    Hi,

    I want to change the text “Blog” in single post (You can see it in .entry-header > h3)

    What is the filter should I use?

    #74520

    Hello,

    You can change it in woodmart/content.php

    Best Regards

    #74688

    duran
    Participant

    Can you explain where exactly?

    #74694

    Artem Temos
    Keymaster

    Try to replace both occurrences. If it will not work, send us a link where we can check it.

    #74698

    duran
    Participant

    I did it… it does not works

    #74699

    Artem Temos
    Keymaster

    It is a different title, you can find and change it in the file inc/template-tags.php.

    #74701

    duran
    Participant

    Great! That’s exactly what I need!

    Can I modify it by Filter? Or I have to edit it hard code in child theme?

    #74715

    Artem Temos
    Keymaster

    Unfortunately, there is no filter for that HTML tag. You can copy the whole PHP function that contains this code from the file and put it to your child theme functions.php.

    #74924

    duran
    Participant

    Do I need to copy the code into FUNCTIONS.PHP? Is it the best way?

    I’m not supposed to duplicate the file and make changes in child theme?

    #74925

    Artem Temos
    Keymaster

    No, you just need to copy woodmart_page_title function to the child theme functions.php and customize it.

Viewing 10 posts - 1 through 10 (of 10 total)