Carousel example
// Slider shortcode// PT 2024-Mar-25function ss_slider_shortcode($atts) { }add_shortcode(‘ss_slider’, ‘ss_slider_shortcode’); .my-slider{background-color:#042e58;}.tns-controls{position: relative;top: 200px;z-index: 100;display: flex;justify-content: space-between;}.ss-inner{display: flex;margin: 0 15%;align-items: center;}.ss-slide-left{display: flex;justify-content: center;width:50%;}.ss-slide-right{display: flex;width: 50%;padding:0 0 0 24px;display: flex;flex-direction: column;justify-content: center;}.ss-port-image{aspect-ratio: 1 / 1;width:350px;border-radius:50%;}.ss-title-bar{padding:0;margin:30px 0 30px 0;}.ss-slide{border:0;padding:0;margin:0;}.slider-title{color: #fff;text-align: center;padding:0;margin:0;}.ss-slide h3{color:#fff;font-size: 52px;font-weight:600!important;margin:0;padding:0 0 12px 0;}.ss-slide p{color:#fff;font-size:16px;font-weight:300;line-height:1.3;margin:0 0 24px 0;}a.more-link {font-weight: 600;text-transform: uppercase;font-size: 16px;color: #3BB1E3 !important;transition: color 300ms ease […]
WordPress adding page programmatically
WordPress ACF get settings
Blank Login for WordPress
Add WordPress user in MySQL
Remove Yoast from CPT
I found that I can use this for multiple post types as well. just pass an array as the second argument: