Template Structure — Override templates via a theme
The Post Slider and Carousel Pro is made with WordPress standard and it is developer friendly. The plugin contains some markup files within the /templates/
directory.
If you want to customize any markup related to front end, You just need to copy these files to your theme directory.
Note: Do not customize these files directly within the core plugin itself as they are overwritten during the upgrade process and your customizations will be lost.
Post Slider and Carousel Pro Templates Hierarchy
- sharing.php
- slider/
- loop-start.php
- loop-end.php
- design-1.php to design-10.php —
There are total 10 designs within the slider.
- carousel/
- loop-start.php
- loop-end.php
- design-1.php to design-18.php —
There are total 18 designs within the carousel.
- gridbox-slider/
- loop-start.php
- loop-end.php
- design-1.php to design-6.php —
There are total 6 designs within the gridbox slider.
Post Slider and Carousel Pro Widget Templates Hierarchy
- widget / post-slider /
- loop-start.php
- loop-end.php
- design-1.php to design-7.php —
There are total 7 designs within the post list widget.
- widget / post-scrolling /er /
- loop-start.php
- loop-end.php
- design-1.php to design-4.php —
There are total 4 designs within the post slider widget.
Template Override Example:
To override the post slider design-1.php file then simply copy
/post-slider-and-carousel-pro/templates/slider/design-1.php
toYour-theme/post-slider-and-carousel-pro/slider/design-1.php