background featured image display using shortcode

Question

Hi I create a slider shortcode in my custom theme. my sliders images display at the background image. I dont know how can i display background slider images using shortcode
Here my code:

$string .=’ ); background-size: cover; background-repeat: no-repeat;”>’ .
‘ ‘ .
‘ ‘ .
”.
‘ ‘ .

‘ . get_the_title() . ‘

‘ .
get_the_content() .
‘ ‘.
” . $slider_buttons1txt . ” .
” . $slider_buttons2txt . ” .
”.
‘ ‘ .
” .
‘ ‘.
‘ ‘ .
”;

0
Ruby 3 months 0 Answers 11 views 0

Leave an answer