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: Virtue Theme Blog Page Pagination Limit Adjustment
December 24, 2019 at 11:54 am #242459Yep, so one option is to move all those old posts to the trash. Probably don’t want to do that 🙂 so your other option is to add code into your site via a child theme or a code snippets plugin.
The code would be a function like this:
function custom_wpcodex_filter_main_search_post_limits( $limit, $query ) { return 'LIMIT 0, 180'; } add_filter( 'post_limits', 'custom_wpcodex_filter_main_search_post_limits', 10, 2 );Ben
In forum: Ascend ThemeDecember 23, 2019 at 11:07 am #242430ok, I see you don’t get that control… in your child theme add this:
add_action( 'after_setup_theme', 'custom_change_custom_post_cap', 1 ); function custom_change_custom_post_cap() { add_filter('kadence_portfolio_capability_type', 'custom_change_custom_post_cap_page'); add_filter('kadence_testimonial_capability_type', 'custom_change_custom_post_cap_page'); add_filter('kadence_staff_capability_type', 'custom_change_custom_post_cap_page'); } function custom_change_custom_post_cap_page( $cap) { $cap = 'page'; return $cap; }Ben
In forum: Ascend ThemeHi there,
My client has asked me to implement a banner/strip graphic showing delivery information and a countdown to the cut-off time for same-day dispatch, similar to what you can see here: *Login to see linkI’ve found countdown timer plugins that use shortcodes, and can use one of those with an icon and text to build out the full line of content, but am wondering where best I can place it. Is it:
1. Possible to add it to the WooCommerce product/category pages without creating a child theme?
2. Alternately, possible to add it somehow to just above the main menu? Problem with this is that any B2B clients still using non-widescreen monitors aren’t seeing that menu as is. I’m not sure how I could make it responsive for mobile either.
3. One other option would be to add it to the shop sidebar, but I’d want to use a coloured background for the (presumably, text) widget I’d use, to draw attention. How can I do set the background colour for a text widget?Any thoughts on the best way to achieve this would be much appreciated! The site is RollieUK.com.
Thanks,
TracyIn forum: Ascend ThemeIn reply to: Add taxonomy=post_tag to Portfolio
December 18, 2019 at 12:59 pm #242268Hey,
I think you are thinking about this incorrectly, a taxonomy is for a specific post type, you seem to want some kind of archive that would contain two or more post types, that wouldn’t happen through any kind of taxonomy, that isn’t how they work.To have an archive page with two kinds of custom post types you would need to create a custom archive template and query so that within your query you call two types of custom post. The only way I know to do this is through a child theme and custom code. I’m not aware of any plugin that merges post types into the same query.
Ben
In forum: Ascend ThemeIn forum: Ascend Theme7.4, according to my 1&1 Ionos control panel.
The odd thing is.. I have a *lot* of Sites (well, 10+) on the same Hosting environment – also running Ascend Premium, with Child Theme – and also most of the same plugins. However.. they didn’t have the issue. #weird!
In forum: Ascend ThemeHi Ben and all-
I too have encountered an issue (since upgrading to WordPress 5.3.1).
This only seems to affect one (1x) Site and fortunately it is NOT a live Site (under development).
I have, however had to disable Ascend Premium – as with it turned on (Activated) I was receiving a stream of errors (on the home page) – and also could not login to WP-ADMIN either (I eventually did so by renaming the /ascend-premium/ folder in /themes/
Here’s the first of the errors shown:
Warning: Creating default object from empty value in /homepages/5/d770581549/htdocs/www.drybritish.com/wp-content/themes/ascend_premium/themeoptions/redux/inc/class.redux_filesystem.php on line 29
Then several more along the lines of:
Warning: Cannot modify header information – headers already sent by (output started at /homepages/5/d770581549/htdocs/www.drybritish.com/wp-content/themes/ascend_premium/themeoptions/redux/inc/class.redux_filesystem.php:29) in /homepages/5/d770581549/htdocs/www.drybritish.com/wp-includes/functions.php on line 6013
Any ideas?
NOT urgent, but I was planning on working once again with Ascend Premium (with Child Theme) as usual – so ideally this can be explained / fixed.
Cheers,
John-
This topic was modified 6 years, 4 months ago by
John.
In forum: Pinnacle ThemeIn reply to: Uexpected PHP Debug Output
Hi,
I have the slider set to None because I do not want a slider at this time.
I am using Child Theme Configurator Version 2.5.0 By Lilaea Media https://wordpress.org/plugins/child-theme-configurator/
In forum: Virtue ThemeIn reply to: Problem with Virtue Icon box
December 16, 2019 at 12:05 pm #242132Hey,
Your link is to an archive page, archives have descriptions boxes, not content areas. They are run differently, it appears you are adding shortcodes into a description box which only “kind of” works because everything is placed into a paragraph tag since it’s supposed to be a description and not content area.YOAST SEO makes this confusing because in the editor they add all the editing options instead of leaving it as a simple description box.
So if you want to add shortcodes and support an archive description as a content area you will have to create a child theme and change how the description gets output in the template:
https://www.kadencewp.com/child-themes/
Then you would need to override templates/page-header.php
Change line 29:
echo '<p class="subtitle">' . wp_kses_post( category_description() ) . ' </p>';To:
echo category_description();Ben
In forum: Pinnacle ThemeIn reply to: Uexpected PHP Debug Output
In forum: Pinnacle ThemeTopic: Uexpected PHP Debug Output
I was installing the theme on a new website and creating a child theme. The child theme creator I use runs an error check before creating the child theme and then again while creating the child theme. Before creating the theme, it detected the following error:
Notice: Undefined index: choose_home_header in /srv/htdocs/wp-content/themes/pinnacle_premium/front-page.php on line 47
After creating the child theme, it detected more errors:
Notice: Undefined variable: bg_style in /srv/htdocs/wp-content/themes/pinnacle_premium/templates/home/page-title-home.php on line 40
Notice: Undefined variable: bg_repeat in /srv/htdocs/wp-content/themes/pinnacle_premium/templates/home/page-title-home.php on line 40
Notice: Undefined variable: bg_size in /srv/htdocs/wp-content/themes/pinnacle_premium/templates/home/page-title-home.php on line 40
Notice: Undefined variable: bg_position in /srv/htdocs/wp-content/themes/pinnacle_premium/templates/home/page-title-home.php on line 40
Notice: Undefined variable: bg_attachment in /srv/htdocs/wp-content/themes/pinnacle_premium/templates/home/page-title-home.php on line 40
Is this anything to be concerned about?
In forum: Virtue ThemeIn reply to: Image uploading problem – scaling?
December 10, 2019 at 7:47 am #241919Hey Steve,
As of WordPress 5.3 core changed how large raw images are handled. They get scaled-down in pixel size see here: https://make.wordpress.org/core/2019/10/09/introducing-handling-of-big-images-in-wordpress-5-3/I suggest installing a child theme or a code snippets plugin like: https://wordpress.org/plugins/code-snippets/
Then adding this:
add_filter( 'big_image_size_threshold', '__return_false' );As for you seeing images pixelated. Can you link to the page and so I can see the output, that would be something else usually.
Ben
In forum: Virtue ThemeI’ve been using WordPress hosted on Bluehost and Virtue – Premium for about 4-5 years and in the last 2 months just started having a problem where images are struglging to upload. I use mostly images from my iPhone and I’ve always noticed they don’t look great (pixelly) so now that I’m thinking about it, I suspect they’ve always been downscaling. In the past, though, I drag images into the media uploader and they are almost instantly uploaded, but in the last couple months they’ve been uploading, sitting with the progress bar full for about a minute or two, and then failing to upload. Sometimes if I reload the site, the link to the image is just broken and other times they appear even though the uploader said they failed. I looked all over the place in the theme and can’t find anywhere to change scaling of pictures. I have looked up instructions on adding code to a child theme to disable downscaling, too, but I can’t get that to work. I’m a doctor, not a coder, so this is all totally foreign to me.
In forum: Ascend ThemeThank you very much Ben!
Without downloading your file because I just read now your reply I copied the functions.php file of the ascend theme on my pc.
Then I erased all content except first lines and added the code just after your first comment.
I uploaded in the child theme and it works.
Thanks a lot I will also download the example file you suggested.Regards
AngeloIn forum: Ascend ThemeDecember 9, 2019 at 6:41 am #241850Hey,
You can download an example child theme here that has an empty functions.php file, https://www.kadencewp.com/child-themes/Then you can add that function to the functions.php file in that example child theme.
Ben
Hi Ben,
I need to upload my books in EPUB files that is an extension file not allowed in WP. I found an article how to allow it adding some code in the functions.php of the theme, but of course I don’t like to add in your theme function. So as I am using a child theme can you explain how can add this code in a file called functions.php?
function addUploadMimes($mimes) {
$mimes = array_merge($mimes, array(
'epub|mobi' => 'application/octet-stream'
));
return $mimes;
}
add_filter('upload_mimes', 'addUploadMimes');Thanks you
AngeloIn forum: Membership ForumsDecember 6, 2019 at 11:26 pm #241786Just edited my child theme’s functions.php to include
`add_theme_support( ‘align-wide’ );
It works now 🙂
Feel free to tell me if there are other functions worth adding here in order to maximize all Kadence Blocks features.
Thanks!
In forum: Ascend ThemeIn reply to: Ascend Premium menu icon with WPML flag
Try adding this to your custom css box in Theme Options > Custom CSS:
@media (max-width: 992px) { ul.sf-menu.sf-menu-normal.sf-js-enabled { margin-right: 30px; margin-left: -20px; } li.menu-item.wpml-ls-slot-406.wpml-ls-item.wpml-ls-item-en.wpml-ls-current-language.wpml-ls-menu-item.wpml-ls-first-item.menu-item-type-wpml_ls_menu_item.menu-item-object-wpml_ls_menu_item.menu-item-has-children.menu-item-wpml-ls-406-en.sf-dropdown { position: absolute; right: 0; } }Does that work for you?
Hannah
In forum: Ascend ThemeDecember 6, 2019 at 10:06 am #241761Brand new install of Ascend Pro here. I’ve used this theme (and others from the Kadence suite) for many months now for clients, but just bought a personal membership for my own site. Setup on a fresh Dreamhost shared server with Jetpack and WP Super Cache. After activating the theme I’m finding that when I visit Theme Options it loads the UI for the header and sidebar but not the main settings pane in the center. None of the sidebar options work and the status bar shows “javascript:void(0);” when hovering over any of the options. Going into the Customizer reveals options such as header choices but clicking on the controls has no effect.
Switching from Ascend Pro to Pinnacle Pro seemed to clear things up, but even after deleting and reinstalling Ascend that theme still breaks in exactly the same way.
I’ve disabled WP Super Cache and Jetpack as a test as well as reset my htaccess file in case I’d setup any incorrect server rules that might have prevented theme functions from loading. But even with a mostly empty WordPress install with possible conflicts removed from the environment I can’t get Ascend Pro to allow any theme customizations.
WordPress Environment
Home URL: *Login to see link
Site URL: *Login to see link
WP Content URL: *Login to see link
WP Version: 5.3
WP Multisite: –
Permalink Structure: /%postname%/
Front Page Display: posts
WP Memory Limit: 40 MB
Database Table Prefix: Length: 10 – Status: Acceptable
WP Debug Mode: –
Language: en_USServer Environment
Server Info: Apache
PHP Version: 7.3.11
ABSPATH: /home/dh_shawnsmalley/shawnsmalley.com/
PHP Memory Limit: 256 MB
PHP Post Max Size: 65 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
PHP Display Errors: –
SUHOSIN Installed: –
MySQL Version: 5.7.25
Max Upload Size: 64 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔ 7.58.0Active Plugins (10)
Akismet Anti-Spam by Automattic – 4.1.3
DreamHost Panel Login by DreamHost, danielbachhuber – 1.0.0
Duplicate Page by mndpsingh287 – 4.0
Jetpack by WordPress.com by Automattic – 8.0
Kadence Blocks Pro by Kadence WP – 1.3.8
Kadence Blocks – Gutenberg Page Builder Toolkit by Kadence WP – 1.7.7
SVG Support by Benbodhi – 2.3.15
Smush by WPMU DEV – 3.3.2
WP Super Cache by Automattic – 1.7.0
WPForms Lite by WPForms – 1.5.6.2Theme
Name: Ascend – Premium
Version: 1.9.3
Author URL: *Login to see link
Child Theme: ✕In forum: Virtue ThemeIn reply to: templates
December 6, 2019 at 8:00 am #241755I tried to clarify this at the beginning, it’s been really hard to understand what you wanted.
If you had to try and hack this in you would need to add css like this:
.widget_product_categories ul>li>.kt-toggle-sub { display: block; width: 30px; text-align: center; position: absolute; right: 0; top: 7px; font-family: virtue_icons !important; speak: none; font-style: normal; font-weight: 400; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 24px; font-size: 11px; z-index: 11111; color: #555; border-bottom: 2px solid transparent; height: 24px; -webkit-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; transition: all .2s ease-in-out; cursor: pointer; } .widget_product_categories ul>li>.kt-toggle-sub:before { display: block; content: "\e3b2"; } .widget_product_categories ul li > .kt-toggle-sub:before { -webkit-transform: rotate(0deg); -ms-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); } .widget_product_categories ul li.kt-drop-toggle > .kt-toggle-sub:before { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); } .widget_product_categories ul li ul.children{ display:none; } .widget_product_categories ul li.kt-drop-toggle > ul.children { display:block; } .product-categories .cat-item a:after { display: none; } .product-categories li, .sidebar .product-categories li, .sidebar .widget_categories li { position: relative; }AND in your theme options > header and footer scripts you would need to add javascript like this in the footer scripts. But this is all outside of normal so upkeep on this code is going to require you manage it.
<script type="text/javascript"> jQuery(document).ready(function ($) { $('.widget ul ul.children').each(function(){ $(this).parent('li').append('<span class="kt-toggle-sub"></span>'); if($(this).parent('li').find('.count').length ) { $(this).parent('li').addClass('kt-toggle-has-count'); } if($(this).parent('li').hasClass('current-cat') || $(this).parent('li').hasClass('current-cat-parent') ) { $(this).parent('li').addClass('kt-drop-toggle'); } }); $('.kt-toggle-sub').click(function (e) { e.preventDefault(); if($(this).parent('li').hasClass('kt-drop-toggle') ) { $(this).parent('li').removeClass('kt-drop-toggle'); } else { $(this).parent('li').addClass('kt-drop-toggle'); } }); }); </script>Ben
-
This topic was modified 6 years, 4 months ago by
-
AuthorSearch Results



