Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [twitter-bootstrap]

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

0
votes
0answers
24 views

Posts in two different columns Bootstrap

I want the posts on the main page to be arranged in Bootstrap columns in this way: I have this code, but instead of the first two posts, only one is displayed. <?php get_header(); ?> <?php $...
0
votes
0answers
21 views

Multiple responsive Bootstrap carousels via shortcodes

I'm writing a shortcode to display responsive Bootstrap carousels that adjust column numbers according to browser width. It works for a single shortcode, and responsively adjusts as follows: However,...
1
vote
1answer
23 views

Why is my oembed function modifying Twitter embed?

Building a theme with Boostrap 4 and WordPress 5.0.1. Under Bootstrap's documentation for embed video the following format is required for responsive videos: <div class="embed-responsive embed-...
1
vote
1answer
26 views

WP_bootstrap_Navwalker_issue [closed]

I have put a navwalker in my bootstrap wordpress which gives me a fatal error Fatal error : Uncaught Error: Class 'WP_Bootstrap_Navwalker' not found in A:\xampp\htdocs\wordpress\wp-content\...
0
votes
0answers
18 views

Siderbar implementation with collapsible bootstrap cards

I'm trying to implement collapsible Bootstrap 4 cards on sidebar widgets, until now I have this: register_sidebar( array( 'name' => esc_html__( 'New Sidebar', 'ns' ), ...
0
votes
0answers
20 views

Some bootstrap components not working after migration

I recently moved a Wordpress installation from one server to another (with the same characteristics) Original:https://alfredolazaro.com/boutique/ Moved:https://theboutiquerooms.com/ I did the ...
0
votes
1answer
31 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 ...
-1
votes
0answers
13 views

the_content display a word “singular” when it calls

This my first time here I just want to ask if any body know how here how to get rid of the word "singular" when the_content calls on a custom loop. I don't know why that word render when it calls ...
0
votes
0answers
15 views

wp_nav_menu() filter - preg_replace value returned wrong

I'm having an issue where the filter I've added to wp_nav_menu() is adding code to the second level of the navigation. How can I change the filter or the preg_replace code in a way that only adds it ...
1
vote
1answer
28 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 ...
-1
votes
1answer
32 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 ...
0
votes
0answers
16 views

How doI keep the mobile menu in a desktop configuration? (I need troubleshooting help)

Please forgive me if I am not asking the question clearly enough. I purchased a wordpress template from an 3rd party vendor so that I could have a vertical main menu. I am now trying to keep the "...
0
votes
2answers
20 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 ...
1
vote
1answer
26 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. ...
0
votes
1answer
22 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 ...
-1
votes
2answers
167 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 ...
0
votes
0answers
30 views

Bootstrap 4, close responsive navbar automatically when clicked

Im using the Understrap starter theme to make a single page scrolling site with scrollspy and smooth scrolling. I would like the navbar when in smaller screen dropdown to close automatically when ...
1
vote
1answer
401 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 ...
2
votes
1answer
214 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 ...
0
votes
1answer
55 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): ...
1
vote
0answers
424 views

bootstrap menu parent toggle and arrow

I have created a menu in Bootstrap 4: Here is the code: <section class="menuBar"> <nav class="navbar navbar-expand-lg navbar-light" data-toggle="sticky-onscroll"> <div class="...
0
votes
0answers
248 views

Bootstrap 4 navwalker - multilevel menu

I'm using this nav walker in my Wordpress project. I want to create multilevel menu, for example. What I need to change to get it work? Or maybe is it another walker for BS4 with multilevel menu ...
1
vote
1answer
1k 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 ...
0
votes
1answer
188 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' ...
0
votes
1answer
29 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 ...
0
votes
0answers
421 views

Bootstrap 4 - include the button within the responsive menu

this is the menu that i am using but problem is - in mobile devices the button is showing out side the menu .. toggler menu is only having the menu in and the button is coming up just below... <...
0
votes
2answers
1k 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....
0
votes
1answer
70 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 ....
0
votes
0answers
13 views

cant add Pagination to wordpress theme

i'm trying with all possible codes to add pagination to my wordpress theme but its impossible ! here is my theme http://alldaytrail.byethost13.com check that i have created a separated page to show ...
0
votes
0answers
34 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. ...
0
votes
0answers
183 views

Multi level with bootstrap 4

I need to add a new level on the navbar, it looks like this At "Extension Universitaria" should appear a new section called "Cursos Disponibles" on the Menu section of Wordpress i got all in order ...
0
votes
1answer
26 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] ...
0
votes
1answer
753 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. ...
0
votes
1answer
468 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 ...
0
votes
0answers
21 views

Loop to display different pages on page.php

So i am trying to convert my bootstrap html site to wordpress and since i already have about, services and contact page created, i am trying to use a loop in page.php to call each of the templates (...
0
votes
0answers
240 views

Bootstrap's JavaScript requires jQuery

When I active "wide" template, plugin.min.js script load before jquery.min.js. Because of this, I get these errors on console and javascript, not work: Uncaught Error: Bootstrap's JavaScript requires ...
0
votes
0answers
20 views

How to display only 2 WP galleries on page w/Custom bootstrap 4 gallery filter?

First I want to say this code is working. I am posting here for several reasons: 1st - this may help someone else (the WP gallery was not doing much out of the box with wrong markup for bootstrap) 2nd ...
0
votes
1answer
471 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 ...
0
votes
0answers
90 views

Bootstrap starter theme styles not working

I'm using starter theme by bootstrap for my wordpress website but when trying to use the navigation which comes with bootstrap starter theme by default, all the styles seems not to be working. There ...
1
vote
1answer
25 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 ...
0
votes
0answers
80 views

Error importing Bootstrap with wp_register_style

I'm trying to import the Bootstrap library in my Wordpress website. I have downloaded it from the website and I have copied the files into the css folder inside my theme folder. Here is the code: ...
0
votes
1answer
55 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="...
0
votes
0answers
32 views

What's the best way to create a bootstrap form with my plugin?

I am putting together a simple plugin which is a custom user registration form by following this: https://code.tutsplus.com/tutorials/creating-a-custom-wordpress-registration-form-plugin--cms-20968. ...
0
votes
0answers
123 views

NavWalker css class not being applied to the link in bootstrap/ WordPress theme

I am using the dark inverse theme on bootstrap and am trying to get the NavWalker WordPress navigation to work. This is the correct vanilla code that works great: <nav class="navbar navbar-expand-...
1
vote
1answer
218 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-...
0
votes
1answer
548 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"&...
0
votes
1answer
88 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"][/...
0
votes
1answer
1k 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(); ...
0
votes
0answers
19 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 ...
0
votes
1answer
774 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 ...