BasePress
Forum Replies Created
-
Hi @nobnob,
I am happy to hear that you appreciate BasePress!
I suppose the issue is with the Accordion Menu Widget and not the Table of Content (this is premium feature). Please let me know if I am wrong.That widget has an option to list the articles before the sections. Can you please try enabling that option and let me know if that fixes it for you?
Thanks
Hi @jdcarvalho2,
BasePress themes don’t style the images which instead inherit the styles from your WordPress theme.
That said if you add the following CSS to your styles.css you should get the correct images size:.wp-block-media-text__media img,
.wp-block-media-text__media video{
height: auto;
}I hope this helps!
Hi @knluu,
the main knowledge base slug can be changed from WP-Admin > Pages.
There you should find a page for the Knowledge base. Change the slug for that page and then go to BasePress > Settings and just save the settings. This will refresh the permalinks to work with the new slug.
As @crazywpgeek mentioned you can also change each KB slug from the “Manage KBs” page.If you have any issue just let me know!
Hi,
yes the sidebars would not match with the theme without customization.
This is because a WordPress theme would not have the styles necessary for all BasePress widgets to display correctly.Thanks
Hi @jakub1978cyborg,
no it is not possible to use your WordPress theme as a BasePress theme.
BasePress themes are used to style only the content portion of the KB.
Because each WordPress theme is different it is not possible to make BasePress match with all of them so the plugin ships with 3 themes.
Basepress themes can be customised as described here: https://codesavory.com/knowledge-base/basepress/basepress-themes/customize-a-knowledge-base-theme/Usually adapting the CSS is all it takes to match the look of your WordPress theme. If more changes are needed all the templates that make up a BasePress theme can be customised as well.
I hope this clarifies things a bit!
Hi @jakub1978cyborg,
please do not paste your log in details here.
Why instead don’t you tell me which theme you are using so I can test it?
If it is not possible to download it from ww.wp.xz.cn you can open a support ticket from the plugin’s menu and send us a copy via email.Thanks
Hi @jakub1978cyborg,
When you visit a page on your site, WordPress would determine which template should be used to render the page.
The header and footer are generally loaded by this template. Some themes though load the header and footer from outside the template. That option is for those rare cases.
if the page doesn’t load properly with that option enabled, most probably your theme is not loading the header and footer from outside the template. You should therefore disable that option.
All default WordPress themes like Twenty Seventeen work without enabling that option.
If without that option the pages are not loading properly we can have a look at how your theme work and let you know how to integrate BasePress with it.Thanks
Thanks HIGEL for taking the time to share your nice review!
Yes you can limit the style to articles only like this:
.single-knowledgebase .bpress-content-area ul li {
list-style-image:url(‘https://dxfferent.nl/wp-content/uploads/2020/11/3_01_7yI_icon.ico’;);
}I noticed that you are hiding the first breadcrumb item via css.
You can remove it completely from the list like this://Remove entry page breadcrumb item add_filter( 'basepress_breadcrumbs_items', function( $breadcrumbs_list ){ $breadcrumbs_list = array_filter( $breadcrumbs_list, function( $item ){ return 'entry-page' !== $item['context']; }); return $breadcrumbs_list; });Hi,
you should add the new style at the end of the style.css file after the closing curly brackets.
Also the image would not apply because your selector includes a class not present in the list in the page. Try this:
.bpress-content-area ul li { list-style-image:url('https://dxfferent.nl/wp-content/uploads/2020/11/Bulletpoint-Dxfferent.png'); }The image you are using is a 1px png so you might not see it when the code is corrected.
Hi,
as mentioned in th earticle you shouldn’t change the plugin’s files but make a copy of them.
In your case you should copy this file:wp-content/plugins/basepress-premium/themes/modern/template-parts/post-content.php
and paste it in:
wp-content/themes/your-child-theme/basepress/modern/template-parts/post-content.php
Then you can make the changes to the new file.
If you are not using a child theme, you can paste the file in your downloads directory:wp-content/uploads/basepress/modern/template-parts/post-content.php
Thanks
Forum: Plugins
In reply to: [Knowledge Base documentation & wiki plugin - BasePress Docs] Same slugHi @polyplugins,
WordPress requires that all custom post types pages are preceded with a fixed slug.
The KB slug is set with the main Knowledge base page. You can change that if needed but it will apply to all the URLs:http://www.your-domain.com/kb-slug/plugin-1/
http://www.your-domain.com/kb-slug/plugin-2/I hope this answers your question!
Hi @jasperaap,
I took a look at the list on the page.
There is a css file from your theme that removes the bullets and then restores them to the post content using the class .entry-content:
/themes/op-smart-theme3/css/all.min.cssPlease follow the instructions in this article: https://codesavory.com/knowledge-base/basepress/basepress-themes/customize-a-knowledge-base-theme/
on how to customize a template and override the following BasePress template:
wp-content/plugins/basepress-premium/themes/modern/template-parts/post-content.phpAt line 37 replace this line:
<div class="bpress-article-content">with this:
<div class="bpress-article-content entry-content">That should do it but if not just let me know!
Hi,
BasePress doesn’t style the bullets but it inherits the style from your theme.
So if the bullets are not appearing it means that your theme is most probably removing the bullets from lists and then restoring them via classes.
If you can add a list to the sample page I can take a look at it and tell you why it happens and how to correct that.Thanks
Hi @jasperaap,
just to make sure I understand the issue:
are you using the List block to add your lists and these do not show in the front end? Or are just the bullets not showing in the list?Thanks