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 grid'
-
AuthorSearch Results
-
In forum: Virtue Theme
Hi team,
We would like to perform the following design edits on our website:
1) Remove the blogpost excerpt completely the blog grid and blog carousel section
2) Change ONLY the body text on Blogpost and Product Short Description to Raleway Normal 400, font size 18, line height 28.Thank you and we hope to hear from you soon!
In forum: Ascend ThemeIn reply to: Ascend Recent Posts spacing
February 11, 2019 at 4:24 pm #216268The ascend recent posts widget is designed to have a max width of 420px. This is because of the size of the image output. It’s truly designed to be a sidebar or smaller column widget. You can use this css to force the max width change:
.kadence_recent_posts { max-width: 100%; }I suggest if you are wanting huge columns to be filled with posts to consider using a shortcode to output the posts. Or the Kadence Blocks Pro – Post Grid/Carousel block.
Ben
In forum: Ascend ThemeIn reply to: Select blog categories
February 7, 2019 at 4:43 pm #215919[blog_posts orderby=date items=4 word_count=30 cat="accounting-services, court-accounting, eldercare-and-financial-care, fiduciary-services, tax-services, testimonials, trust-accounting, uncategorized"]You have to wrap in quotes.
I suggest using the Post Grid/Carousel Block, It creates an interface for this in Gutenberg.
Ben
In forum: Virtue ThemeIn reply to: How to use shortcodes in Gutenberg
I just spoke with the developer and the goal is actually to create blocks that would replace all the existing shortcodes. For example, the icon shortcode has been replaced with the icon block, the blog posts shortcodes by the post grid/carousel block, the image menu item shortcode by the image block, etc. That said, a modal block is in the works!
Hope this is helpful!Hannah
In forum: Ascend ThemeHi guys,
I’m using the post grid/carousel block to display the latest blog posts and have changed the image settings to Landscape 3:2 but the images appear are loading as if set to ‘contain’ not ‘cover’. I’ve inspected the code and it seems they are set to ‘cover’ so assuming something else must be wrong that I’m missing. Any ideas?
http://88.208.220.137/~joannehegarty/
Thanks
BillyIn forum: Virtue ThemeIn reply to: Single Page site with blog grid page template
January 31, 2019 at 2:14 pm #215204Hey,
It’s odd because what you are saying shouldn’t actually be possible so I’m not sure. The home page is the front-page.php template it doesn’t matter what template you set in the static page it will always use the front-page.php file.
So if you were developing on a “non” front page that would work where you could use the blog grid template but once you assigned the page as the front page then it would stop because the font-page.php template would take over.
So I’m not sure how you had what you did, but no worries we have a great way to accomplish what you want. We created a Block in Kadence Blocks Pro that allows you to add posts in the format you want and you can set how many you want, even have pagination.
Install Kadence Blocks Pro (part of your theme purchase you can find it in your appearance > getting started > bundled plugins.
Then search for the “post grid/carousel” in your home page content and add that to your page.
Let me know if that helps.
Ben
In forum: Virtue ThemeIn reply to: Single Page site with blog grid page template
January 31, 2019 at 12:49 pm #215181Thanks for the quick response. This is a decent temporary fix, but does not do exactly as I was hoping nor what I had working originally. I understand what you’re talking about where the static page in Settings will cause the page template to override what I have set as the page template directly in the edit page screen. However, the blog posts were displaying originally and I don’t understand what changed that made it stop working.
I had originally had the homepage set as a static page with a page created using the blog grid page template. It displayed the posts in a column of 3 and it was the image on top with excerpt text below and staggered height (Pinterest-style). It would display all the blog posts, not just the max of 8 with the latest blog posts module (also this module only allows a max of 2 columns) you’re referring to.
If I were to create a page template for the home page “page-home.php” (in this case the page is called “Home” with slug of “home”) and copy the code from “page-blog-grid.php” into it that should override the default home page template, right? Will it use the settings from the Theme Options->Blog Options screen?
In forum: Virtue ThemeIn reply to: Single Page site with blog grid page template
Hello,
In settings> Reading, are you setting your home page as a static page? When assigning as a static page, the theme automatically uses the home page template and will override your blog grid settings.
Try going to Theme Options> home Layout, and set the “latest blog posts” to show where you want. Then you can scroll down to “Home Blog Settings” to configure these posts.
does that work for you?
-Kevin
In forum: Virtue ThemeJanuary 31, 2019 at 12:14 pm #215167I have designed a site (*Login to see link ) using Gutenberg and virtue premium. It is a single-page site that the only page being used is set as the home page. It also uses the Blog Grid page template. When I first created it, it was showing blog posts after all the content like it’s supposed to. Recently my client emailed me to say the blog posts aren’t showing up. There’s no error message with WP_DEBUG set to true. My client and I have not made any changes between it working and not. Any ideas?
In forum: Virtue ThemeIn reply to: Post Page by Category without image
January 30, 2019 at 2:25 pm #215049No shortcode is going to just output the title. However, you can basically create this using the Kadence Blocks Pro plugin and the Post Grid/Carousel Block. You can select a category and turn off items to just show the title.
Ben
In forum: Virtue ThemeHi,
I would like to have a portfolio item with two images side by side as content. Under Portfolio Options in the editor I chose Project Layout->Above, Project Options->Grid, Columns->2 and added a gallery with two images (each 1201x1592px).
When viewing the post the images are cropped. I would like them to have original image ratio (no fixed height). How could I achieve this? I’ll post an example below.
I’m sorry if I missed any obvious setting!
I also tried to play around with Ben’s reply to this post:
*Login to see link
But having had a quick look at gallery.php (and content-single-portfolio-project.php where the shortcode seems to be called from) I can’t figure out where the crop comes to start with.With best regards,
Veikko
In forum: Virtue ThemeIn reply to: “Featured” Blog Posts in Slider
Hi, Hannah,
Thank you. I tried it. Here’s what I don’t like and like. 😉
The Home Slider offers the Full-Width option that brings the image and content across the top and pushes sidebar down so it lines up with Latest Blog Post grid. I like that. Looks clean.
When I use the Virtue Carousel as a widget it brings the sidebar up above the top of carousel. I just like that Home Slider spanning across. Looks clean.
Hum…might have to make some content changes…unless you have another option.
Thank you,
PamIn forum: Virtue ThemeHi, Kevin, Ben, Hannah,
Homepage
Slider at the top only offers option for grabbing Latest Blog Posts or Miscellaneous. I would like for it to show only Featured Posts, which I have assigned a category.
Beneath the Slider, I have Latest Blog Posts in a grid, so I don’t need “Latest Posts” in slider.
How can I configure? Sending URL in private message.
Thank you,
PamHello again,
I’m so sorry to post another question today. I have been trying to figure this out forever.
Basically I want to have a few of my portfolio items display their slider in the grid as shown on your wonderful demo page here: *Login to see link as in the first and 3rd item.
What I can’t figure out, is what are the settings? I have the multiple pics in the slider images, and when I click on the post, the slider shows, but what do I have to do to get the “featured image” to show the slider options on the grid?
What is the “If Kadence or Shortcode Slider” field supposed to have? I couldn’t find a shortcode that worked. Here’s a link to the page, the first one is what I’m trying to do: *Login to see link I wish there was a page showing how that one post was configured to work as shown on the demo
Thanks!
Susan
In forum: Ascend ThemeIn reply to: Newest portfolio item’s “Next Project” link
Thanks, Ben! I got the desired result with couple of changes.
1) I wanted to keep the navigation within current portfolio-type.
2) To sort by menu_order.
3) For some reason order ASC/DESC made no difference, it always put latest first, so set posts_per_page to -1 and just reversed the array to make Next to point to the earliest post.
4) Also added the same functionality to Previous link (in case of earliest post)
5) The remove_action in child theme’s functions.php was too early, so set it to trigger later.Looks like this and seems to work for now. Thanks again!
function custom_ascend_portfolio_nav() { global $post, $ascend; if(isset($ascend['portfolio_single_nav']) && $ascend['portfolio_single_nav'] == 1) { echo '<div class="post-footer-section">'; if(isset($ascend['portfolio_single_nav_cat']) && 1 == $ascend['portfolio_single_nav_cat']) { $prev_post = get_adjacent_post(true, null, true, 'portfolio-type'); $next_post = get_adjacent_post(true, null, false, 'portfolio-type'); } else { $prev_post = get_adjacent_post(false, null, true); $next_post = get_adjacent_post(false, null, false); } if ( empty( $next_post ) && empty( $prev_post ) ) { $containerclass = 'nav-no-next-previous'; } else { $containerclass = ''; } echo '<div class="kad-post-navigation portfolio-nav clearfix '.esc_attr($containerclass).'">'; if ( !empty( $prev_post ) ) : echo '<div class="alignleft kad-previous-link">'; echo '<a href="'.get_permalink( $prev_post->ID ).'"><span class="kt_postlink_meta kt_color_gray">'.__('Previous Project', 'ascend').'</span><span class="kt_postlink_title">'. $prev_post->post_title.'</span></a>'; echo '</div>'; else : $term_list = wp_get_post_terms($post->ID, 'portfolio-type', array("fields" => "all")); $term_list_item = $term_list[0]; $args = array( 'posts_per_page' => -1, 'orderby' => 'menu_order', 'exclude' => $post->id, 'order' => 'ASC', 'post_type' => 'portfolio', 'portfolio-type' => $term_list_item->slug, 'post_status' => 'publish', ); $prev_post = get_posts( $args ); if ( !empty( $prev_post ) && isset( $prev_post[0] ) ) { echo '<div class="aligleft kad-previous-link">'; echo '<a href="'.get_permalink( $prev_post[0]->ID ).'"><span class="kt_postlink_meta kt_color_gray">'.__('Previous Project', 'ascend').'</span><span class="kt_postlink_title">'. $prev_post[0]->post_title.'</span></a>'; echo '</div>'; } endif; if(isset($ascend['portfolio_link_type']) && $ascend['portfolio_link_type'] == 'type') { $main_term = ''; if(class_exists('WPSEO_Primary_Term')) { $WPSEO_term = new WPSEO_Primary_Term('portfolio-type', $post->ID); $WPSEO_term = $WPSEO_term->get_primary_term(); $WPSEO_term = get_term($WPSEO_term); if (is_wp_error($WPSEO_term)) { if ( $terms = wp_get_post_terms( $post->ID, 'portfolio-type', array( 'orderby' => 'parent', 'order' => 'DESC' ) ) ) { $main_term = $terms[0]; } } else { $main_term = $WPSEO_term; } } elseif ( $terms = wp_get_post_terms( $post->ID, 'portfolio-type', array( 'orderby' => 'parent', 'order' => 'DESC' ) ) ) { $main_term = $terms[0]; } if ( $main_term ) { echo '<div class="kad-grid-link">'; echo '<a href="'.get_term_link( $main_term->slug, 'portfolio-type' ).'" class="kt_color_gray"><i class="kt-icon-th-large"></i></a>'; echo '</div>'; } } else if(isset($ascend['portfolio_link_type']) && $ascend['portfolio_link_type'] == 'page') { $parent_id = $ascend['portfolio_link']; if( !empty($parent_id)) { echo '<div class="kad-grid-link">'; echo '<a href="'.get_page_link($parent_id).'" class="kt_color_gray"><i class="kt-icon-th-large"></i></a>'; echo '</div>'; } } if ( !empty( $next_post ) ) : echo '<div class="alignright kad-next-link">'; echo '<a href="'.get_permalink( $next_post->ID ).'"><span class="kt_postlink_meta kt_color_gray">'.__('Next Project', 'ascend').'</span><span class="kt_postlink_title">'. $next_post->post_title.'</span></a>'; echo '</div>'; else : $term_list = wp_get_post_terms($post->ID, 'portfolio-type', array("fields" => "all")); $term_list_item = $term_list[0]; //print_r($term_list_item->slug); $args = array( 'posts_per_page' => -1, 'orderby' => 'menu_order', 'exclude' => $post->id, 'order' => 'ASC', 'post_type' => 'portfolio', 'portfolio-type' => $term_list_item->slug, 'post_status' => 'publish', ); $next_post = get_posts( $args ); $next_post = array_reverse( $next_post ) ; //print_r($next_post); if ( !empty( $next_post ) && isset( $next_post[0] ) ) { echo '<div class="alignright kad-next-link">'; echo '<a href="'.get_permalink( $next_post[0]->ID ).'"><span class="kt_postlink_meta kt_color_gray">'.__('Next Project', 'ascend').'</span><span class="kt_postlink_title">'. $next_post[0]->post_title.'</span></a>'; echo '</div>'; } endif; echo '</div> <!-- end navigation -->'; echo '</div>'; } } add_action( 'kadence_single_portfolio_footer', 'custom_ascend_portfolio_nav', 20 ); add_action( 'after_setup_theme', 'tmp_remove_original_nav', 0 ); function tmp_remove_original_nav() { remove_action( 'kadence_single_portfolio_footer', 'ascend_portfolio_nav', 20 ); }In forum: Membership ForumsJanuary 28, 2019 at 2:46 pm #214714We just added the category “kadence blocks” the pro kadence blocks hasn’t updated yet but they are still there just in default categories. For Post grid look in the “widget” category. Also note that you can always search and if you search KT you would see all the blocks.
Ben
In forum: Membership ForumsI created a page using the new ‘Post Grid/Carousel’ block to test it out. I worked pretty well. However, I suddenly no longer see the Post Grid/Carousel’ block in the Kadence Blocks section of the ‘Add block’ dialog; it just disappeared.
I can no longer use this block. At the same time it still listed under Settings > Kadence Blocks.
Also the page where I used the block, still shows all the block settings and seems to be working fine.
See screenshots in this Drive folder
I have another testing environment where I install the Ascend demos for testing / checking. Also on the imported demo site, the ‘Post Grid/Carousel’ block is missing.
I tried disabling all plugins (except Kadence Blocks + Kadence Blocks Pro) but this did not resolve the issue.
WordPress 5.0.3
Ascend – Premium Version: 1.7.1 with Child Theme
Kadence Blocks Version 1.2.5
Kadence Block Pro Version 1.0.6In forum: Ascend ThemeIn reply to: Newest portfolio item’s “Next Project” link
January 28, 2019 at 2:14 pm #214702That file is for blog posts, you would need to use a function and unhook the current one, in your child them functions.php file you can add this:
function custom_ascend_portfolio_nav() { global $post, $ascend; if(isset($ascend['portfolio_single_nav']) && $ascend['portfolio_single_nav'] == 1) { echo '<div class="post-footer-section">'; if(isset($ascend['portfolio_single_nav_cat']) && 1 == $ascend['portfolio_single_nav_cat']) { $prev_post = get_adjacent_post(true, null, true, 'portfolio-type'); $next_post = get_adjacent_post(true, null, false, 'portfolio-type'); } else { $prev_post = get_adjacent_post(false, null, true); $next_post = get_adjacent_post(false, null, false); } if ( empty( $next_post ) && empty( $prev_post ) ) { $containerclass = 'nav-no-next-previous'; } else { $containerclass = ''; } echo '<div class="kad-post-navigation portfolio-nav clearfix '.esc_attr($containerclass).'">'; if ( !empty( $prev_post ) ) : echo '<div class="alignleft kad-previous-link">'; echo '<a href="'.get_permalink( $prev_post->ID ).'"><span class="kt_postlink_meta kt_color_gray">'.__('Previous Project', 'ascend').'</span><span class="kt_postlink_title">'. $prev_post->post_title.'</span></a>'; echo '</div>'; endif; if(isset($ascend['portfolio_link_type']) && $ascend['portfolio_link_type'] == 'type') { $main_term = ''; if(class_exists('WPSEO_Primary_Term')) { $WPSEO_term = new WPSEO_Primary_Term('portfolio-type', $post->ID); $WPSEO_term = $WPSEO_term->get_primary_term(); $WPSEO_term = get_term($WPSEO_term); if (is_wp_error($WPSEO_term)) { if ( $terms = wp_get_post_terms( $post->ID, 'portfolio-type', array( 'orderby' => 'parent', 'order' => 'DESC' ) ) ) { $main_term = $terms[0]; } } else { $main_term = $WPSEO_term; } } elseif ( $terms = wp_get_post_terms( $post->ID, 'portfolio-type', array( 'orderby' => 'parent', 'order' => 'DESC' ) ) ) { $main_term = $terms[0]; } if ( $main_term ) { echo '<div class="kad-grid-link">'; echo '<a href="'.get_term_link( $main_term->slug, 'portfolio-type' ).'" class="kt_color_gray"><i class="kt-icon-th-large"></i></a>'; echo '</div>'; } } else if(isset($ascend['portfolio_link_type']) && $ascend['portfolio_link_type'] == 'page') { $parent_id = $ascend['portfolio_link']; if( !empty($parent_id)) { echo '<div class="kad-grid-link">'; echo '<a href="'.get_page_link($parent_id).'" class="kt_color_gray"><i class="kt-icon-th-large"></i></a>'; echo '</div>'; } } if ( !empty( $next_post ) ) : echo '<div class="alignright kad-next-link">'; echo '<a href="'.get_permalink( $next_post->ID ).'"><span class="kt_postlink_meta kt_color_gray">'.__('Next Project', 'ascend').'</span><span class="kt_postlink_title">'. $next_post->post_title.'</span></a>'; echo '</div>'; else : $args = array( 'posts_per_page' => 1, 'orderby' => 'date', 'exclude' => $post->id, 'order' => 'ASC', 'post_type' => 'portfolio', 'post_status' => 'publish', ); $next_post = get_posts( $args ); if ( !empty( $next_post ) && isset( $next_post[0] ) ) { echo '<div class="alignright kad-next-link">'; echo '<a href="'.get_permalink( $next_post[0]->ID ).'"><span class="kt_postlink_meta kt_color_gray">'.__('Next Project', 'ascend').'</span><span class="kt_postlink_title">'. $next_post[0]->post_title.'</span></a>'; echo '</div>'; } endif; echo '</div> <!-- end navigation -->'; echo '</div>'; } } add_action( 'kadence_single_portfolio_footer', 'custom_ascend_portfolio_nav', 20 ); remove_action( 'kadence_single_portfolio_footer', 'ascend_portfolio_nav', 20 );Ben
In forum: Virtue ThemeIn reply to: Blog Page: Use Grid Layout with Sidebar
Correct. Here is what I’m trying to accomplish…and it may not be possible. I will try to explain.
I want the Home Slider at the top under logo.
Then blog grid showing latest posts under slider with the side bar to the right.
Then Instagram feed along the bottom just above footer. If I have to put the Instagram feed in footer that works too. Just want it to be a carousel. Medium size. Proportionate to layout. I am having a heck of time with Instagram Feed plugin. Had to delete for my sanity. <laughing>Is all that possible with this theme?
Thank you,
Pam -
AuthorSearch Results


