Join our new community forum for support & discussion

Join Now

Home Support Themes TaskHive Where to move modified file ?

Where to move modified file ?

  • Author
    Posts
  • Kreeger

    Hi,
    I modified the listing page template at “hiverepress/includes/template/class-listing-view-page.php” but no matter where I place it in the child then, the changes never take effect… Do I have to change the folder path or something ? Thank you.

    yevhen developer

    Please do not edit the core files directly because any changes will be overridden on update, while it is possible to override template parts (HTML files from hivepress/templates folder), the core files can’t be overridden (these can only be adjusted via action/filter hooks).

    Kreeger

    Is there any tutorial on how to create those action/filter hooks ?

    yevhen developer

    Please try following this tutorial https://youtu.be/LkojYp-8uwY

    For example, you can override the listing-view-page via hivepress/v1/templates/listing_view_page filter (and change its blocks).

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

You must be logged in to reply to this topic.