Tagged: Lightbox
-
AuthorPosts
-
May 13, 2018 at 5:24 pm #956074
please read the edited answer before
May 13, 2018 at 5:26 pm #956075Yes performance is set to load all elements.
May 13, 2018 at 5:29 pm #956076i thought that the whole installation is yours and the caroussel images are on their server and are called via plugin (maybe a shortcode) to inject the content.
You have no influence on that domain: http://robwiley.staging.wpengine.com/ (hosted on WPengine) ?if you have please place a lightbox image elsewhere in that page.
May 13, 2018 at 5:32 pm #956078Yes, that is my staging site… but the “page” doesn’t show up under pages… the entire page that shows the home details (and the photo show) is generated dynamically by Optima Express. So this page does not exist under my pages, and I cannot edit it though I CAN modify the page template:
http://robwiley.staging.wpengine.com/homes/4000-CORNWALL-WAY-ROCKLIN-CA-95677/18025166/13/ (hosted on WPengine)Crazy, huh?
Here is code for the page template:
<?php /* Template Name: IDX w/Sidebar */
global $avia_config, $more;/*
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
get_header();
?><div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>
<div class=’container test’>
<main class=’template-page content <?php avia_layout_class( ‘content’ ); ?> units’ <?php avia_markup_helper(array(‘context’ => ‘content’,’post_type’=>’page’));?>>
<?php
if(!empty($avia_config[‘conditionals’][‘is_builder’]))
{
$avia_config[‘conditionals’][‘is_builder_template’] = true;
get_template_part(‘template-builder’);
exit();
}
else
{
get_template_part(‘page’);
exit();
}
?><!–end content–>
</main><?php
//get the sidebar
//$avia_config[‘currently_viewing’] = ‘page’;
get_sidebar(‘IDX’);?>
</div><!–end container–>
</div><!– close default .container_wrap element –>
<?php get_footer(); ?>
May 13, 2018 at 5:33 pm #956079(sorry, I don’t know how to paste it nice like you do, I can do that if you tell me how)
May 13, 2018 at 5:37 pm #956081and for that it would be nice if you are not minifiying the css or js – because if there was an error we can search til the end of time.
But you have the possibility to set elsewhere on that enfold installation a lightbox image.?
I don not see that the avia-snippet-lightbox.js was activated.May 13, 2018 at 5:56 pm #956088Minification not turned on, lightbox is enabled in theme options
May 13, 2018 at 6:12 pm #956089I am very sorry, but here ends my knowledge – maybe a mod (perhaps the other guenter) can help you.
May 13, 2018 at 9:24 pm #956135i read on another thread that class avia_activate_lightbox
would activate the lightbox – maybe this is a nice try:function custom_lightbox_sc(){ ?> <script> (function($){ $(document).ready(function(){ $(".ihf-main-image img").each(function() { var a = $('<a/ class="avia_image lightbox-added avia_activate_lightbox">').attr('href', $(".ihf-main-image img").attr('data-ihf-main-source')); $(this).addClass('avia_image').wrap(a); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_lightbox_sc');
May 14, 2018 at 12:19 am #956156Thanks for the one last try! That did not work either…. don’t worry, I’ll have my developer look at it next time he’s working on other things (such as when Enfold 4.4 comes out, ha ha!)
thanks again!!! You made a valiant effort!!!
Best,
RobMay 14, 2018 at 9:43 pm #956681Hi,
Next enfold version is 4.4 and will be out at 22 :)
Just a side note for that.Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.