Coder Social home page Coder Social logo

rundiz-wp / bootstrap-basic4 Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 4.0 17.88 MB

Bootstrap 4 css framework theme for wordpress. For theme developer can start build their theme very fast. To download for use with your project, please go to wordpress.org themes page in the link.

Home Page: https://wordpress.org/themes/bootstrap-basic4

License: MIT License

PHP 38.75% CSS 2.96% JavaScript 58.30%
bootstrap4 wordpress-starter-theme wordpress-theme

bootstrap-basic4's People

Contributors

coliff avatar ve3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bootstrap-basic4's Issues

Make page content wider

Hi! Could you help me figure out what I have to change to get a wider content area? I think the way its now ist kind of narrow on big screens. Thanks!

Questions about Bootstrap Basic4 and more

Dear vee,

I like your Bootstrap Basic4 theme found on Wordpress.org.
This is the reason, why I would like to ask you some questions about how to start a website-builder service. I am sure, you can give me some excellent advices. Unfortunately, I could not find any email address of yours, so I decided to write here.

Circumstances:
Me and my employer are planning to start a service in Hungary. We - or preferably me - will build simple websites based on Wordpress
for small and medium-sized companies. We want to provide secure and responsive sites, which can get good ranking in Google search results.

What we have now:

  • rented storage space from a server hosting company (circa 450 MB free space)
  • .hu domains
  • php 7.3
  • MySQL 5.6
  • Wordpress 5.6 (english version)
  • FTP-connection
  • no cPanel (unfortunately)

Our plan is trying out and using some core features of WP, and installing some plugins and a theme, to gain some experiences, and - of course - to practice.
We have an eye on being compliant with Google, so we would like to choose Bootstrap-based themes - like yours - to ensure that. I mean to make our sites responsive.
We prefer to use the freshest versions, like BT v.4 or 5-based ones.
We think, we will need your theme, a backup automatism, a security-solution and a contact form + captcha on the very beginning to build simple and well-functioning sites.

The content will be written in Hungarian.

I will check these sites with:
Google Mobile-Friendly Test (https://search.google.com/test/mobile-friendly)
Google PageSpeed Insights (https://developers.google.com/speed/pagespeed/insights/)
a smartphone (or more)
different browsers on desktop, like Firefox or Chrome.
I think also on W3C validator, but with CMS the result can never be a clean and valid code, as far as I know. (https://validator.w3.org/).

My questions to you:
What do you think? Is this plan good and reasonable? Or is there any trap that we couldn't realize yet?
Is something missing?

To be honest, I am not an expert programmer, I have just the very basics in my head. This is why I ask a much more experienced person, like you.

Do you provide consultation service?

Could you please send me some live example sites, which use Bootstrap Basic4 theme?
Do you plan to upgrade your Bootstrap Basic4 theme to be Bootstrap5 - based? If yes, then when is it expected?
Does this theme has a pro version? What kind of features can it provide?

What are you working nowadays?

I am waiting for your answer, thank you in advance.

Add Featured Image

To get a featured image, could I suggest adding the following code or something similar

<?php
    if ( has_post_thumbnail() ) {
      echo '<p>';
      the_post_thumbnail( 'full', [ 'class' => 'img-fluid rounded' ] );
      echo '</p>';
    }
?>

inside the file:

template-parts/content-page.php

between the_title , and the_content

How to adjust public function displayComments

Hi there,

Then client I'm working with has requested that I add the number of the comment in the list of comments on a post. I've figured out how to do this by editing Bootstrap Basic 4 directly, but I'd like to move my customization to a child theme so that I can update my Bootstrap Basic 4 to the latest version.

I'd like to simply replace the existing displayComments public function from /inc/classes/Bsb4Design.php with a version in my child theme. I've looked online for tips on how to do this but results are less clear when it's a function within a class.

Thank you for your help!

Title tagline menus centered

As the topic is not answered on wp forum I ask here again:

I like this clean theme but would prefere Title tagline and menus centered,
Could you please help me with css?

No sub-sub-menus showing

I have a main menu with drop down sub-menus, this works as expected.

However I have added an additional sub menu to one item and there is no open icon to expand the item and view the additional menu items.

If I switch to a generic theme (TwentyFifteen) I can open another layer of menu items.

Is this a bug?

dropdown menu doesn't work anymore

Seems with WP 5.0.3 there is a bug that dropdown (sub menus) doesn't work anymore. Clicking on an entry doesn't do anything. Reason unknown for me

Add a Changelog/Release Notes

It'd be good to adda changelog or Release Notes somewhere so users can see what is changed in each update. Maybe add a CHANGELOG.md or add it as a section to the readme.txt.

Single post pagination doesn't show

Hello - I can't find where or how to enable or show single post pagination for blog posts. I've looked in the theme PHP code and see that there's pagination actually set, but nothing I do to alter that code will cause the pagination to show? Even deleting it and adding in my own pagination PHP from Wordpress.org fixes this. I also deactivated all my plugins to see if one of them was interfering with this. No luck. Using the default, unedited theme also doesn't show pagination. I'm not a hard-core PHP programmer, so my ability to understand and alter PHP is limited.

How to get the pagination to show? Thanks.

Some Bootstrap 4 tools missing. How can I solve this?

I''m trying to work with these theme as a basis.
The 'Bootstrap Basic4 help' tab in Wordpress admin it says: "This theme can use all Bootstrap 4 classes, elements and styles. Please read the Bootstrap 4 document.". However I tried to use some of Bootstrap's mixins (such as @include media-breakpoint-up(md) ) and define the breakpoints at variables.scss to change the breakpoints, but it seems those files are missing from the theme.

Please help css make content fill page

I would like to know how to increase the size of the main content area and sidebars so that the whole site fills the page on the desktop. Right now there are large margins on both sides and content appears small.

How to customize theme using CSS/SCSS (child theme)?

Hi,

I've created a child theme and in my style.css, I've added for example

body { background-color: #000; }.

This does not have an effect as it is being overridden by _reboot.scss.
So I tried creating style.scss and changing the variable as per the Bootstrap Documentation:

$body-bg: #000;

@import "../bootstrap-basic4/assets/css/bootstrap";

Again, it doesn't have an effect.

I can't seem to override any of the existing styling in the CSS. If I add a new rule to the style.css or style.scss, it does work.

What am I doing wrong? Thanks!

Border, Navigation

Sorry to bother you again but I’m a bit overwhelmed which CSS files I should work on to change some basic looks of my page. For Instance I’ve got a really light border around all elements:

Another thing I’d like to do is hiding the top navigation bar – is that possible?

Thanks for your help!

404 error in child theme on main.js

File: bootstrap-basic4\inc\classes\BootstrapBasic4.php

Using get_stylesheet_directory_uri() in line
wp_enqueue_script('bootstrap-basic4-main', get_stylesheet_directory_uri() . '/assets/js/main.js', array('jquery'), false, true);
of enqueueScriptsAndStyles function cause 404 error in child theme. It looks like need to use get_template_directory_uri () instead.

Add a CSS-based fallback for IE8 and IE9

Bootstrap 4 drops support for IE8 and IE9, and although usage of these old browsers is very small, it'd still be good to add a fallback CSS file via a conditional statement.
I maintain an open-source solution which could be used: https://github.com/coliff/bootstrap-ie8
I've tested it with the bootstrap-basic4 theme in a Virtual Machine with IE8 and it works quite well and fixes many layout issues.

Woocommerce search not working.

If I search 'Mix', even with a woocommerce search plug in the out put is below.

"Create your own bundle with Mix and Match.

Create your own bundle with Mix and Match.

MIX & MATCH

MIX & MATCH"

There are two products with the term in with one of each of the above in title and description.

This is all it shows. Just plain text. It works in other themes, just not this one. It does not show the woocommerce products.
Any idea to mak e this work ?

How to include popper.js?

I want to use popovers in my theme. How do I include popper.js, it being required to be loaded before bootstrap.js?

How to include child theme css?

I'm used to doing something like this for child themes:

	    wp_enqueue_style( "bootstrap-basic4-style", get_template_directory_uri() . '/style.css', array(), filemtime(get_template_directory_uri() . '/style.css') );

	    wp_enqueue_style( 'child-style',
	        get_stylesheet_directory_uri() . '/style.css',
	        array( "bootstrap-basic4-style"  ),
	        filemtime(get_stylesheet_directory() . '/style.css')
	    );

But, I find that this includes my child theme styles twice.

If I completely leave out the above, both the css of the parent theme and of the child theme are included.

However, I then don't see a way of managing versioning of the child theme's css. Updating the version in the header appears to have no effect. Like so:

/*
 Theme Name:   my child theme
 Description:  A theme based on bootstrap basic 4
 Author:       Babak Fakhamzadeh (that's me)
 Template:     bootstrap-basic4
 Version:      1.0.12
 Text Domain:  my-text-domain
*/

How to properly include a css file of a child theme?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.