Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle
Search Results for 'post'
-
AuthorSearch Results
-
In forum: Virtue Theme
In reply to: screen grab
Hey! The link you posted to the screenshot isn’t displaying anything. You might want to try again or use a different application.
This is the one I use.
https://www.awesomescreenshot.com/That is the default way for the galleries to load.
I believe that it’s a CSS controlled ease in, but I’m having difficulty removing it. We’ll have to wait for the theme dev or other support for that one.
In forum: Virtue ThemeIn reply to: Homepage slider not showing up on ipad
In forum: Virtue ThemeIn reply to: Can't display image in carousel slider
Hello Hannah,
Thanks for your prompt reply, it was working before but now only some pages worked on my site, most of them doesn’t work now.
Version: 3.6.1How I set up the process is to the “add new post” then change the option of head-content, also change the default setting on blog option.
The setting I have done are listed in below image.
http://keelung-for-a-walk.com/wp-content/uploads/2016/04/Carousel-setting.jpg
http://keelung-for-a-walk.com/wp-content/uploads/2016/04/Carousel-setting1.jpg
http://keelung-for-a-walk.com/wp-content/uploads/2016/04/Carousel-setting2.jpg
http://keelung-for-a-walk.com/wp-content/uploads/2016/04/Carousel-setting4.jpgThanks and have a nice day!
In forum: Virtue ThemeIn reply to: Photos on Iphone Dont appear
In forum: Virtue ThemeIn reply to: Change Default Max Image/Slider Height
April 22, 2016 at 3:14 pm #92150ok, well that’s one of the files that were updated. I suggest copying from the theme then just adding your override back in.
<!--if the Featured Image has a caption, load it--> <?php $get_description = get_post(get_post_thumbnail_id())->post_excerpt; if (!empty($get_description)) { echo '<div class="featured-caption">' . get_post(get_post_thumbnail_id())->post_excerpt . '</div>'; } ?> <!--if the Featured Image has a caption, load it-->Ben
In forum: Virtue ThemeIn reply to: Virtue theme has failed
April 22, 2016 at 3:09 pm #92146If you want me to take a quick look. I would need access to your site admin and ftp acccess to the site folder. You can post in a private reply.
Ben
In forum: Virtue ThemeIn reply to: Virtue theme has failed
In forum: Pinnacle ThemeIn reply to: modal box without button activation?
In forum: Virtue ThemeIn reply to: Virtue theme has failed
In forum: Virtue ThemeIn reply to: Change Default Max Image/Slider Height
Yes, I modified content-fullpost.php to have it show captions for the images:
<?php global $post, $virtue_premium; $headcontent = get_post_meta( $post->ID, '_kad_blog_head', true ); if(empty($headcontent) || $headcontent == 'default') { if(!empty($virtue_premium['post_head_default'])) { $headcontent = $virtue_premium['post_head_default']; } else { $headcontent = 'none'; } } $height = get_post_meta( $post->ID, '_kad_posthead_height', true ); if (!empty($height)) $slideheight = $height; else $slideheight = 400; $swidth = get_post_meta( $post->ID, '_kad_posthead_width', true ); if (!empty($swidth)) $slidewidth = $swidth; else $slidewidth = 848; if ($headcontent == 'carousel') { ?> <section class="postfeat carousel_outerrim loading"> <div id="post-carousel-gallery<?php echo $post->ID;?>" class="fredcarousel post-carousel-gallery-class fadein-carousel" style="overflow:hidden; height: <?php echo $slideheight;?>px"> <div class="gallery-carousel kad-light-wp-gallery initimagecarousel" data-carousel-container="#post-carousel-gallery<?php echo $post->ID;?>" data-carousel-transition="300" data-carousel-auto="true" data-carousel-speed="7000" data-carousel-id="postimgcarousel<?php echo $post->ID;?>"> <?php global $post; $image_gallery = get_post_meta( $post->ID, '_kad_image_gallery', true ); if(!empty($image_gallery)) { $attachments = array_filter( explode( ',', $image_gallery ) ); if ($attachments) { foreach ($attachments as $attachment) { $attachment_url = wp_get_attachment_url($attachment , 'full'); $image = aq_resize($attachment_url, null, $slideheight, false, false); if(empty($image)) {$image = $attachment_url;} echo '<div class="carousel_gallery_item" style="float:left; margin: 0 5px; width:'.$image[1].'px; height:'.$image[2].'px;"><a href="'.$attachment_url.'" rel="lightbox"><img src="'.$image[0].'" width="'.$image[1].'" height="'.$image[2].'" alt="'.esc_attr(get_post_field('post_excerpt', $attachment)).'"/></a></div>'; } } } else { $attach_args = array('order'=> 'ASC','post_type'=> 'attachment','post_parent'=> $post->ID,'post_mime_type' => 'image','post_status'=> null,'orderby'=> 'menu_order','numberposts'=> -1); $attachments = get_posts($attach_args); if ($attachments) { foreach ($attachments as $attachment) { $attachment_url = wp_get_attachment_url($attachment->ID , 'full'); $image = aq_resize($attachment_url, null, $slideheight, false, false); if(empty($image)) {$image = $attachment_url;} echo '<div class="carousel_gallery_item" style="float:left; margin: 0 5px; width:'.$image[1].'px; height:'.$image[2].'px;"><a href="'.$attachment_url.'" rel="lightbox"><img src="'.$image[0].'" width="'.$image[1].'" height="'.$image[2].'" alt="'.esc_attr(get_post_field('post_excerpt', $attachment)).'"/></a></div>'; } } } ?> </div> <!--post gallery carousel--> <div class="clearfix"></div> <a id="prevport-postimgcarousel<?php echo $post->ID;?>" class="prev_carousel icon-arrow-left" href="#"></a> <a id="nextport-postimgcarousel<?php echo $post->ID;?>" class="next_carousel icon-arrow-right" href="#"></a> </div> <!--fredcarousel--> </section> <?php } else if ($headcontent == 'shortcode') { ?> <div class="sliderclass"> <?php $shortcodeslider = get_post_meta( $post->ID, '_kad_post_shortcode', true ); if(!empty($shortcodeslider)) { echo do_shortcode( $shortcodeslider ); } ?> </div><!--sliderclass--> <?php } ?> <article <?php post_class("kad_blog_item"); ?> itemscope="" itemtype="http://schema.org/BlogPosting"> <?php if ($headcontent == 'flex') { ?> <section class="postfeat"> <div class="flexslider kt-flexslider loading" style="max-width:<?php echo esc_attr($slidewidth);?>px;" data-flex-speed="7000" data-flex-anim-speed="400" data-flex-animation="fade" data-flex-auto="true"> <ul class="slides"> <?php global $post; $image_gallery = get_post_meta( $post->ID, '_kad_image_gallery', true ); if(!empty($image_gallery)) { $attachments = array_filter( explode( ',', $image_gallery ) ); if ($attachments) { foreach ($attachments as $attachment) { $attachment_url = wp_get_attachment_url($attachment , 'full'); $image = aq_resize($attachment_url, $slidewidth, $slideheight, true); if(empty($image)) {$image = $attachment_url;} echo '<li><img src="'.$image.'"/></li>'; } } } else { $attach_args = array('order'=> 'ASC','post_type'=> 'attachment','post_parent'=> $post->ID,'post_mime_type' => 'image','post_status'=> null,'orderby'=> 'menu_order','numberposts'=> -1); $attachments = get_posts($attach_args); if ($attachments) { foreach ($attachments as $attachment) { $attachment_url = wp_get_attachment_url($attachment->ID , 'full'); $image = aq_resize($attachment_url, $slidewidth, $slideheight, true); if(empty($image)) {$image = $attachment_url;} echo '<li><img src="'.$image.'"/></li>'; } } } ?> </ul> </div> <!--Flex Slides--> </section> <?php } else if ($headcontent == 'carouselslider') { ?> <section class="postfeat"> <div id="imageslider" class="loading"> <div class="carousel_slider_outer fredcarousel fadein-carousel" style="overflow:hidden; max-width:<?php echo esc_attr($slidewidth);?>px; height: <?php echo esc_attr($slideheight);?>px; margin-left: auto; margin-right:auto;"> <div class="carousel_slider kad-light-gallery initcarouselslider" data-carousel-container=".carousel_slider_outer" data-carousel-transition="600" data-carousel-height="<?php echo esc_attr($slideheight); ?>" data-carousel-auto="true" data-carousel-speed="9000" data-carousel-id="carouselslider"> <?php $image_gallery = get_post_meta( $post->ID, '_kad_image_gallery', true ); if(!empty($image_gallery)) { $attachments = array_filter( explode( ',', $image_gallery ) ); if ($attachments) { foreach ($attachments as $attachment) { $attachment_url = wp_get_attachment_url($attachment , 'full'); $image = aq_resize($attachment_url, null, $slideheight, false, false); $caption = get_post($attachment)->post_excerpt; if(empty($image)) {$image = array($attachment_url,$slidewidth,$slideheight);} echo '<div class="carousel_gallery_item" style="float:left; display: table; position: relative; text-align: center; margin: 0; width:auto; height:'.esc_attr($image[2]).'px;">'; echo '<div class="carousel_gallery_item_inner" style="vertical-align: middle; display: table-cell;">'; echo '<a href="'.esc_url($attachment_url).'" data-rel="lightbox" title="'.esc_attr($caption).'">'; echo '<img src="'.esc_url($image[0]).'" width="'.esc_attr($image[1]).'" height="'.esc_attr($image[2]).'" />'; echo '</a>'; ?> </div> </div> <?php } } }?> </div> <div class="clearfix"></div> <a id="prevport-carouselslider" class="prev_carousel icon-arrow-left" href="#"></a> <a id="nextport-carouselslider" class="next_carousel icon-arrow-right" href="#"></a> </div> </div> </section> <?php } else if ($headcontent == 'video') { ?> <section class="postfeat"> <div class="videofit"> <?php global $post; $video = get_post_meta( $post->ID, '_kad_post_video', true ); echo $video; ?> </div> </section> <?php } else if ($headcontent == 'image') { if (has_post_thumbnail( $post->ID ) ) { $thumb = get_post_thumbnail_id(); $img_url = wp_get_attachment_url( $thumb,'full' ); //get full URL to image (use "large" or "medium" if the images too big) $image = aq_resize( $img_url, $slidewidth, $slideheight, true ); //resize & crop the image if(empty($image)) { $image = $img_url; } ?> <?php if($image) : ?> <div class="imghoverclass"><a href="<?php echo $img_url ?>" rel="lightbox[pp_gal]" class="lightboxhover"><img src="<?php echo $image ?>" alt="<?php the_title(); ?>" /></a></div> <!--if the Featured Image has a caption, load it--> <?php $get_description = get_post(get_post_thumbnail_id())->post_excerpt; if (!empty($get_description)) { echo '<div class="featured-caption">' . get_post(get_post_thumbnail_id())->post_excerpt . '</div>'; } ?> <!--if the Featured Image has a caption, load it--> <?php endif; ?> <?php } } ?> <?php get_template_part('templates/entry', 'meta-date'); ?> <a href="<?php the_permalink() ?>"><h2 class="entry-title" itemprop="name headline"><?php the_title(); ?></h2></a> <?php get_template_part('templates/entry', 'meta-subhead'); ?> <?php echo '<div class="subtitle">'.get_post_meta($post->ID, 'wpcf-subtitle', true).'</div>'?> <div class="entry-content clearfix" itemprop="articleBody"> <?php global $more; $more = 0; ?> <?php global $virtue_premium; if(!empty($virtue_premium['post_readmore_text'])) {$readmore = $virtue_premium['post_readmore_text'];} else { $readmore = __('Read More', 'virtue') ;} the_content($readmore); ?> </div> <footer class="single-footer"> <?php $tags = get_the_tags(); if ($tags) { ?> <span class="posttags color_gray"><i class="icon-tag"></i> <?php the_tags('', ', ', ''); ?> </span><?php } ?> <?php wp_link_pages(array('before' => '<nav class="page-nav"><p>' . __('Pages:', 'virtue'), 'after' => '</p></nav>')); ?> <?php if ( comments_open() ) : echo '<p class="kad_comments_link">'; comments_popup_link( __( 'Leave a Reply', 'virtue' ), __( '1 Comment', 'virtue' ), __( '% Comments', 'virtue' ), 'comments-link', __( 'Comments are Closed', 'virtue' ) ); echo '</p>'; endif; ?> </footer> </article>In forum: Virtue ThemeIn reply to: Remove border around Fancy Box
In forum: Virtue ThemeIn reply to: API Licence Key Emails
April 22, 2016 at 10:12 am #92084Hey,
Only replies can be private. No topics. So if you need to say something private make a topic add your subject then reply to it.I’ve updated the emails and I’ll edit your post and remove them from above.
Ben
In forum: Virtue ThemeIn reply to: Google Map Info Box
Hi Hannah,
The post is at http://www.uproute.co.uk/bowden-doors-directions/
If you click on the marker the heading text is white. I’m trying to make it black.
Thanks,
Chris.
In forum: Virtue ThemeIn reply to: Google Map Info Box
In forum: Virtue ThemeHello supporter,
I bought a virtue premium and never use any coding on wordpress plaform(I don’t know how to use coding too)
I set up head content as carousel slider in post option but the result didn’t turn it as I wish.
The page keep running, didn’t shows the image. It happened on those page, kindly assist the action, urgently needed thanks. The site can’t really work now.
*Login to see link
*Login to see link
*Login to see link
*Login to see link
*Login to see linkIn forum: Virtue ThemeIn reply to: Submenus without classes
April 21, 2016 at 7:44 pm #92005? there are classes on submenus.. Can you post a link?
What plugin are you trying to use.
BenIn forum: Virtue ThemeIn reply to: Home Slider on Mobile
April 21, 2016 at 7:40 pm #92002Can you post a link?
Are you using page caching? and are you loading on a device?Ben
In forum: Virtue ThemeIn reply to: Move bottom portfolio carousel to footer
April 21, 2016 at 12:37 pm #91917Thinking through… you would need to do this:
remove_action( 'kadence_single_portfolio_after', 'pinnacle_portfolio_bottom_carousel', 30 ); add_action( 'kt_after_content', 'custom_pinnacle_portfolio_bottom_carousel', 30 ); function custom_pinnacle_portfolio_bottom_carousel() { if(is_singular('portfolio')){ pinnacle_portfolio_bottom_carousel(); } }But that’s it.. the function would make sure the carousel was only called on teh portfolio post.. and this would only affect portfolio posts.
Ben
In forum: Virtue ThemeIn reply to: Move bottom portfolio carousel to footer
In forum: Virtue ThemeIn reply to: Header Height
April 21, 2016 at 12:30 pm #91910When I look at your page, in your theme options > advanced settings. In the custom css box I still see:
.contentclass { padding-top: 10; }… If you would like you can send me a login and I can add the css I posted and clear the cache for you.
Ben
-
AuthorSearch Results


