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: Pinnacle Theme
In reply to: Virtue Shortcode Not Working when Editing Category
In forum: Virtue ThemeIn reply to: Multiple Header / Logo options
February 11, 2016 at 6:08 pm #80861One options is to place your normal logo in as the logo, then add the home page logo as your retina logo.
Once thats done post a link and we can give you the css to make it work like your wanting.Ben
In forum: Virtue ThemeIn reply to: ampersand code converting to #038
February 11, 2016 at 5:49 pm #80854Hey,
You could try and edit the featured image output but I think it’s going to be much more tricky then then a hook in functions. You will need to override templates.
The output for each featured image is sized based on where the image is being shown. It’s always going to call the standard wordpress functions. The real issue is wordpress was never designed for featured images to be set without attachment ids.You can test with another theme and woocommerce. Sure twenty twelve outputs there featured posts images in a certain way that would work with your plugin but woocommerce like many other themes/plguins uses the id. it’s not going to work even with a basic theme like twenty twelve.
In terms of getting the images to work, where are you showing post featured images? on the blog page? which format?
Ben
In forum: Virtue ThemeTopic: Popup in Global add ons
Sorry if i am posting this twice, as I can’t find my original post.
I am trying to add a popup image or something like this to my global Woocommerce add ons. I have a text link and it opens when clicked to a new page, but I would really like to have it open in a pop up or something that won’t take the customer off the page. I have tried pop up plugins, but the short codes won’t work in the global add-ons area. If there is a better way to accomplish this, I am open to any suggestions. Thanks!
In forum: Virtue ThemeIn reply to: Several little questions
Hi Hannah,
1. Thanks! (This is important for me to create the proper slider-images)
2. Works like a charm! Now the menu changes from full size to small size to mobile.
3. I found the option, totally overlooked it. Small tip for other people: the change of text doesn’t show until you place an item in the cart, which makes the text of the cart update as well. CTRL-F5 does not do the trick here. (I almost posted a negative reply to this solution…)
In forum: Virtue ThemeIn reply to: ampersand code converting to #038
Hi Ben,
So I decided to try adding external feature image link to another website, which I’ve updated with the lasted Virtue 3.4.7 Theme & updated the Woocommerce files. I then tried using 3 different plugins for adding external image links and none of them work. In fact, none of the images are displayed using any of the External Image Link Plugins I created just a regular Page, and it’s not working either.
I’m wondering if there is a line of code I can add to the functions file of the theme? Or what do you suggest since it’s not just Woocommerce product pages, but regular pages & posts as well are not working?
Having this capability is going to save me a lot of time with my websites.
You can see example of image not showing at all:
http://www.waterdancerphotos.com/test-image-2/
http://www.waterdancerphotos.com/shop/images-of-alaska/image-test/Thank you,
KathyIn forum: Virtue ThemeIn reply to: Multiple Header / Logo options
In forum: Virtue ThemeIn reply to: Hover Image Over Swatch
Again apologies Ben, I will drop plugin queries.
The developer suggestion is appreciated, but want to have full control of the site and the overhead is not currently planned for. Perhaps moving this across mobile and tablet devices will require a developer – still I’ll be honest the cost and loss of control is a constant worry.
On a brighter note, this is looking great! Can we…
1. Make the spacing even across all pages between all elements for the whole journey (pre and post selection of variations) – by all pages I mean like the examples below:
http://olsonbaker.com/product/bubble/
http://olsonbaker.com/product/tween-start-chest-of-drawers-woocommerce-swatches/
http://olsonbaker.com/product/boule/
http://olsonbaker.com/product/pomelo-pendant-light/
Looking to make a gap of 30px between all elements.2.My colleague actually did this a while ago and he can’t remember, he said possibly in the woocommerce booster. Is there a better way to do this to make it the same across all pages within the theme? As I have noticed the place holder is different too between the pages below…
http://olsonbaker.com/product/bubble/
http://olsonbaker.com/product/tween-start-chest-of-drawers-woocommerce-swatches/3. I would really love to get this ‘Lead Time: Made for you in just eight weeks’ custom field below the ‘Save for later +’ button, is there anyway this can be done? Willing to explore all options here.
KR
James
In forum: Virtue ThemeIn reply to: Hiding Add to Cart on homepage
In forum: Pinnacle ThemeIn reply to: Website not displaying correctly on Ipad/Iphone
On my desktop, I am using Chrome and it is just fine. On both the iphone and ipad, I checked both chrome and safari and am having problems. If you look on the desktop, you see an image of a river cruise. then the call to action. then a carousel of featured posts. then my latest blog posts. That’s what it should look like.
On my iphone, you see an image of Nuremberg which is from on of my blog posts but shouldn’t be in that position. Then nothing. On my Ipad, you see the river cruise image, but the featured posts carousel isn’t showing up. Also, the blog post that posted this morning isn’t there.
before, the Ipad, Iphone, and desktop all rpetty much looked the same
In forum: Pinnacle ThemeIn reply to: Landing page template?
In forum: Pinnacle ThemeIn reply to: Page Builder
In forum: Pinnacle ThemeTopic: Page Builder
In forum: Virtue ThemeTopic: Incompatible with CiviCRM
I found earlier that Virtue theme is not compatible with the WordPress plugin CiviCRM. Today I found that Kadence slider is not compatible with some of the CiviCRM administration forms — makes some controls disappear. I am just posting this for informational purposes… I do not expect a solution. We just removed the slider plugin, and used a different theme. The theme is good for my other sites that don’t use CiviCRM.
In forum: Virtue ThemeIn reply to: creating custome menu
February 11, 2016 at 11:32 am #80790Hey Danny,
I’m guessing you want one menu item not one menu.. If you can post a link to your site I and tell me which item I can help with the css.
Ben
In forum: Virtue ThemeIn reply to: Translating virtue carousel widget
February 11, 2016 at 11:04 am #80778Hey,
I’m not sure what you mean about complicated. How are you translating your other widgets?Yes there is a shortcode for testimonials.
[testimonial_posts columns="3" items="10"]What way is that for other widget?
Can you remind me what your talking about with images?
Ben
In forum: Virtue ThemeIn reply to: Switch blog and sidbuilder widgets
Hey! In Theme Options> Home Layout, look at your Homepage Layout Manager.
The order in which you place the enabled page items determines where your posts will show up in relation to all the other items.
If you want your posts to show up on top, then be sure that “page content” is placed at the top of the enabled column.
Hope that helps!,
KevinIn forum: Virtue ThemeIn forum: Virtue ThemeIn forum: Virtue ThemeIn reply to: Sticky Headermenu and widget background
February 11, 2016 at 2:00 am #80738Hey,
Filter isn’t an option, they don’t really work like your suggesting. If something is set up to be filterable then wordpress functions can be used to filter is but every html part isn’t filterable.You would have to create your very own shortcode, then you could control all of the html output.
For example you would create the whole shortcode:
//Shortcode for Blog Posts function custom_blog_shortcode_function( $atts, $content) { extract(shortcode_atts(array( 'orderby' => '', 'order' => '', 'speed' =>'', 'height' =>'', 'width' =>'', 'offset' =>null, 'cat' => '', 'columns'=> 'two', 'word_count' => '', 'items' => '' ), $atts)); if(empty($orderby)) {$orderby = 'date';} if(!empty($order) ) { $order = $order; } else if($orderby == 'menu_order' || $orderby == "title") { $order = 'ASC'; } else { $order = 'DESC'; } if(empty($items)) {$items = '4';} if(empty($word_count)) {$word_count = '36';} if(empty($cat)) {$cat = '';} ob_start(); if($columns == "one") { $img_width = 360; $postwidthclass = 'col-md-12 col-sm-12'; $home_sidebar = false; $articleclass = 'home-blog-one-column'; } else { if(kadence_display_sidebar()) { $home_sidebar = true; $img_width = 407; $postwidthclass = 'col-md-6 col-sm-6 home-sidebar'; $articleclass = 'home-blog-two-columns'; } else { $home_sidebar = false; $img_width = 270; $postwidthclass = 'col-md-6 col-sm-6'; $articleclass = 'home-blog-two-columns'; } } ?> <div class="home_blog kad-animation home-blog-shortcode <?php echo esc_attr($articleclass);?>" data-animation="fade-in" data-delay="0"> <div class="row"> <?php $xyz = '0'; $wp_query = null; $wp_query = new WP_Query(); $wp_query->query(array( 'orderby' => $orderby, 'order' => $order, 'offset' => $offset, 'post_type' => 'post', 'category_name'=>$cat, 'posts_per_page' => $items ) ); if ( $wp_query ) : while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?> <div class="<?php echo esc_attr($postwidthclass); ?> blog-home-shortcode-single-post clearclass<?php echo ($xyz++%2); ?>"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="rowtight"> <?php global $post, $virtue_premium; if(isset($virtue_premium['post_summery_default']) && ($virtue_premium['post_summery_default'] != 'text')) { if($home_sidebar == true) { $textsize = 'tcol-md-12 tcol-sm-12 tcol-ss-12'; $imagesize = 'tcol-md-12 tcol-sm-12 tcol-ss-12'; } else { $textsize = 'tcol-md-7 tcol-sm-12 tcol-ss-12'; $imagesize = 'tcol-md-5 tcol-sm-12 tcol-ss-12'; } if (has_post_thumbnail( $post->ID ) ) { $image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); $thumbnailURL = $image_url[0]; $image = aq_resize($thumbnailURL, $img_width, 270, true); if(empty($image)) { $image = $thumbnailURL; } } else { $thumbnailURL = virtue_post_default_placeholder(); $image = aq_resize($thumbnailURL, $img_width, 270, true); if(empty($image)) { $image = $thumbnailURL; } } ?> <div class="<?php echo esc_attr($imagesize);?>"> <div class="imghoverclass"> <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <img src="<?php echo esc_url($image) ?>" alt="<?php the_title(); ?>" width="<?php echo esc_attr($img_width);?>" height="270" class="iconhover" style="display:block;"> </a> </div> </div> <?php $image = null; $thumbnailURL = null; } else { if (has_post_thumbnail( $post->ID ) ) { if($home_sidebar == true) { $textsize = 'tcol-md-12 tcol-sm-12 tcol-ss-12'; $imagesize = 'tcol-md-12 tcol-sm-12 tcol-ss-12'; } else { $textsize = 'tcol-md-7 tcol-sm-12 tcol-ss-12'; $imagesize = 'tcol-md-5 tcol-sm-12 tcol-ss-12'; } $image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); $thumbnailURL = $image_url[0]; $image = aq_resize($thumbnailURL, $img_width, 270, true); if(empty($image)) { $image = $thumbnailURL; } ?> <div class="<?php echo esc_attr($imagesize);?>"> <div class="imghoverclass"> <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <img src="<?php echo esc_url($image); ?>" alt="<?php the_title(); ?>" width="<?php echo esc_attr($img_width);?>" height="270" class="iconhover" style="display:block;"> </a> </div> </div> <?php $image = null; $thumbnailURL = null; } else { $textsize = 'tcol-md-12 tcol-ss-12'; } }?> <div class="<?php echo esc_attr($textsize);?> postcontent"> <div class="postmeta color_gray"> <div class="postdate bg-lightgray headerfont"> <span class="postday"><?php echo get_the_date('j'); ?></span> <?php echo get_the_date('M Y');?> </div> </div> <header class="home_blog_title"> <a href="<?php the_permalink() ?>"> <h2 class="entry-title"><?php the_title(); ?></h2> </a> <div class="subhead color_gray"> <span class="postauthortop" rel="tooltip" data-placement="top" data-original-title="<?php echo get_the_author() ?>"> <i class="icon-user"></i> </span> <span class="kad-hidepostauthortop"> | </span> <?php $post_category = get_the_category($post->ID); if (!empty($post_category)) { ?> <span class="postedintop" rel="tooltip" data-placement="top" data-original-title="<?php foreach ($post_category as $category) { echo $category->name .' '; } ?>"><i class="icon-folder"></i></span> <?php }?> <?php if(comments_open() || (get_comments_number() != 0) ) { ?> <span class="kad-hidepostedin">|</span> <span class="postcommentscount" rel="tooltip" data-placement="top" data-original-title="<?php esc_attr(get_comments_number()); ?>"> <i class="icon-bubbles"></i> </span> <?php }?> </div> </header> <div class="entry-content"> <p><?php echo virtue_excerpt($word_count); ?> <a href="<?php the_permalink() ?>"> <?php if(!empty($virtue_premium['post_readmore_text'])) { $readmore = $virtue_premium['post_readmore_text']; } else { $readmore = __('Read More', 'virtue'); } echo $readmore; ?> </a> </p> </div> <footer> </footer> </div> </div> </article> </div> <?php endwhile; else: ?> <li class="error-not-found"><?php _e('Sorry, no blog entries found.', 'virtue');?></li> <?php endif; ?> <?php $wp_query = null; wp_reset_query(); ?> </div> </div> <!--home-blog --> <?php $output = ob_get_contents(); ob_end_clean(); return $output; }Then hook that into wordpress with your custom shortcode hook
function my_extra_shortcodes(){ add_shortcode('custom_blog_posts', 'custom_blog_shortcode_function'); } add_action( 'init', 'my_extra_shortcodes');and then you would be able to use the new shortcode:
[custom_blog_posts items="2" cat="wissenswertes" orderby="date"]Ben
-
AuthorSearch Results


