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
Topic: google webmaster tools
Hello,
I’ve just started to work on positioning my site, and I have a question about google webmaster verification code meaning where should I place it ? I’ve read on some forums that in the “root” but I don’t know what is that root. Other said that this code should be placed between <head> </head> but after updating theme that code will be lost. Maybe I should put for example header part php into my child theme so it wont be overwritten ?
Cheers
PiotrIn forum: Virtue ThemeIn reply to: Type tabs in portfolio post
July 29, 2014 at 11:51 am #14028Use a child theme: https://www.kadencewp.com/wp-content/uploads/2014/02/virtue_premium_child.zip
add a folder called templates and copy content-singleportfolio.php file from the parent into the child.
Where do you want the categories to show?
Ben
In forum: Virtue ThemeIn reply to: Type tabs in portfolio post
July 29, 2014 at 11:39 am #14024You can add breadcrumbs to the portfolio post which will show one of the categories. (theme options > breadcrumbs). But thats it for built in ways. If you want you can add it to the page content or values.
Else you would need to use a child theme and add a line of code to the content-singleportfolio.php file.
Ben
In forum: Virtue ThemeIn reply to: How to hide "show All", Category Filter on Shop Page
July 28, 2014 at 9:15 am #13909You can also use this css by adding to your custom css box in the theme options:
#filters li:first-child { display: none; }Ben
In forum: Virtue ThemeIn reply to: rev slider in blogpage
July 28, 2014 at 8:14 am #13899Yeah this isn’t a built in option, the simple option would be to create a child theme, copy page-blog.php and put it in your child theme, then add your revslider shortcode to the page template.
Ben
In forum: Virtue ThemeIn reply to: Help with Breadcrumbs
July 28, 2014 at 8:08 am #13898Hey Timothy,
Most breadcrumbs don’t work this way because the only way to make it possible where the breadcrumbs react to users browsing history is with cookies and thats not very reliable anyway. It’s also very complex. I don’t think there is a plugin out there that is doing it and if there was I wouldn’t really recommend.My best option I can think of is to create a function that looks for a possible second path for the product and shows both. I can’t really thing of a great way of doing this without using a child theme and overriding the single-product.php file along with adding a custom breadcrumbs function. In the end you would have two paths to your product regardless of how the user got there.
Ben
In forum: Virtue ThemeIn reply to: Carousel sorting problem
In forum: Virtue ThemeIn reply to: Changing style of some headers
July 22, 2014 at 11:09 am #13532Hey,
You would edit the code depending on where you want to change. So if you are using the image menu created in the theme options and not the widget then you can change in the template file: templates/home/image-menu.phpYou can’t change the shortcode output in a child theme without some function knowledge. Since it’s a function and not a template. You would have to remove the parent theme function then recreate it in a child theme:
So this function would remove it:
remove_shortcode('img_menu');This would add it back as long as you created the function called “mycustom_image_menu_shortcode_function”
add_shortcode('img_menu', 'mycustom_image_menu_shortcode_function');Ben
In forum: Virtue ThemeI have tried for days now to figure out how to better size my product images and the layout in my shop.
1) Please see the kadence slider on my homepage, http://www.africatrademakers.com how do I get the pictures to properly size to fit the slider proportionally. I have read other similar posts on here and tried the solutions given but I see no changes when i edit the px on both the image itself or on the slider height and width.
Also please see shop page, why are my size 10 and size 11 products positioned on the bottom with the space you see here *Login to see link
I am a complete novice at this and have learnt everything from reading posts here. Please help me with clear layman instructions on how to fix my images and layout. I am using premium with a child theme. I had to learn how to use the child theme from scratch too so i am not 100% sure if i did it all right
Please help me! I am willing to even pay someone to make my site look like a normal one…if I can afford it though, so far I haven’t been able to and that is why i started on my own like this and have been struggling ever since.
Thanks much
In forum: Virtue ThemeIn reply to: Changing style of some headers
I’m using a child theme – where do I have to edit the code?
And is it possible to change the headings in this image menu?
[img_menu link=www.example.com columns=2 title="Title Example" description="Description example" height=200 image=www.example/image.jpg]Best regards, Martin
In forum: Virtue ThemeIn reply to: Title above featured image
July 21, 2014 at 12:08 pm #13456You would need to edit the code. I suggest using a child theme. Are you wanting this to just effect the home page? Where are you wanting the featured image? Below the title or the meta?
Ben
In forum: Virtue ThemeIn reply to: How the theme to add Chinese fonts?
In forum: Virtue ThemeIn reply to: How the theme to add Chinese fonts?
In forum: Virtue ThemeIn reply to: How the theme to add Chinese fonts?
July 20, 2014 at 4:53 pm #13400So there isn’t really an easy way to do this. You would be better off just using a child theme and overriding the theme options with your font. For example. Using css to import the font file then using css to force that font to take effect.
So for example the h1 tag. You can add this css to override the theme options:
h1 {font-family: “Microsoft JhengHei”, “Microsoft YaHei” !important;}
Ben
In forum: Virtue ThemeIn reply to: Tag Description, how-to
July 20, 2014 at 4:24 pm #13393So in the child theme copy the file: templates/page-header.php and put in the child theme.
Add this inbetween line 9 and 10:
else if(is_tag()) { echo '<p class="subtitle">'.__(tag_description()).' </p>';}Ben
In forum: Virtue ThemeIn reply to: Tag Description, how-to
July 20, 2014 at 8:49 am #13366Yes do this in a child theme.
To fully answer you question where are you wanting this description to show? like on what page and where on that page?
Ben
In forum: Virtue ThemeIn reply to: Updating theme 2.4.8 > 2.4.9
July 20, 2014 at 8:36 am #133631. I would use the duplicator plugin for a backup. it’s free and easy to use. https://wordpress.org/plugins/duplicator/
2. No you shouldn’t lose anything you’ve changed. The only things that are replaced is the theme files. Everything else, (pages, theme options, posts etc) are all saved in the database.
3. If you have no intention of editing theme files then you don’t need a child theme and I don’t recommend it.Ben
In forum: Virtue ThemeTopic: Tag Description, how-to
Hi Ben,
Searched for tag description and found one post (By Sven) indicating that if you want to show tag descriptions one should make a ‘tag.php’ file. My question: what exact lines are necessary in that file and where do I put the file. Last question: I imagine I would better be off doing this in a child theme, right?Thx man,
CharlesIn forum: Virtue ThemeTopic: Updating theme 2.4.8 > 2.4.9
First of all, thanks for creating this easy-to-work-with theme! I’ve made a pretty good looking website (in my opinion) in 1 day, and I’m new to WordPress.
I currently have version 2.4.8 installed. But there is an update to version 2.4.9.
However, I made a complete website already, and I don’t want to risk losing it. The website is quite easy though. The main page contains a slider, carousel, etc. (made with page builder). And the only other 2 pages are with blog posts. But with many images, and I changed quite a few settings using the dashboard.
1) Is there a way to make an entire back-up of the complete website? Does this mean copying the entire folder containing the website, and making a back-up of the database?
It also says; Please Note: “Any customizations you have made to theme files will be lost. Please consider using child themes for modifications.”
2) When is something a customization? When I am going to change CSS files, or when I make page lay-outs with page builder?
I didn’t make any changes to CSS files or any other files of the website, but I just used the options in the theme. Do I have a risk of losing some of the things I made on the website?3) Can you recommend using a child theme? I’ve already made an entire website. Can I make a child theme using the current website?
Thanks for the help
In forum: Virtue ThemeIn reply to: Testimonial set up
Is that located in the virtue toolkit? I tried to activate and got an error message. I don’t know if it makes a difference, but I am using the child theme.
Fatal error: Cannot redeclare portfolio_post_init() (previously declared in /data/21/2/86/144/2575144/user/2823361/htdocs/wordpress/wp-content/themes/virtue_premium/lib/post-types.php:6) in /data/21/2/86/144/2575144/user/2823361/htdocs/wordpress/wp-content/plugins/virtue-toolkit/post-types.php on line 58
-
AuthorSearch Results


