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 'COLUMNS'
-
AuthorSearch Results
-
In forum: Virtue Theme
In reply to: Products in the store
In forum: Virtue ThemeIn reply to: Including portfolio category grid on home page
May 30, 2015 at 10:41 pm #43352You can use a shortcode like this:
[portfolio_types orderby=date columns=4 items=4]Ben
In forum: Virtue ThemeIn reply to: Conflict with Nav Menu Roles plugin
Dear Ben,
here’s the functions.php content:
<?php // Enable Nav Menu Roles global $kt_custom_menu; remove_filter( 'wp_setup_nav_menu_item', array( $kt_custom_menu, 'kt_add_nav_fields' ) ); remove_action( 'wp_update_nav_menu_item', array( $kt_custom_menu, 'kt_update_nav_fields'), 10, 3 ); remove_filter( 'wp_edit_nav_menu_walker', array( $kt_custom_menu, 'kt_edit_admin_walker'), 10, 2 ); // Enqueue our stylesheet after our parent template stylesheet add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } // http://stackoverflow.com/questions/19419093/woocommerce-trying-to-get-variable-product-quantity-sum-in-admin function add_qty_admin( $column ) { if (!isset($columns['total_qty'])) $columns['total_qty'] = "Quantity"; return $columns; } add_filter( 'manage_posts_columns', 'add_qty_admin' ); function admin_post_data_row($column_name, $post_id) { global $wpdb; switch($column_name) { case 'total_qty': $query = "SELECT sum(meta_value) FROM $wpdb->posts AS p, $wpdb->postmeta AS s WHERE p.post_parent = %d AND p.post_type = 'product_variation' AND p.post_status = 'publish' AND p.id = s.post_id AND s.meta_key = '_stock'"; $product_qty = $wpdb->get_var($wpdb->prepare($query,$post_id)); if ($product_qty) echo $product_qty; break; default: break; } } add_action( 'manage_posts_custom_column', 'admin_post_data_row', 10, 2);Unfortunatelly I cannot give you a login since the website is hosted locally for security purpouses. Although the functions.php is enough to understand the problem I think. I saw also for plugin incompatibilities but I do not see, and enabling another theme allow me to see those options.
Thanks in advance again,
JulianIn forum: Virtue ThemeIn reply to: Including portfolio category grid on home page
Hey Edmundo,
You can use a shortcode like this:[portfolio_posts orderby=date excerpt=false columns=4 items=4 height=200 lightbox=true showtypes=true cat=photos]
Just specify your category in replace of “photos”. Then you can paste it into a visual editor widget using your home widget area.Hannah
In forum: Virtue ThemeIn reply to: top and bottom lines and adding 2nd sidebar
1. Yes, I can definitely try it out.
Btw, from the previous conversation regarding pagebuilder, I tried to add two columns underneath the sidebar and setting as sidebar template…..the columns were not aligning underneath the sidebar but rather shifted left as if there was a blank sidebar next to it. Is there a shortcode to fix this?
2. yes, it was the primary…sorry about that. How do I add a hint of shadow or some kind of styling/texture to the bar?
In forum: Pinnacle ThemeIn reply to: 4 column menu
In forum: Pinnacle ThemeTopic: 4 column menu
In forum: Pinnacle Themehello, i have a question about alignment options.
on my site
when you scroll down to the “Ministries” on the home page, i love how it ligns up with the items 4 columns wide.
if you view it on a cell phone, it shows them only 1 column wide, and i understand why it does that, i just dont really like the way it looks. is there anything i can do to make it appear 4 columns wide on the cell phone?
In forum: Virtue ThemeIn reply to: top and bottom lines and adding 2nd sidebar
Good Morning,
1. Any chance I could increase the sidebar size to 35% on desktops? I would like to keep the current sidebar and just add two additional columns underneath it to equal 35%
3. I scaled down the images significantly (1/3 of its original size now) this morning and it’s still slow. I don’t know what else to do. Do you have an alternative solution that would allow a placement of one image the size of the slider with linking capability to the blog post similar to what the slider can do?In forum: Virtue ThemeIn reply to: top and bottom lines and adding 2nd sidebar
1. What is the size of the current sidebar? Any chance I can resize it so that when I add the two columns to mimic sidebars, they will align with the primary sidebar. The size will have to be big enough to fit two 300×250 ads.
3. I scaled down the images alot and reduced the slider to show only two images now and it is still having a problem loading. I also contacted the Ad Inserter plugin author and he disabled the plugin and the loading was still very slow. I’d really like to keep the slider for my homepage. Anything you could do to help solve this problem? Would greatly appreciate it.
In forum: Virtue ThemeThanks, worked great.
Here a page that uses the blog grid page template – https://www.richyrewards.com/freebies/
It’s set to 3 columns and 6 per page, is there any way to select two categories on the dropdown? I can set one as a sub-category, but the posts are mixed together based on date order, rather than displaying all of one category, then the other.
In forum: Virtue ThemeIn reply to: top and bottom lines and adding 2nd sidebar
1. So if your page is static then you’ve selected a page to be the front page, correct? Just need to go into that page and create two columns in page builder. Then add your widgets through that instead of the home widget area. These tutorials should help:
https://www.kadencewp.com/creating-a-home-page-with-virtue/
https://www.kadencewp.com/using-page-builder-virtue-premium/2. Add this to your custom css box in theme options > advanced settings:
@media (min-width: 992px) { #logo { width: 140%; } }3. If the slider is slow it is more than likely because of your images, not the slider itself. Have you tried scaling the images down? And what do you mean you want to add back one post?
Hannah
In forum: Virtue ThemeMay 27, 2015 at 3:43 pm #42876Hey.
Based on what I see on your site your not using the blog grid template. And you can’t have pagination from a shortcode. Your also using the wrong shortcode if you want three columns. Should be:[blog_grid orderby=date items="-1" columns=3 cat="freebies"]Hope that helps,
Ben
In forum: Virtue ThemeHi,
I’ve putting a system in place for posts to expire on a certain date and switch to a new category, but I wanted the expired posts to appear after the current posts, rather than being mixed together and sorted by date.
I’m nearly there with it now, the main snag is having this page paginated with 6/9 posts on one page. Here’s what I’m using so far:
[blog_posts items=”999″ orderby=”date” columns=3 cat=”freebies”]
[blog_posts items=”999″ orderby=”date” columns=3 cat=”expired-freebies”]Test page – *Login to see link
The current system is automatically paginated by Blog Grid page template, with 6 on a page.
The only other issue is that the page still displays the posts in 2 columns rather than 3, is there something wrong with the shortcode?
Thanks
In forum: Virtue ThemeIn reply to: top and bottom lines and adding 2nd sidebar
What do you mean you set it to Home attribute? You’re wanting two sidebars on the homepage, correct? Is your front page set as a static page in Settings > Reading? Do you have page content enabled in theme options > home layout? If you want a sidebar like feature on the left side of the page you need to create at least two columns and make the first smaller. Does that make sense?
Hannah
In forum: Virtue ThemeIn reply to: Home Page – Best Selling Products
In forum: Virtue ThemeIn reply to: Home Page – Best Selling Products
May 26, 2015 at 2:11 pm #42662ok, so on your shop page you have a sidebar. Either add a sidebar to your home page or make the columns 5 instead of 4 in your carousel.
Ben
In forum: Virtue ThemeIn reply to: Fullwidth image at top of Blog page
In forum: Virtue ThemeIn reply to: different browser looks
May 26, 2015 at 8:25 am #42533Hey, Looks like your coding with a table as your html structure… tables are really not a good way to structure content unless its actually a table of data. Each browser does tables a little different and they are inherently not responsive html.. so I have to start by strongly suggesting you remove the tables and use div tags for your layout.
In regards to why you have a difference, thats part of how browsers view tables differently. You would have to set table-layout: fixed; if you want browsers to actually set a width for the columns and then you will have a fixed width.
Ben
In forum: Virtue ThemeHello
I seem to be having some issue with getting the parallax image to display on the homepage (Home style 4). In fact there there is nowhere to select parallax in the drop down after edit row > Design > Background Image Display. The image does not display whichever option I choose however the text is visible. Also cannot set the top and bottom padding in layout as fields are missing.
Also the Image Menu on the homepage seems to be offsetting one of the images (no matter how many columns I choose) until the scrolling Menu reaches the top of the page and then they realign.
Cheers
Warwick -
AuthorSearch Results


