Skip to main content

Questions tagged [twitter-bootstrap]

Twitter Bootstrap is a front-end framework designed to kick-start development of Web apps and sites

Filter by
Sorted by
Tagged with
0 votes
1 answer
114 views

How to neutralize a parent theme php template?

I use to work a basic theme with a child-theme. The parent theme contains the woocommerce.php template, which I would like to disable in the child theme. I already used several codes in the child ...
Rodrigo Grigoletti's user avatar
1 vote
1 answer
358 views

WordPress \ Bootstrap 4 not building breadcrumbs correctly

I have this code in my WordPress functions.php to create breadcrumbs for pages only. What am I doing wrong? Thanks. I want to use bootstrap navs. The problem is that the short tag, the_title(), is ...
Gregory Bologna's user avatar
0 votes
1 answer
95 views

Bootstrap News: Image Modifciation

I want to improve the design of my website (https://pixelbay.net/). Rather than altering the image myself via Gimp every time I want to post, one feature I want to add is that the main category ...
Gabriel Stanford-Reisinger's user avatar
0 votes
2 answers
435 views

Wordpress Loop with different Column sizes

I'm trying to make a loop that does the following, The first post is a different column size, and every post under that is a col 6. I'm using bootstrap. this image shows what i'm trying to ...
Kevin Love's user avatar
1 vote
1 answer
298 views

Create / Close Div in Array [closed]

Found several similar questions, couldn't get anything to work. Trying to setup a bootstrap card that is created from array data. I am using the code below to create the divs if the array has data. ...
DZ002720's user avatar
0 votes
1 answer
223 views

Change menu for mobile

I am working on a WordPress website, where I try to show a different menu based on the device (desktop vs. mobile). In order to do that, I added some code to the header.php file: <?php ...
Gerroe's user avatar
  • 1
1 vote
2 answers
1k views

Make menu bootstrap compatible

I am having an issue with my WordPress nav menu. It is currently looking like this : I am trying to make my bootstrap 3.3.7 (think that's the right version) menu work and that is the error. The line ...
Jenova1628's user avatar
3 votes
1 answer
7k views

HTML Bootstrap navigation menu to Wordpress menu using wp_nav_menu

I am trying to convert my existing HTML Bootstrap menu into Wordpress theme menu. I already created menu called "Primary" in Wordpress, but can't get it in theme exactly the same as in HTML. My HTML ...
istoby's user avatar
  • 135
3 votes
1 answer
1k views

Working Bootstrap Carousel Conversion to WP - Technical Questions

I have coded a working Bootstrap carousel, it needs to be converted to WP. It's a small chunk of the site, but as a Wordpress newbie, am stuck in understanding the technical issue. So here's what I ...
Adnan's user avatar
  • 51
0 votes
1 answer
639 views

Displaying Post Content on tooltip

I'd like to display the content of a custom post type, when hovering over a "question mark icon". In order to get the data, I used the following code (series is the custom post type): ...
sonja's user avatar
  • 159
3 votes
3 answers
16k views

Multi Level Bootstrap Navigation Menu in WordPress

I am converting a static website made with Bootstrap in WordPress. Here is my bootstrap multilevel navigation menu code: <section class="menuBar"> <nav class="navbar navbar-expand-lg ...
Milan Bastola's user avatar
0 votes
1 answer
1k views

How to change navwalker's dropdown mark-up?

I am using this Bootstrap 4 Navwalker, bs4navwalker, to step through my WordPress menu items and generate a navbar, like... Single level - works <?php wp_nav_menu([ 'menu' ...
Robert Andrews's user avatar
0 votes
1 answer
87 views

PHP code printed into CSS classes

So, I'm working on a site. I didn't develop and I don't have access to the developers. The site uses a custom designed Bootstrap based theme, built with Page Builder. I just moved the site to a ...
nizz0k's user avatar
  • 119
3 votes
2 answers
29k views

How to en-queue bootstrap 4 to theme?

i tried enqueue the bootstap with functions php wp_enqueue_style('bootstrap4', 'https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css'); wp_enqueue_script( 'boot1','https://code....
user avatar
0 votes
1 answer
209 views

wp_get_archives doesn't take effect from css or html

I'll try to keep it short. So basically I'm trying to add custom item to my menu which in this case is the archive dropdown list with months desc. Everything looks nice and clean but the output of ....
Dejan Arsenijevic's user avatar
0 votes
0 answers
122 views

From php web to wordpress conversion, href changes only in URL

I have converted my PHP dynamic website into WordPress. Whole design is perfect. But unfortunately, when I click on any href link. it just changes in URL but not displaying the related linked page. ...
stefan's user avatar
  • 1
0 votes
1 answer
94 views

creating different style CTA button in the menu

I'm wondering if there is a possible way to create two different CTA button style in the same menu in WordPress I've tried something like that by creating two menu href and add two different [btn] ...
Hossam Salah's user avatar
0 votes
1 answer
3k views

Wordpress style.css not updating, only after theme reload

I am using Bootstrap to put together a Wordpress. I update all my files locally and upload them through Sublime's SFTP. I also use Cyberduck to double check whether changes have gone through fully. ...
Ezequeil's user avatar
0 votes
1 answer
2k views

Bootstrap Accordion with Dynamic content Wordpress Archives Unique ID

​ Hello, I have an archive posts page where I am pulling in the posts dynamically and sorting them by Year then Month. I am trying to add the bootstrap accordion effect hiding the months under the ...
Deirdre Nic's user avatar
0 votes
1 answer
2k views

Bootstrap accordion looping through posts incorrectly

I have this page on my website - https://visitwinona.com/ask-a-local/ Where I'm calling all the categories of my custom post type faqs, I've implemented the bootstrap accordion, and it works but as I ...
Lucy Brown's user avatar
1 vote
1 answer
29 views

title, content, feature images

in my testimonials section the title, and content do not show. the feature images show with extra image attached to each one. I'm new to php and word press. using WP 4.9 (here is my code) <div ...
eileen's user avatar
  • 11
0 votes
1 answer
142 views

Bootstrap theme embedded iframes are distorted [closed]

I'm trying to embed videos onto a page, but they are displaying all stretched out. Here's what it should look like, and this is what it currently looks like. Here's my embed code: <iframe width="...
Camille Roney's user avatar
1 vote
1 answer
3k views

NavWalker Bootstrap Error (won't dropdown)

Can anyone identify what is not working with my NavWalker code? I can't get it to dropdown. It works great otherwise. Thanks for all help. <nav class="navbar navbar-expand-lg navbar-dark bg-...
Henry's user avatar
  • 983
0 votes
1 answer
979 views

Bootstrap Carousel HTML structure and funny output [closed]

I built a wordpress site with a bootstrap carousel at the top. As you might have seen, that carousel's code goes: <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel"&...
Marcos Di Paolo's user avatar
0 votes
1 answer
451 views

Bootstrap carousel - Using shortcode inside enclosing shortcode

I want to create a bootstrap carousel with a enclosing schortcode. The final shortcode will be something like this: [product_carousel][product id="1"][product id="2"][product id="3"][/...
Frank Groot's user avatar
-1 votes
2 answers
2k views

I want to load post in bootstrap Modal dynamically

<div class="col-lg-4 col-md-4 col-sm-6 exhibitors-child"> <div class="exhibitors-border"> <?php the_post_thumbnail(); ...
RRR's user avatar
  • 111
0 votes
0 answers
24 views

Add the Twitter Bootstrap framework for the development of my plugins

I'm starting to develop Wordpress plugins, and I see that in the official Wordpress documentation, there is no default library like [Bootstrap] [1] that has all the features such as Tabs, Windows, a ...
Learning and sharing's user avatar
0 votes
1 answer
2k views

How to style bootstrap container in wordpress theme?

I am createing the footer.php for my costum theme. The whole footer is full with/356. In the middle of this container I another container which is 960/252. Inside I have some components(logo, social ...
Vanina Yordanova's user avatar
0 votes
3 answers
48 views

I have problems with loading javascripts

Fitclaw I have problem with loading my css/js files. They're uploaded on ftp but i had to direct them with the whole path including domain because with ../ it didn't worked. That's for CSS. JS doesn'...
Gorgi's user avatar
  • 1
0 votes
2 answers
3k views

Bootstrap navbar responsiveness on WordPress theme menu not working

The theme I am creating is not working correctly. The menu is not collapsing into mobile view with the hamburger icon when I decrease screen size. I can see all the classes when using the inspect tool ...
anielfeyt's user avatar
-1 votes
1 answer
79 views

What are the downsides of using bootstrap in plugin development?

I want to use twitter-bootstrap in my plugin. Are there any downsides of that? Will it create any issue if other plugin are already using the same on WordPress environment?
learning_13's user avatar
1 vote
2 answers
1k views

Developing WordPress Theme using CSS framework like Bootstrap

I am going to develop WordPress theme using Underscores and Bootstrap. So should I copy all bootstrap codes in to style.css or should I include it using @import url("https://maxcdn.bootstrapcdn.com/...
I am the Most Stupid Person's user avatar
1 vote
3 answers
2k views

How to add class to <ul> and childs <li> of sidebar widget - Wordpress

Note : Please note that I create this theme to re-sell, so I need little bit good way to add it. This is how I register the menus on my right sidebar: if(function_exists('register_sidebar')){ ...
Sasa1234's user avatar
  • 352
7 votes
1 answer
54k views

How to modify Contact Form 7 Success/Error Response Output [closed]

I'm trying to find a way to override or filter the output of the Contact Form 7 response boxes which are shown when a form error or success message is shown. As default, Contact Form 7 outputs this ...
Mat's user avatar
  • 1,637
10 votes
2 answers
47k views

Best way to include Bootstrap in Wordpress

I am coming from a Laravel background and using Bootstrap in Laravel is relatively easy. However I have a project I have been working on with Wordpress and I am using Bootstrap for my nav bars. The ...
R1ddler 's user avatar
0 votes
1 answer
191 views

Enqueuing latest version of jQuery into a child theme returns a blank screen

Wordpress beginner here. I created a child theme and I'm trying to enqueue Bootstrap 4 inside the functions.php file. From my understanding, if I want to enqueue Bootstrap properly I need to enqueue ...
Alex Fidel Chen's user avatar
-1 votes
1 answer
434 views

Convert a custom bootsrap based menu to wordpress nav walker

How can we convert a custom bootstrap based menu to wordpress nav walker function? I'm trying to make one for this bootstrap based menu: https://bootstrapious.com/p/bootstrap-sidebar#sidebar-5
Mihir's user avatar
  • 121
1 vote
1 answer
3k views

Bootstrap Navwalker not displaying

I am creating a bootstrap wordpress theme from scratch, i want to create a nav menu using WordPress nav walker class, i followed the documentation on GitHub to install it, then i added a primary menu ...
Mina's user avatar
  • 111
1 vote
0 answers
696 views

jQuery for custom plugin not working with Divi theme

I'm writing a plugin, and it requires Bootstrap's nav tabs feature. I added Bootstrap to my plugin, and made sure jQuery was enqueued as well. This is how I did it: function added_scripts () { ...
Coltvant's user avatar
  • 187
0 votes
2 answers
2k views

Bootstrap Carousel Indicators Won't Cycle On Custom WordPress Theme

*UPDATE - This wasn't showing because of a cache issue. The comment referencing changing the jQuery to :first-child instead of :first was indeed the only issue that needed to be addressed. * I am ...
user5854648's user avatar
0 votes
1 answer
1k views

Custom Post Type with Custom Taxonomy in Bootstrap 4 Accordion

I have a CPT with a Custom Taxonomy and a I need to show this content in the Bootstrap 4 Accordion. So far, i have this: <?php $terms = get_terms( array( 'taxonomy' => 'ano' ...
Ronaldo Chevalier's user avatar
0 votes
1 answer
677 views

Handling repeater data

I am currently trying to create a drop down feature with the repeater custom field input. This may or may not be the right custom field to be used but it seems like it is given the other offered ...
Nappstir's user avatar
  • 103
0 votes
1 answer
3k views

All of my custom Bootstrap styles are not working in my child theme!

I'm trying to create a child theme for Betheme. I styled most of the elements in my child theme using Bootstrap separately as HTML templates and later integrated with my child theme. But, none of ...
Mithun Nath's user avatar
2 votes
3 answers
15k views

Add Bootstrap dropdown class to a nav menu

How to build this menu in WordPress <div class="collapse navbar-collapse" id="collapse-1"> <ul class="nav navbar-nav"> <li><a href="#">our ...
sevoug's user avatar
  • 21
-1 votes
1 answer
2k views

Broken drop down menu using Bootstrap and navwalker class

I am using Bootstrap + navwalker class and my problem is that the drop down menu doesn't expand when clicking. The odd thing is that if I change the URL from where the bootstrap.js is fetched to an ...
BienHecho's user avatar
1 vote
0 answers
67 views

Each Slide Has Something Missing In Carousel

I created a dynamic image slider in my theme that pulls from a category I named Slider. The images show up fine however each slide has only one piece of information. Right now I have two slides. Each ...
user5854648's user avatar
1 vote
1 answer
991 views

Customizing comments pagination for bootstrap

I want to customize the comments pagination to support Bootstrap, I have these lines in my theme file but I need more customization to display Bootstrap pagination style <?php ...
Farhad Sakhaei's user avatar
0 votes
2 answers
5k views

Grid post page on Wordpress with Bootstrap, the_excerpt(); Problem

I'm trying to create a page on WordPress with a grid which contains al my posts. The grid works well until when I add the the_excerpt(); for my post. The grid became a mess. The rows are not correct ...
Crashy's user avatar
  • 199
0 votes
2 answers
830 views

body_class(); not working with bootstrap navbar fixed top?

I am trying to use WordPress with a bootstrap template, class navbar-fixed-top is conflicting with body_class(); Is there a workaround to this problem? Edit 1: Additional details, I can't see the ...
user5676973's user avatar
1 vote
0 answers
851 views

Bootstrap and Custom CSS in custom plugin are being overwritten by theme

This is my first plugin, and I'm having a real hard time figuring out enqueuing styles/scripts. All the code I wrote for the plugin works great, but I'm having issues with stylesheets and Bootstrap. I ...
Coltvant's user avatar
  • 187

1 2
3
4 5
7