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: Ascend ThemeIn forum: Virtue Theme
In reply to: Menu cosmetics
Thanks Ben.
1. I’ll remember to mention the child theme in future 😉 I have updated the CSS as you provided. Each menu heading has stopped wrapping to 2 lines, so thanks for that. But the whole menu row now wraps to 2 lines from screenwidths 1198px down to 992px at which point the mobile menu cuts in. Should I now add in Hannah’s font-size reduction or is there a different approach?
3. Thanks for finding this. That was so long ago, I had forgotten about that work last year! I’ve got rid of those old template files and the mobile menu button is behaving as expected.
Cheers Ben.
Phil.In forum: Ascend ThemeIn reply to: Create custom sidebar – page template not found
June 28, 2019 at 10:12 am #229470Hey,
The page you linked to was out of date, but it was not and did not have anything to do with being able to edit a sidebar on a single page. It was only a way to assign a sidebar. The reason it’s out of date is simply that you don’t need to use a template to be able to assign a sidebar. You can do it with any page.Nothing was removed only improved upon.
I am doing my best to help you. I’m sorry it’s making you so frustrated and upset.
There is no widget that does what you are asking. I would be happy to create a widget for you in a custom child theme or plugin.
You did not clarify if you are talking about pages or you talking about single portfolio posts?
You keep writing page but it kind of sounds like you actually mean portfolio posts.
A page is something you create through the admin under “pages” and there you can assign a portfolio template to output a portfolio page: http://themes.kadencethemes.com/ascend-premium-4/projects/
A single portfolio post is where you edit the post under the portfolio menu in your admin and it outputs just the content of that one portfolio post: http://themes.kadencethemes.com/ascend-premium-4/portfolio/fabric-bag/
In forum: Ascend ThemeIn reply to: Create custom sidebar – page template not found
June 28, 2019 at 9:26 am #229451Hey Joseph,
I’m sorry we haven’t been able to connect. I’m sure we can help. Please give us grace as we try to get on the same page with what you want.
What goes inside of sidebars are controlled in the appearance > widgets area of your admin, they are not controlled in the page editing screen. I’m not aware of any theme, plugin that changes that.
BUT, if you want to use page builder by siteorigin you can fake a sidebar by creating a two column layout, one column for your content and the other for your “sidebar” where you can place whatever you want into that part of your page.
Is that what you are looking for?
Or if instead do what to use a sidebar you can add conditional loading for specific widgets allowing you to select which widgets you show on which pages, see this plugin: https://wordpress.org/plugins/widget-options/
This is all assuming you have a widget in mind that you want to add, there is no theme widget that outputs a list of portfolio items based on portfolio type. The closest would be the “ascend: post grid” which can output a small grid of portfolio posts based on category. So perhaps you are not asking about sidebars at all but asking how to create this widget? If so you will need to use a child theme and code it in, I can help with that if you send me a link to an example of how you want it to look.
This also assumes you are talking about “pages” and not the single portfolio posts. The language around that can be tricky and confusing. I have been assuming you are asking about portfolio pages, for example http://themes.kadencethemes.com/ascend-premium-4/projects/
And not portfolio posts for example http://themes.kadencethemes.com/ascend-premium-4/portfolio/fabric-bag/
Further clarification from you will help me greatly and I know we can help you get what you want.
Ben
In forum: Virtue ThemeIn reply to: Menu cosmetics
June 28, 2019 at 8:21 am #2294361. I gave you css to add in the custom CSS box, the specificity is different if you are adding to a child theme. Update your first css to this:
#kad-banner #nav-second ul.sf-menu>li>a { width: auto; padding: 10px; } #kad-banner #nav-second ul.sf-menu>li { width: auto; display: inline-block; float: none; } #kad-banner #nav-second ul.sf-menu>li>a.sf-with-ul { padding: 10px 20px 10px 10px; } #kad-banner #nav-second ul.sf-menu { text-align: center; }3. It appears you are using a child theme and have overridden the header.php file ( I don’t suggest you do that) and you have not updated it to match the current version of the theme. You need to update your header.php file or remove it from your child theme. As a rule, don’t override files unless you specifically need to for some really important reason. Usually, there is a much better way to do whatever it is you want to do.
Hi Team,
Please could you help with a filter?
On I Love Cowes, posts are generally set to show the featured image in the Post Title Background.The diary uses a plugin so I need to do the same for the Custom Post Type: “ai1ec_event”.
Please can you suggest a filter for me to drop into the functions.php of the child theme?
Very many thanks,
Phil.In forum: Virtue ThemeJune 26, 2019 at 1:04 pm #229263Hey,
The date in the square box is specific because of design, the items being different in size. You can’t edit that unless you use a child theme. Per WordPress guidlines, if the output matters for design it should be controlled outside of the settings from wordpress general settings.The carousel is an issue I will fix. It will pull the correct format with the next update.
Ben
In forum: Virtue ThemeHi Team…
I am just wondering if it is possible to add this HTML code in the footer of my child theme in the “Appearance / Theme Editor” section?
I want to limit the widgets I’m running…
This is the code:
<!– Load Facebook SDK for JavaScript –>
<div id=”fb-root”></div>
<script>
window.fbAsyncInit = function() {
FB.init({
xfbml : true,
version : ‘v3.3’
});
};(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = ‘*Login to see link
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script><!– Your customer chat code –>
<div class=”fb-customerchat”
attribution=setup_tool
page_id=”1076295472421698″>
</div>I am trying to achieve the same FB messenger as this website example
Thanks,John 🙂
In forum: Ascend ThemeIn reply to: Accessibility labels
Thanks Ben,
I have added an aria-label for the search button on the popup using a child theme for now but it looks like every instance of the search icon needs a label and I can’t figure out how to do that part easily. I can wait.The HTML validator at achecker.ca is where I am getting the doctype error. I am not too concerned, as the pages function fine. This is my doctype and I can’t really figure out why it’s not valid.
<!DOCTYPE html> <html class="no-js" lang="en" itemscope="itemscope" itemtype="http://schema.org/WebPage" >Additionally, the remember me checkbox in the login dialog needs a label. This is not a high priority, as my site won’t be open to subscribers.
<input name="rememberme" type="checkbox" id="rememberme" value="forever" />
AmyIn forum: Virtue ThemeIn reply to: Location of background image on home page
Hey,
Looks like you’ve added this into your child theme css:.home .contentclass { background: url(https://socialwork.uky.edu/wp-content/uploads/background_home.png) no-repeat top center !important; background-size: cover !important; }That is controlling the homepage background.
Hannah
In forum: Pinnacle ThemeI’ve added an additional menu location to my website by adding a custom function into a child theme. I tested it out on my dev site and everything worked perfectly. However, now that I’ve added the code and information to my live site, it’s not showing up. I may be missing something but I cannot figure out what so I’m concerned that it might have to do with another issue Ben was helping me with: https://www.kadencewp.com/support-forums/topic/woocommerce-category-page/
The category issue mentioned there is now happening on the live site. I wonder if the hack Ben used to fix that issue would also fix this one? I can’t see anything different between the two sites so I can’t think of anything else that could cause the issue. Technically speaking, this is a separate issue though. So I figured I needed it back over in this other post.
Credentials included in the other post should work on both the dev and live site if anyone is available to check.
Thank you!
In forum: Virtue ThemeIn reply to: Change the Portfolio Permanent "Portfolio-Type" Link
June 21, 2019 at 5:08 pm #228846Using a child theme you can use a function like this:
function kt_init_filter_portfolio() { add_filter('kadence_portfolio_type_slug', 'kadence_portfolio_type_slug_custom'); function kadence_portfolio_type_slug_custom() { return 'program-category'; } } add_action('after_setup_theme', 'kt_init_filter_portfolio');Ben
In forum: Virtue ThemeTopic: blog grid shortcode template
Hi All,
using the following shortcode to display posts in a pagebuilder row
[blog_grid orderby=date items=3 columns=3 cat=news]
can you tell me the actual template file that i can copy to my child theme, as i want to add a thin line under the titles and also a permanent read more button under each of the posts
In forum: Virtue ThemeIn reply to: cloning Portfolio post type in child theme
June 20, 2019 at 1:18 pm #228758Hey,
Just for clarification, I’m not just saying you need to use a child theme, I’m saying you can’t/shouldn’t treat parent theme functions files as templates. You can’t copy those into a child theme and edit them.If you want to change the labels you either need to filter them (you can do this through the https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext filter).
Or you need to create your own “portfolio” post type and unhook the parent theme one by using
remove_action( 'init', 'virtue_portfolio_post_init', 1 );Does that make more sense?
You can copy all of the code from the post-types file but you need to change the function names and unhook the parent themes functions that are in that file because you can’t override a functions file like a template file.
I hope that explains better.
Ben
In forum: Virtue ThemeHey Andrew,
Try using a shortcode like this:[portfolio_types orderby=date showexcerpt=false columns=4 items=4 height=200 childof=0 childcategories=false]Hope it helps!In Theme Options > Portfolio Options you can set the “All Projects Default Portfolio Page”. Is that what you’re referencing?
Hannah
In forum: Virtue ThemeIn reply to: cloning Portfolio post type in child theme
Hi Ben,
yes i totally agree with you, any changes should be done in the child theme and functions.php. im not trying to change the parent theme, just alter how things are labelled in backend.
what i mean is that I want to change the admin labels from portfolio to resources. I am aware that the permalink can be changed in the panel.
as i said I know this info is set inisde of post-types.php, so i was asking the best way to accomplish this?
the alternative here is to create a new custom post type, i.e. resources, but i would want to add the metaboxes and functions that portfolio has.
i hope that makes sense.
thanks
J
In forum: Virtue ThemeIn reply to: Theme sidebar not visible
In forum: Virtue ThemeIn reply to: Theme sidebar not visible
June 19, 2019 at 5:21 pm #228705It appears that you may be using a child theme? have you tried activating the parent theme?
In forum: Virtue ThemeIn reply to: cloning Portfolio post type in child theme
June 19, 2019 at 5:17 pm #228702Hey,
You shouldn’t ever override functions files with a child theme. Template files are fine to copy and override but you will break everything if you try to copy functions files and treat them like template files. Whenever you want to add your own functions you have to do so in your own functions files in your child theme. Those should all be an extension.The slug/permalink based can be changed in your theme options > portfolio settings. You don’t need any code for that.
I’m confused by this question though, are you wanting to edit the post type or create a new post type?
Ben
In forum: Virtue ThemeHI guys
question in two parts really.
I wish to make a clone of the portfolio post type, however when i make a copy of the lib folder and make my changes in post-types.php these are not overriding the parent theme- I could add it in my functions.php in the child theme i suppose- I am also aware that i need to add metabox support to my new post type too, and that folder also has the same problem as the lib folder. do i need to add something to the child theme config for these folders and files?
I also want to alter the menu name of the portfolio post type. I think you sent me some code before as a custom function, that re-writes the menu name and so on, but also the slug and permalink base? was a while back, Ben sent it over.
-
AuthorSearch Results


