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 'Page'

Home / Forums / Search / Search Results for 'Page'

Viewing 20 results - 34,101 through 34,120 (of 53,646 total)
  • Author
    Search Results
  • #92153

    On my website:

    The slider and the photo gallery on home page are NOT showing up on my Iphone… HELP!!

    #92137

    I want to use the light box for a login form, not an image.

    Is there a lightbox for pages or posts or short codes?

    -Ana

    #92125

    Hey Janice,
    You could do it like this:
    .page-id-214 #nav-second, .page-id-253 #nav-second, .page-id-132 #nav-second { display:none; }
    Hope that helps!

    Hannah

    #92123

    I’m showing my ignorance here since I don’t even know what to call this. I see on your virtue theme demo page, in the “accordion shortcodes” section, you can hover over the picture and the picture pops up on a greyed out screen like the modal button button pops up after a button press. Is there a way to do this that I can pop up a darkened screen for login. What is used to make that picture pop up work? Is that a popover link?

    My goal is to use a modal style box from an icon menu or menu selection.

    Any ideas?

    #92119

    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>
    
    #92117

    Hi
    I am using the primary and secondary menus for two different areas of my website. I would like to be able to hide the primary on several pages and hide the secondary on the other pages. I have all the page IDs and have used .page-id-214 #nav-seond { display:none; } to hide the secondary menu and .page-id-267 #nav-main { display:none; } to hide the primary menu. I’ve tried doing a comma delineated list to add more pages, without success. Is there a way to do this without repeating the above for every page? I’m using the Virtue Premium theme and my URL is
    Thanks for your help,
    Jan

    In forum: Virtue Theme
    #92100

    Sorry to open this back up, but just wondering about the update to fix the testimonial excerpt function?

    1) I noticed that there was an update for virtue premium, so I updated, but the excerpt is still not showing correctly in the carousel widget (it’s showing the entire testimonial). Was that the update to fix the problem?

    2) Also one additional question. I’d like to keep the testimonial thumbnail image on the homepage, but eliminate it on the testimonial grid page. Is that possible? Is it possible to tweak the below code I’m using to reflect that?

    .testimonialimg {
    display: none;
    }

    Thanks again for all your help.

    #92066

    Hello 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.





    #92048

    Hello I can’t seem to get products in shop grid view to display excerpts. It works fine in list view but not in grid.

    I’ve checked and the setting is turned off: Stop Product Excerpt from loading in the shop grid pages. Good to turn on if there are conflicts on your shop grid pages.

    Any ideas?

    Thanks

    #92047

    Hello

    On my site ostlyngbjerke.no
    I am displaying a portfoliocarousel on my front page.

    I would really like the images in this carousel to align/ show from the top ogf the image (i.e. the head of the people) in stead of centering the images.
    Is this possible?

    Thank you

    #92043

    Hi there,

    I keep getting this message on the WordPress admin site:

    Your theme (Virtue – Premium) contains outdated copies of some WooCommerce template files. These files may need updating to ensure they are compatible with the current version of WooCommerce. You can see which files are affected from the system status page. If in doubt, check with the author of the theme.

    How can this be fixed please? Will you be updating your theme?

    Regards,
    Karl

    #92040

    I just updated to the newest version.
    I see in the change history that you inserted something for an individual 404 page error.
    But I can’t find it in the settings.

    #92035

    Thank you Ben – that fixed the error page issue.

    In forum: Virtue Theme

    In reply to: Virtue button

    #92033

    Oh wonderful Ben, the css code for the buttons are looking great now, exactly what I wanted.

    I already have Contact Form 7, so if the theme doesn’t enable to change the button on Contact page, I’ll follow your suggestion.

    Thanks a lot

    Stephanie

    In forum: Virtue Theme

    In reply to: Hi Bit confused now

    #92031

    There is 3.6.0 for wordpress updates. The next version from the admin page will be there soon. The admin page updates on a delay.

    Ben

    In forum: Virtue Theme

    In reply to: Home Slider on Mobile

    #92030

    Hey,
    1.Ok so with page caching the script won’t run to check for a mobile browser. So that won’t work, you would have to have page caching off for the front page to have this switch happen.

    2. This is not something that would change based on screen resize. The script looks for a mobile browser. You have to look using a mobile device.

    Ben

    #92029

    1. You can add padding as part of your page title options.. I made it 50 top and bottom so you can see.

    2. The css would be this:

    #content aside.col-lg-3.col-md-4 {
        background: #eee;
        border-left: 1px solid #444;
    }

    I added for you.
    Ben

    In forum: Virtue Theme

    In reply to: Virtue button

    #92025
    This reply has been marked as private.
    In forum: Virtue Theme

    In reply to: Size Drop-Down Menu

    #92020

    Thanks for the advice Ben… I’m wondering if I were to delete the WC Fields Factory plugin, is there a way to replace the size and order menu fields of the product pages in bulk like a product feed? It would take me a long time to do each one of the existing 1500+ products I’ve already entered.
    Also, I may have found a plugin to replace the WC Gold Price as well and I’m wondering if the same could be done with that too. Please let me know.
    Thank you,
    Gary

    In forum: Virtue Theme

    In reply to: Home Slider on Mobile

    #92002

    Can you post a link?
    Are you using page caching? and are you loading on a device?

    Ben

Viewing 20 results - 34,101 through 34,120 (of 53,646 total)