本文整理匯總了PHP中RevSlide::isStaticSlide方法的典型用法代碼示例。如果您正苦於以下問題:PHP RevSlide::isStaticSlide方法的具體用法?PHP RevSlide::isStaticSlide怎麽用?PHP RevSlide::isStaticSlide使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類RevSlide
的用法示例。
在下文中一共展示了RevSlide::isStaticSlide方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: RevSliderOperations
}
if ($bgPosition == 'percentage') {
$style_wrapper .= "background-position: " . $bgPositionX . '% ' . $bgPositionY . '%;';
} else {
$style_wrapper .= "background-position: " . $bgPosition . ";";
}
$style_wrapper .= "background-repeat: " . $bgRepeat . ";";
break;
}
$slideTitle = $slide->getParam("title", "Slide");
$slideOrder = $slide->getOrder();
//treat multilanguage
$isWpmlExists = RevSliderWpml::isWpmlExists();
$useWpml = $slider->getParam("use_wpml", "off");
$wpmlActive = false;
if (!$slide->isStaticSlide()) {
if ($isWpmlExists && $useWpml == "on") {
$wpmlActive = true;
$parentSlide = $slide->getParentSlide();
$arrChildLangs = $parentSlide->getArrChildrenLangs();
}
}
//<!-- load good font -->
$operations = new RevSliderOperations();
$googleFont = $slider->getParam("google_font", array());
if (!empty($googleFont)) {
if (is_array($googleFont)) {
foreach ($googleFont as $key => $font) {
echo RevSliderOperations::getCleanFontImport($font);
}
} else {
示例2:
$style_wrapper .= "background-image:url('" . $slideBGExternal . "');";
if ($bgFit == 'percentage') {
$style_wrapper .= "background-size: " . $bgFitX . '% ' . $bgFitY . '%;';
} else {
$style_wrapper .= "background-size: " . $bgFit . ";";
}
if ($bgPosition == 'percentage') {
$style_wrapper .= "background-position: " . $bgPositionX . '% ' . $bgPositionY . '%;';
} else {
$style_wrapper .= "background-position: " . $bgPosition . ";";
}
$style_wrapper .= "background-repeat: " . $bgRepeat . ";";
break;
}
$slideTitle = $slide->getParam("title", "Slide");
$slideOrder = $slide->getOrder();
//treat multilanguage
$isWpmlExists = UniteWpmlRev::isWpmlExists();
$useWpml = $slider->getParam("use_wpml", "off");
$wpmlActive = false;
if (!$slide->isStaticSlide()) {
if ($isWpmlExists && $useWpml == "on") {
$wpmlActive = true;
$parentSlide = $slide->getParentSlide();
$arrChildLangs = $parentSlide->getArrChildrenLangs();
}
}
require self::getPathTemplate("slide");
?>