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 corrupt
June 18, 2019 at 12:26 pm #228576What URL are you testing for RSS feed?
I don’t know what’s in your child theme or what you are editing there but removing and uploading a new one will still keep your site’s content intact. It’s the content of your child theme, whatever files you edited that you need to verify and update does that make sense?
Ben
In forum: Virtue ThemeIn reply to: Child theme corrupt
Wordpress notified me that 3 plugins were causing problems on my website even after deleting them I was still having problems to get the site to work. Still could access the dashboard. Between working with my host provider and doing some research I got the site working it’s using the parent theme.
What I need to do now is open up a new child theme. I downloaded it from this website. Should I just delete the old child theme and then add the other one? How do I get the new site onto the child theme?
The RSS wasn’t validating.. I think it’s failure was caused by Yoast as their plugin was causing a problem on my site. Since then they have fixed it. The Glutenberg plugin kept redirecting my site 4 or 5x, where it was going? I don’t know. I deleted it.
I wasn’t saying the child theme was responsible for the RSS. I just wondered if you knew how I could fix it.
Mari-Lyn
In forum: Ascend ThemeJune 18, 2019 at 10:17 am #228550Good afternoon
I am using Ascend Premium on a site with multiple custom post types. The main blog setting is to use a right hand sidebar, but for this post type, I wish to use a full width template. I have created a child theme and taken a copy of single.php renamed as single-wpdmpro.php (tp match the cpt slug) and removed the
if ( ascend_display_sidebar() ) section.The page is using the new single-wpdmpro.php template and no sidebar is showing, but the content column width is still the same as it was before. I am not sure exactly what is controlling the width, but I suspect that I need to replace the main content div statement
<div class="main <?php echo esc_attr( ascend_main_class() ); ?>" id="ktmain" role="main">Can you please advise what classes I should use to make the content full width?
I am currently working on a local machine, so cannot post a url.
Thanks
Mandy
In forum: Pinnacle ThemeHi,
in the ascend theme there is an option in Menu Settings > Mobile Menu Options > “Make menu items that have child elements only open sub items”. This seems to have the effect of making the top level menu items clickable to expand the child elements (as the down arrow does). From a UI perspective I think this is far better as users would expect they can tap on the whole row to expand the sub menu rather than just the down arrow.
Could this functionality be incorporated into the Pinnacle Theme? Or is there a workaround I can implement as I manage an existing site and I’m concerned I may be losing customers on mobiles that have trouble expanding those sub menus.
In forum: Virtue ThemeTopic: Child theme corrupt
Hello my child theme became corrupted, due to the Yoast & Glutenburg plugins. I have the parent theme, do I delete the child theme and install and new child theme? Do you know how I can restore my RSS?
*Login to see linkIn forum: Virtue ThemeJune 17, 2019 at 1:11 pm #228472I was able to log in and run a quick test, your issue is created from “Mod_Security” on your server. This means that something you were trying to save was creating a security alert or some times this can happen from an outdated Mod Security or incorrect mod security settings.
The issue was with your custom css box. Once I tested by clearing it then mod security wouldn’t post an error. I slowly added it back to see if there some something in particular that mod security didn’t like about your css. I couldn’t find anything. It just stops allowing the save to the database at an unspecified point. I assume it’s based on character length.
I tested trying to save into the customizer and you get the same error.
so I suggest you contact your hosting provider and you can leave the theme out of it by simply showing them that if you go to customizer > additional css you can’t save your css in there. That should get them to take ownership and fix the mod security issue.
Here is an output of your css:
.boxi1 { margin-bottom: 20px; text-align: center; background: #f2f2f2; padding: 15px 0 1px; } .boxi1 div { font-size: 28px; } .kad-header-style-three #nav-main ul.sf-menu>li>a, header #logo a.brand, .logofont { text-transform: uppercase; } .sf-menu ul li:hover, .sf-menu ul li { border:0; } .sf-menu ul { border:0; } @media (max-width: 1200px) { .kad-header-style-three #nav-main ul.sf-menu > li > a {padding: 0 15px;} } @media (min-width: 992px) { .home-padding {padding: 0px 0 0px;} } .contentclass { padding-top: 10px; } .sliderclass { margin-top: 0; padding: 0; } div.product .product_image { border:0; } .page-header { border-top: 0px; } @media (max-width: 767px) { .kad-header-style-three #logo a.brand {font-size:24px;} } .kad-header-style-three .menu-cart-btn .kt-cart-total { background: rgba(255,255,255,0.7); color: #e76106; } #nav-main ul.sf-menu ul#kad-head-cart-popup li .quantity, #nav-main ul.sf-menu ul#kad-head-cart-popup ul.product_list_widget li a.remove { color: #fff; } #nav-main ul.sf-menu ul#kad-head-cart-popup .total { color: #fff; border-color: transparent; } #nav-main ul.sf-menu ul#kad-head-cart-popup .buttons .button { background: transparent; border: 2px solid #fff; } #kad-head-cart-popup ul.cart_list li:last-child { color: #fff; } @media (min-width: 600px) { .kt-panel-row-full-stretch .kad-wp-gallery .g_item { width: 25%; } } @media (min-width: 800px) { .kt-panel-row-full-stretch .kad-wp-gallery .g_item { width: 20%; } } @media (min-width: 1000px) { .kt-panel-row-full-stretch .kad-wp-gallery .g_item { width: 16.66%; } } @media (min-width: 1300px) { .kt-panel-row-full-stretch .kad-wp-gallery .g_item { width: 12.5%; } } @media (min-width: 1600px) { .kt-panel-row-full-stretch .kad-wp-gallery .g_item { width: 10%; } } .kt-panel-row-full-stretch .kad-wp-gallery .g_item { padding: 0 2px; } .kt-panel-row-full-stretch .kad-wp-gallery { margin-left: -2px; margin-right: -2px; } .kt-panel-row-full-stretch .kad-wp-gallery .grid_item { margin: 0 0 4px; } header.mobile-stickyheader .nav-trigger .nav-trigger-case { width: auto; } div.product form.cart .variations select { z-index: 1; } .footerbase { background: #323232; margin-top: 10px; } @keyframes toColor { 0% { -webkit-filter: grayscale(100%); filter: grayscale(100%); } 25% { -webkit-filter: grayscale(75%); filter: grayscale(75%); } 50% { -webkit-filter: grayscale(50%); filter: grayscale(50%); } 75% { -webkit-filter: grayscale(25%); filter: grayscale(25%); } 100% { -webkit-filter: grayscale(0%); filter: grayscale(0%); } } img { animation: toColor 1s; border-radius: 10%; } .product_image { outline: none !important; border:none!important; } .infobanner { animation: toColor 1s; } .kad-slide { animation: toColor 1s; } .infobanner:hover { -webkit-filter: grayscale(100%); /* Ch 23+, Saf 6.0+, BB 10.0+ */ filter: grayscale(100%); /* FF 35+ */ } div.about { background-image: linear-gradient(rgba(210,214,207,0.5), rgba(210,214,207,0.5)), url("https://nzalpaca.co.nz/wp-content/uploads/2018/05/about-320x340-1.jpg"); background-repeat: no-repeat; background-size: 320px 340px; width: 320px; height: 340px; border-radius: 10%; text-align: center; vertical-align: middle; padding: 10px; } .home-iconmenu a, .home-iconmenu .home-icon-item { background: #444; } .home-iconmenu a:hover, .home-iconmenu .home-icon-item:hover { background: #555; border-radius: 5%; } .kad_add_to_cart, .quantity { display: none; } .product_item .kad_add_to_cart { display:none !important; } .woocommerce-ordering, .woocommerce-info, a.button.wc-backward { display: none; } .woocommerce span.onsale { background-color: #333; } .sku, .posted_in, .tagged_as, .product_meta { display: none !important; } /*------------------bbp-------------*/ #bbp_search_submit.button { background-color: #333; color: #eee; } #bbp_search_submit.button:hover { background-color: #eee; color: #333; } .button { background-color: #333; color: #eee; } .button:hover { background-color: #eee; color: #333; } #submit.kad-btn { background-color: #333; color: #eee; } #submit.kad-btn:hover { background-color: #eee; color: #333; } legend { color: #eee; } #gallery-1 img { border: none !important; padding: 3px; } #gallery-2 img { border: none !important; padding: 2px; } /*------------bbp--------*/ /* BBPress font fix */ /*Template notice info*/ div.bbp-template-notice.info { border: #cee1ef 1px solid; background-color: #fff; } #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer { background: #444; border: 0px solid #eee; color: white !important; } #bbpress-forums div.bbp-forum-title h3, #bbpress-forums div.bbp-topic-title h3, #bbpress-forums div.bbp-reply-title h3 , #bbpress-forums a.bbp-forum-title, #bbpress-forums a.bbp-topic-permalink { font-size: 16px; color: #333; text-decoration: underline; } #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic, #bbpress-forums li.bbp-body a { border-top: 1px solid #eee; overflow: hidden; padding: 8px; color: #333; font-style: italic; } #bbpress-forums a.bbp-author-name { font-size: 12px; color: #333; } .bbp-forums, .bbp-topics { border: 1px solid rgba(125, 125, 125, .5); color: white !important; } .bbp-forums a { color: #333 !important; } /*20180613*/ #bbpress-forums .bbp-topic-content, #bbpress-forums .bbp-reply-content { font-size: 12px; /* color: #333; */ } table.bbp-forums th, table.bbp-topics th, table.bbp-topic th, table.bbp-replies th { background-color:black; color: #333 !important; } .bbp-header { color: #fff; } .bbp-body { color: #333; } .avatar-14 { display: none !important; } .bbp-forums a { color: #333 !important; } .product_item { background-color:#444; border: none !important; } .woocommerce-result-count, .woocommerce-ordering { display: none; } .email { background-color:#333; color:#fff !important; } .email:hover { background-color:#444; color:#cecece !important; } .amount { color:#fff !important; } .icon-location, .icon-envelope, .subhead, .icon-user2, .icon-mobile { display: none; } #containerfooter .virtue_social_widget a { display: inline-block; float: none; } #containerfooter .virtue_social_widget { text-align: center; } .widget_kadence_social { text-align: center; } .postdate, .home_blog_title { margin-top: 10px; } .light-dropshaddow, .mfp-img { border-radius: 0%; border: none; } .attachment-full.size-full { border-radius: 0% !important; border: #000 6px solid !important; } /*---for contact us effect in footer---*/ .contact-class:hover { background: #444; color: #cecece !important; padding: 30; } /*---remove blue line around clicked link---*/ a { outline: none !important; color: #fff !important; } /*---ensure blog images fit within box on front page---*/ .imghoverclass { padding: 10px; } .wc-bookings-booking-form .form-field input[type=number] { text-align: right; } .blog_item { border:none!important; } #submit.kad-btn.kad-btn-primary { background-color:#333 !important; color:#fff !important; } #submit.kad-btn.kad-btn-primary:hover { background-color:#cecece !important; color:#fff !important; } #wc_bookings_field_duration, #wc_bookings_field_persons { width: 5%; text-align: right; } .wc-bookings-booking-form .form-field input[type=number] { width: 10%; text-align: right; } .wc-bookings-booking-cost, .wc-bookings-booking-form { background:#333333 !important; } .wc-bookings-booking-form .block-picker li:nth-child(odd) a { background: #333; } .wc-bookings-booking-form .block-picker li:nth-child(even) a { background: #333; } .button.disabled, .button:disabled { display: none; } p.order-again { display: none; } a.about_paypal { display: none; } #payment div.payment_box { /*---display: none !important;---*/ background: #333; color: #fff; } .payment_method_stripe { max-width: 400px; } .stripe-icon { max-width: 60px !important; } .rr_star { font-size: 20px; background: #444; } .rr_successful { font-size: 16px; background: #444; } input#submitReview { background-color: #333; color: #eee; border:none!important; } input#submitReview:hover { background-color: #eee; color: #333; border:none!important; } /*---hide Filter Products on Mobile---*/ .kad-shop-filter { display: none; } /*---hide ALL on Alpaca males for sale page---*/ .selected { display: none; }I also suggest that you have the host update your php version since you are not yet using version 7. I suggest you go to 7.2 or higher.
In forum: Pinnacle ThemeIn reply to: Recent Posts Images
This reply has been marked as private.June 14, 2019 at 1:17 pm #228317In forum: Pinnacle ThemeIn reply to: Recent Posts Images
June 14, 2019 at 11:55 am #228314Hey,
Got it! thanks for the clarification.The recent posts carousel is designed to output posts with images in a landscape ratio. The few images that are output that way are correct in terms of what the purpose and design are trying to accomplish. The reason your other images are not the landscape ratio is that they are not large enough images (or actually your CDN is oddly preventing it).
When an image is called in it’s given an output size and the file is then tested to see if that output size can be accomplished with the image, if the image is smaller then the output size or the file permissions don’t allow editing it, WordPress doesn’t/can’t crop the image to that size and instead just sends the image out “as is”.
So in your case, the image is actually correct it’s cropped to a landscape version of your featured image for that post.
But since you don’t want “correct” but instead want a carousel that outputs images in a portrait ratio you will need to use a child theme and change the output size of those images.
I can set that up for you pretty quickly if you would like,
Ben
In forum: Virtue ThemeIn reply to: Add Script To Each Blog Post
June 12, 2019 at 4:19 pm #228173You can add in the footer in a widget. Or in the “Sitewide Footer Shortcode” area in your theme options > footer settings. With either, they will show on your entire site so if you just want to show for blog posts you would have to hide it for other pages using css.
Else you can use a child theme and add in your code via a hook or customizing a template.
Ben
In forum: Virtue ThemeIn reply to: Remove staff slug from permalink
June 10, 2019 at 9:27 am #227946Hey,
It’s not possible, the custom post type has to have a slug at the start, it can be changed using a child theme but there has to be something.Ben
In forum: Virtue ThemeIn reply to: Remove staff slug from permalink
Hey,
You would need to add a custom function into your functions.php. Are you currently using a child theme? If not, you can download one from here: https://www.kadencewp.com/child-themes/Hannah
In forum: Ascend ThemeIn reply to: change Woocommerce URL HOME in breadcrumbs
In forum: Ascend ThemeJune 5, 2019 at 3:57 pm #227691I can’t update the file, so try updating to this:
<?php //Add your custom functions here. add_action('init', 'child_theme_init'); function child_theme_init() { add_action( 'wp', 'jetpackme_remove_rp', 20 ); add_action( 'kadence_single_post_content_after', 'custom_add_jetpack' ); } function jetpackme_remove_rp() { if ( class_exists( 'Jetpack_RelatedPosts' ) ) { $jprp = Jetpack_RelatedPosts::init(); $callback = array( $jprp, 'filter_add_target_to_dom' ); remove_filter( 'the_content', $callback, 40 ); } } function custom_add_jetpack() { if ( class_exists( 'Jetpack_RelatedPosts' ) ) { echo do_shortcode( '[jetpack-related-posts]' ); } }It’s possible your action functions aren’t starting late enough.
Ben
In forum: Ascend ThemeIn reply to: Post image as featured image
June 5, 2019 at 10:10 am #227651Yikes, Featured images is a WordPress feature, not a theme feature. It’s also important for things like which social media image is attached to the post etc.
A possible function you could add is this:
function auto_featured_image() { global $post; if (!has_post_thumbnail($post->ID)) { $attached_image = get_children( "post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1" ); if ($attached_image) { foreach ($attached_image as $attachment_id => $attachment) { set_post_thumbnail($post->ID, $attachment_id); } } } } // Use it temporary to generate all featured images add_action('the_post', 'auto_featured_image');But I suggest testing that on a dev environment.
Ben
In forum: Ascend ThemeJune 4, 2019 at 4:16 pm #227587You will have to send a login for me to see how you are setting up your child theme to be able to troubleshoot your code.
Ben
In forum: Ascend ThemeThank you for the code, I had to SFTP to the site to upload it to the Child Theme. It does not appear to be working though… I tried on another browser after resetting the cache too.
Edit: Just had an idea: I am currently working on the article so, it is in draft mode. Could that have any bearing on the page numbers not moving?
In forum: Virtue ThemeIn reply to: Category Sidebars
June 4, 2019 at 1:53 pm #227559Some other information. Most filters that use attributes check if that attribute is part of the main loop before they show. So widgets like that hide themselves naturally.
There are also easy widget visibility tools that allow you to customize which widgets show based on the page or category, this makes it easy to manage different widgets for different categories.
Finally, if you want to make sure there are different sidebars per category then you need to use a child theme, you would have to filter in the sidebar id based on the category, in a child theme functions.php file it would look like this:
add_filter( 'kadence_sidebar_id', 'custom_sidebar_for_category' ); function custom_sidebar_for_category( $sidebar ) { if( class_exists('woocommerce') ) { if ( is_product_category() ) { if ( is_product_category('Category_slug') ) { $sidebar = 'sidebar1'; } else if( is_product_category('Category_slug_2') ) { $sidebar = 'sidebar2'; } } } return $sidebar; }In forum: Ascend ThemeJune 4, 2019 at 1:33 pm #227547This isn’t something that the theme controls. Jetpack is inserting itself there.
You can override with a child theme by unhooking jetpack and manually rehooking at a different point so it comes later. For example in your child theme functions.php file you could add this:
function jetpackme_remove_rp() { if ( class_exists( 'Jetpack_RelatedPosts' ) ) { $jprp = Jetpack_RelatedPosts::init(); $callback = array( $jprp, 'filter_add_target_to_dom' ); remove_filter( 'the_content', $callback, 40 ); } } add_action( 'wp', 'jetpackme_remove_rp', 20 ); add_action('kadence_single_post_content_after', 'custom_add_jetpack' ); function custom_add_jetpack() { if ( class_exists( 'Jetpack_RelatedPosts' ) ) { echo do_shortcode( '[jetpack-related-posts]' ); } }In forum: Ascend ThemeIn reply to: Blog Post Carousel
June 4, 2019 at 1:18 pm #227545I’m presuming reducing the number of posts that play wold also improve load speed?
That isn’t really true. Making a query for 4 posts vs 8 posts is so minor, the only real difference that would play a role in page speed is no carousel vs a carousel. But considering you should be caching that output anyway it does not make sense that you would want to do this for speed reasons.
If you still want to do this you have to use a child theme. Either add a filter on ‘kadence_bottom_posts_carousel_args’ to the arguments for the query.
Or override the template bottom-post-carousel.php and change line 31 and 37.
Ben
In forum: Ascend ThemeIn reply to: Display sku in shop pages
June 3, 2019 at 10:18 am #227458You would just need to add a child theme init hook to make sure the timing of when these hooks were checked was after the init process of wordpress.
Update the code to this:
add_action( 'init', 'child_start'); function child_start() { add_action( 'woocommerce_shop_loop_item_title', 'custom_loop_show_sku', 30 ); function custom_loop_show_sku(){ global $product; echo '<span class="custom_sku">SKU ' . $product->get_sku() . '</span>'; } } -
AuthorSearch Results


