Thread Starter
Anonymous User 18180484
(@anonymized-18180484)
Ok.
Could you please add the slider layout settings to separate slider pages in customization? Not as a bunch for the whole slider?
Because if I replace in “functions.php” first word with two words ($title[0] with $title[0].’ ‘.$title[1]) then it changes the first two words color everywhere, not just on the needed slides with an article on the first place.
-
This reply was modified 3 years, 8 months ago by Anonymous User 18180484.
Thread Starter
Anonymous User 18180484
(@anonymized-18180484)
Solved!
Thanks to ru.stackoverflow.com community!
If you need to highlight a few first title words and only in certain slides, put the “^” sign after necessary words to be colored in the page title and then replace the slider code in bizberg functions.php with :
$title = explode( strpos($title, “^”) ? “^” : ” “, $title );
It says, if a string has this sign “^” then the colored title part should be separated after it, otherwise as usual after the first space ” “.
-
This reply was modified 3 years, 8 months ago by Anonymous User 18180484.
-
This reply was modified 3 years, 8 months ago by Anonymous User 18180484.