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+'
-
AuthorSearch Results
-
In forum: Virtue Theme
In reply to: Sidebar Missing on front page
In forum: Virtue ThemeIn reply to: Sidebar Missing on front page
September 5, 2013 at 3:47 am #433Hey Glenda, The theme is currently not set up to have a sidebar on the home page. This is a request I am working to add in the next version, as your not the first to ask for it. But it’s complicated because of all the options you can have on the home page. I hope to have it released in the next week.
Ben
In forum: Virtue ThemeHi,
I am at a loss to work out how I get a sidebar on the front page. I have tried multiple variations, but just can’t work it out.
I have tried using posts rather than static. but it still wont let me have a sidebar.
Can you advise how to do it.
The site is *Login to see linkIn forum: Virtue ThemeTopic: Shop issues
I’ve just purchased the premium theme. First, I can’t get the default sorting to work with my shop. I loaded 6 items, and I also have the demo items in the store as well. It doesn’t work like your premium demo where the entire is store is sorted… it doesn’t even sort on the single page.
I also can’t seem to get the shop to display more than 10 items on one page. I have changed it in theme options, but it does not affect the shop at all.
Thanks in advance for your help!
In forum: Virtue ThemeIn reply to: New upgrade
September 1, 2013 at 7:01 pm #412Hey Akeisha,
From the my account page login and download the file. That file is the file you need to upload.Then upload it to your WordPress site as a new theme. Once uploaded you can activate it. The version of the theme should be 1.3.5
Hope that helps,
Ben
In forum: Virtue ThemeIn reply to: "show category filter"
September 1, 2013 at 5:39 pm #410Yes, It’s really better used if you set the product count to show all your products on the first page. The filter can only grab whats been queried onto the page. If you have a ton of products and want to be able to sort down you are better off using a category menu.
Thanks,
Ben RitnerIn forum: Virtue ThemeTopic: Caption in Image Slider
In forum: Virtue ThemeTopic: "show category filter"
this function is a really cool effect, but it appears to only work well if there is less than 1 page of products.
Even on the sample (*Login to see link If you’re in the [all] and click on [electronics] it will only display the first 3 items on the first page, and the rest on page 2 along with a random T-shirt.
In forum: Virtue ThemeIn reply to: Search Form at top of page
In forum: Virtue ThemeIn reply to: Search Form at top of page
August 30, 2013 at 2:51 am #380Just sent you an email with a copy of virtue where I made the top search widgetized.
Ben
In forum: Virtue ThemeIn reply to: New upgrade
In forum: Virtue ThemeIn reply to: Testimonials in sidebars
August 29, 2013 at 6:49 am #368Ok new version is now available, please download from the my account page here at Kadence Themes. It fixes this issue.
In forum: Virtue ThemeIn reply to: Search Form at top of page
In forum: Virtue ThemeTopic: Search Form at top of page
Hi I like the search form that is at the top f the page but the results it returns I don’t like. For the purposes of woocommerce, is it possible to set such that it will only return results from the products published to the site just like the plugin “search-by-sku-for-woocommerce”? Here is this plugins code:
<?php
/*
Plugin Name: Search By SKU – for Woocommerce
Plugin URI: *Login to see link
Description: The search functionality in woocommerce doesn’t search by sku by default. This simple plugin adds this functionality to both the admin site and regular search
Author: Matthew Lawson
Version: 0.4
Author URI: *Login to see link
*/add_filter(‘the_posts’, ‘variation_query’);
function variation_query($posts, $query = false) {
//var_dump($posts);die();
if (is_search())
{
$ignoreIds = array(0);
foreach($posts as $post)
{
$ignoreIds[] = $post->ID;
}//get_search_query does sanitization
$matchedSku = get_parent_post_by_sku(get_search_query(), $ignoreIds);if ($matchedSku)
{
foreach($matchedSku as $product_id)
{
$posts[] = get_post($product_id->post_id);}
}
return $posts;
}return $posts;
}function get_parent_post_by_sku($sku, $ignoreIds) {
//Check for
global $wpdb, $wp_query;$results = array();
//Search for the sku of a variation and return the parent.
$ignoreIdsForMySql = implode(“,”, $ignoreIds);
$variations = $wpdb->get_results(
”
SELECT p.post_parent as post_id FROM $wpdb->posts as p
join $wpdb->postmeta pm
on p.ID = pm.post_id
and pm.meta_key=’_sku’
and pm.meta_value LIKE ‘%$sku%’
join $wpdb->postmeta visibility
on p.post_parent = visibility.post_id
and visibility.meta_key = ‘_visibility’
and visibility.meta_value <> ‘hidden’
where 1
AND p.post_parent <> 0
and p.ID not in ($ignoreIdsForMySql)
and p.post_status = ‘publish’
group by p.post_parent
”
);//var_dump($variations);die();
foreach($variations as $post)
{
//var_dump($var);
$ignoreIds[] = $post->post_id;
}
//If not variation try a regular product sku
//Add the ids we just found to the ignore list…
$ignoreIdsForMySql = implode(“,”, $ignoreIds);
//var_dump($ignoreIds,$ignoreIdsForMySql);die();
$regular_products = $wpdb->get_results(
“SELECT p.ID as post_id FROM $wpdb->posts as p
join $wpdb->postmeta pm
on p.ID = pm.post_id
and pm.meta_key=’_sku’
AND pm.meta_value LIKE ‘%$sku%’
join $wpdb->postmeta visibility
on p.ID = visibility.post_id
and visibility.meta_key = ‘_visibility’
and visibility.meta_value <> ‘hidden’
where 1
and (p.post_parent = 0 or p.post_parent is null)
and p.ID not in ($ignoreIdsForMySql)
and p.post_status = ‘publish’
group by p.ID“);
$results = array_merge($variations, $regular_products);
#var_dump($variations,$regular_products);
//var_dump($results);
$wp_query->found_posts += sizeof($results);return $results;
}?>
In forum: Virtue ThemeTopic: hover color
I want to change the hover color on my main menu. The stylesheet (style.css) for the theme doesn’t have much in it, not what I normally see in the other theme’s I’ve used and I can’t find where to change things like this. The page is here for now until I’m finished with it: *Login to see link Thanks for some points in the right direction.
Madison
In forum: Virtue ThemeTopic: Spacing issues
In forum: Virtue ThemeIn reply to: How to use pro theme
August 22, 2013 at 4:55 am #325There was an issue with the updates page in a couple of the versions of virtue premium. Those pages simply tell you to download the newest version on the my account page of Kadence Themes.
When updating be sure to copy your theme options transfer code so you can transfer them into the new version.
Hope that helps
Ben
In forum: Virtue ThemeIn reply to: How to use pro theme
In forum: Virtue ThemeAugust 21, 2013 at 9:49 pm #322Please re-download from the my account page. The new file will work.
Ben
Kadence ThemesIn forum: Virtue ThemeIn reply to: How to use pro theme
-
AuthorSearch Results


