Logo Carousel Pro supports template overrides from a theme. That means you can customize the appearance of the plugin-specific designs. The overridable files are located in the templates folder. For your convenience, we have created a hierarchy-
logo-carousel-pro/ │ ├── language │ ├── src │ │ ├── Admin │ │ ├── Frontend │ │ │ ├── assets │ │ │ ├── views │ │ │ │ ├── partials │ │ │ │ ├── templates │ │ │ │ │ ├── loop │ │ │ │ │ │ ├── content │ │ │ │ │ │ │ ├── content.php │ │ │ │ │ │ │ ├── image-list.php │ │ │ │ │ │ │ ├── image.php │ │ │ │ │ │ │ ├── logo-details-list.php │ │ │ │ │ │ │ ├── logo-details.php │ │ │ │ │ │ │ ├── read-more.php │ │ │ │ │ │ │ ├── title.php │ │ │ │ │ │ ├── single-item.php │ │ │ │ │ ├── carousel.php │ │ │ │ │ ├── filter.php │ │ │ │ │ ├── grid.php │ │ │ │ │ ├── inline.php │ │ │ │ │ ├── list.php │ │ │ │ │ ├── not-found-text.php │ │ │ │ │ ├── pagination.php │ │ │ │ │ ├── popup.php │ │ │ │ │ ├── preloader.php │ │ │ │ │ ├── section-title.php │ │ │ │ ├── index.php │ │ │ ├── Frontend.php │ │ │ ├── Helper.php │ │ │ ├── index.php │ │ ├── includes │ ├── vendor
So all the files mentioned above can be overridden by your theme directory.
Steps to override the template of Logo Carousel Pro:
- Make a folder named “logo-carousel-pro” in your active theme. (It is better to create the folder in your active child theme)
- Create another folder inside the “logo-carousel-pro” and name it “templates”.
- Copy the template you want to override from the plugin’s templates folder.
- Paste the template file in the logo-carousel-pro > templates folder inside your active theme.
- Now open the file in a text editor/code editor and edit it as you like.
- Now reload the page from the browser and see the changes you made.
Say, for example, I want to override the carousel.php file through my child theme.
Here Noteworthy: it’s highly recommended to override the file through the child theme instead of the main theme. Otherwise, the file customization will get reverted to the original once any theme update happens.
So to override the carousel.php file, you have to copy the file from
/wp-content/plugins/logo-carousel-pro/public/templates/carousel.php
and paste it into your child theme directory
/wp-content/themes/twentytwenty-child/logo-carousel-pro/templates/carousel.php
Then modify the file content as you want.