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 'child theme'
-
AuthorSearch Results
-
In forum: Virtue Theme
In reply to: Child Theme Download
Here is a link to a premium child theme: https://www.kadencewp.com/wp-content/uploads/2014/02/virtue_premium_child.zip
I’m working on a tutorial with examples on how to use one.
Is the tutorial already available? It took me some time to find out that the way described at http://codex.wordpress.org/Child_Theme is similar but not exactly the same as needed for Virtue premium child theme.
E.g.
– no import style
– and more importantly previous settings will be lost. A problem I ran into, too. Found it then at http://wordpress.org/support/topic/child-theme-57In forum: Virtue ThemeIn reply to: Move categories on product page to custom tab
$tabs[‘kad_product_custom_tab_content_0’][‘callback’] = ‘custom_cat_callcack_tab’;
return $tabs;function custom_cat_callcack_tab(){
echo “some bullshit”;
}so i got this
in my funtions.php in the child theme, but its no working, is it kinda on the right track?by the way Ben im not critisising your theme, the idea behind a support forum is to assist and guide people with your greater knowledge no? Im not asking you to develop my theme, im asking for assistance to implement the changes thats all, anyway I can see I got your backup, Its not my intention, im sitting here at 2am trying to make minor gains… thats all.
In forum: Virtue ThemeIn reply to: Move categories on product page to custom tab
August 26, 2014 at 6:42 pm #16039First. The video you linked to would work that same on this theme as it would on any other. So I’m not sure what you mean.
Second. I understand you want support to create your site exactly like you want but the simple thing is you are using a theme and thats a different service then a web developer. While a theme gives tons of options it is still a template and there is no theme that can do everything. I certainly try to make it easy to do a lot with virtue but if you purchased a theme and looked at the demo but wanted something different, I don’t get it.
As for the overview, I will try again.
You have a create a function, I would go the route of creating a custom tab that can be filtered into the woocommece product tabs. (you can look at the custom tabs for how to hook into the woocommerce tabs)
That function should pass a content variable that the tab will display when clicked. You need to use the meta call from woocommerce and get the categories for the specific product put into them content variable. (thats the meta.php part).All that should be done in a child theme using the child theme functions file. You should not edit the parent custom_woocommerce.php
Ben
In forum: Virtue ThemeIn reply to: Move categories on product page to custom tab
August 26, 2014 at 6:13 pm #16035I am not trying to stiff you but as I said in the email I sent you the other day and on this form what your asking isn’t as easy as you think. Unless you have some general understanding with how child themes, and php hooks and actions work it’s really hard for me to support such a deep customization. And it’s not support to write such a deep customization.
I’m not sitting here with the code not wanting to post, I know the theory so I know how to do it but to actually write out the code would take me an hour or so of testing and that doesn’t account for designing your three column layout.I am sorry but this really is a customization that is beyond the realm of support. I have tried to explain how you can do it but I can’t write it for you.
As this is a woocommerce request anyway you might find someone on the woocommerce forms who has done this.
Ben
In forum: Virtue ThemeIn reply to: Custom Feature Page Template in Child Theme
BTW: I did use a fullwidth page and page builder to do the initial mockup and most of the CSS. Then once I got that the way I wanted I recreated it in the page-feature.php in the child theme. I didn’t just leave it in page builder though because I wanted it to appear above the page-header (title/subtitle) and be editable using the current feature metabox fields.
In forum: Virtue ThemeHi,
I’m working with a child theme where I’m creating a custom feature page template. I’ve copied the page-feature.php to the child theme to use as a basis. I then added the filter to the functions.php to turn off the sidebar, but now that loses the feature content on the page (along with all the feature options in the backend). Is there another filter function I need to add to reactivate the feature content?
Once I get the feature content back, I want to split it into two columns so that I can have the selected feature content (just like on the normal feature pages) but limited to the left 70% of the row with the right 30% showing a small contact form 7 next to it.
In forum: Virtue ThemeIn reply to: Show off your site!
Here’s my portfolio site using a simple customized child theme based on this great theme.
http://DreamLight.com/I’m also in the process of creating another customized child theme based on this theme for another site.
In forum: Virtue ThemeIn reply to: Move categories on product page to custom tab
August 23, 2014 at 11:52 pm #15826There is no option to “move” You can hide the ones below the price and add your own set up in a custom tab. But that would be extremely time consuming.
My best guess is to create your own function with a shortcode. It should get the categories and output them in a three column layout. Then write the shortcode in your custom tab.
Unfortunately this is beyond support and will require that you use a child theme and use the wordpress calls for categories.
Another option would be to tap into the woocommerce function for categories and add a shortcode for it. the style wouldn’t be three columns though.
Ben
In forum: Virtue ThemeIn reply to: Subcategories of categories on same page
August 23, 2014 at 10:59 pm #15821I’m not totally sure I understand…
But here goes,
In the woocommerce settings you can set categories to show products of child categories or to show just the category image and link to sub category. Anything else would require that you completely change how woocommerce loops through categories, and I would suggesting seeking out woocomerce for the best route to do that.
What you can do is create your own category pages. By that I mean use a page and add your own shortcodes to the page. with your own headings.
http://docs.woothemes.com/document/woocommerce-shortcodes/Ben
In forum: Virtue ThemeIn reply to: mobile view
August 20, 2014 at 12:54 pm #15570This theme doesn’t really work like that. to much is designed for mobile, there is no simple way to turn if off. So I can help with a little css but you would have to make a child theme, override javascript and work out a way to make the menu work.
It’s really not a good idea with this theme.
In forum: Virtue ThemeIn reply to: Add phone number between menu and slider
Ben is right about working with a child theme or the next upgrade would wipe out your code. If you want to play around with it directly, you can do something like this:
Edit header.php
Before
<?php endif; ?>Add
<center><div class=”phone”><p>Call Now: 937-381-9339</p></div></center>Now open Theme Options / Advanced Settings / Custom CSS
Add
.phone {
font-weight: heavy;
font-size: 24px;
margin-top: 10px;
}The results:
http://cyberhawkdesigns.com/wp-content/uploads/2014/08/web_design_wordpress_custom.jpg
In forum: Virtue ThemeIn reply to: mobile slider dimensions
August 20, 2014 at 1:33 am #15523CSS:
@media (max-width: 767px) { .kad_fullslider { display:none; } }Or if you wanted to add a child theme function you can try something like this:
add_action( 'template_redirect', 'removeslidermobile', 10 ); function removeslidermobile() { $detect = new Mobile_Detect_Virtue; if($detect->isMobile() && !$detect->isTablet()) { remove_action( 'get_header', 'revolutionslider_top', 1 ); } }Ben
In forum: Virtue ThemeIn reply to: Add phone number between menu and slider
August 20, 2014 at 12:23 am #15517“How can add phone number between menu and slider”
Aside from moving your slider into the page content, using page builder or the home widget area. You can’t without editing the code.
If you want to edit the code you should work in child theme.
Ben
In forum: Virtue ThemeAugust 14, 2014 at 10:41 am #15174A child theme,
Use the wp_dequeue_script() function to remove the main js file from loading, then copy that main js file edit line 206Then use the wp_enqueue_script() function to load the javascript file from the child theme.
Ben
In forum: Virtue ThemeIn reply to: Adding icons from icomoon
August 14, 2014 at 10:36 am #15173Yes you can add icons. Icomoon is a great tool. You want to make sure to use a prefix on your icons so they don’t conflict with the theme. For example. br-icon-home instead of icon-home.
You need to use a child theme and you would add the css icomoon gives you to the child theme css file make sure the fonts are in the child theme and linked with the css.
Last if you want the icons to be an option throughout the theme you can use this filter function. You have to make an array with your icons so for example:
add_filter('kadence_icon_list', 'br_icon_list'); function br_icon_list($icons) { $bricons = array('br-icon-home' => 'br-icon-home','br-icon-custom' => 'br-icon-custom','br-icon-office' => 'br-icon-office','br-icon-logo' => 'br-icon-logo'); $result = array_merge($icons, $bricons); return $result; }A note the icons will appear in the font end but in the backend you will only see the names unless you load the icon font and css for the wordpress admin.
BenIn forum: Virtue ThemeIn forum: Virtue ThemeIn reply to: Parse Error no access to site.
August 12, 2014 at 8:39 am #14989ok, if you want to add css i would use a child theme or the custom css box in the theme options > advanced settings.
If you want to add a function then I would use a child them functions file.
Ben
In forum: Virtue ThemeIn reply to: Google Map in tab only loading partially
August 9, 2014 at 5:04 pm #14853Hey,
Yes I know of the map trigger to resize. It doesn’t reset where the center of the map is though. So while it will create the map in the size you want the marker will be in the top left corner.. off screen. So It’s not a great workaround. I’ve researched for a while today and I’ve experimented with different things. The best I can up with is destroying the map using a trigger and rebuilding it every time the tab is clicked.
It’s not perfect but should work for what you want, unfortunately there is no way to do this through a child theme or else I would send you the code I am working with. I have to restructure how the map is loaded completely for this kind of thing to work. I’m testing to make sure I don’t create problems else where throughout the theme then I’ll update.Ben
In forum: Virtue ThemeIn reply to: Caroussel Slider width
Hi Ben,
I would say : how can i have the same width like now
You already give me one tips for “latest post slider” by :
Hey,
This really isn’t possilbe without changing some code. Do you have a child theme? if you copy the templates/home/latest-slider.php file into a child theme you can edit line 4 and make the slider width 1170 by adding this at the end of line 4;$slidewidth = 1160;
And then you can remove the “container” class from line 6.
Ben
I want know the same for “Caroussel Slider”
Thx
In forum: Virtue ThemeIn reply to: Adding PHP coded forms on new pages
August 7, 2014 at 9:03 am #14715Hey,
What is the end result of the registration form. Are the users information sent to an email?You can create your own custom php pages using a child theme and using custom page templates.
You can also use a plugin like contact form 7 to create custom forms instead of creating your own if the result is just an email sent to you.
Ben
-
AuthorSearch Results


