Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter garulfo

    (@garulfo)

    Hi Ben,

    > you seemed to be asking for a code change
    Well, for whatever is needed and works, actually! 😉

    And… Your code works perfectly!
    Thank you Ben & Hannah & Kevin!

    Thread Starter garulfo

    (@garulfo)

    Hi Kevin,
    When I remove the second “?”, the webpage does not load any more.
    At least it proves that the functions.php of the child theme is well taken into account.
    Thanks,
    David

    Thread Starter garulfo

    (@garulfo)

    Hi Hannah,
    Thank you for your message.
    As I would prefer the domain name not to be published (in order not to be subsequently indexed by Google), here is a link to it: http://bit.do/eaGN7
    Thanks again for your support,
    David

    Thread Starter garulfo

    (@garulfo)

    Hi Hannah & Ben,

    Thank you for your help.

    To answer your questions, Hannah:
    > Are you wanting to remove the h1 title sitewide?
    Yes

    > You would need to use a child theme for this.
    OK

    > Are you using one currently?
    No. It’ll be the first time I create one.

    > https://www.kadencethemes.com/child-themes/
    Great intro, thanks!

    Here is what I did so far:
    1. Created a virtue-child folder under the /wp-content/themes/ folder
    2. Put 3 files into this virtue-child folder (from your link, Hannah): functions.php, screenshot.png, style.css
    Then I modified them.
    The content of style.css is:
    /*
    Theme Name: Virtue Child Theme
    Template: virtue
    Version: 1.0.0
    */

    The content of functions.php is:
    <?php
    remove_action(‘virtue_page_title_container’, ‘virtue_page_title’, 20);
    ?>

    3. Went to my admin and navigated to Appearance > Themes
    4. Activated the child theme
    5. Deleted my caches
    6. Updated one of the pages
    7. Checked if the title was still there

    Unfortunately, the title is still there.

    Did I miss something?

    Thanks again for your support!
    David

Viewing 4 replies - 1 through 4 (of 4 total)