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

learn more… | top users | synonyms (1)

6
votes
3answers
4k views

Display custom post type and custom fields within a Bootstrap Carousel

I am using the "Types" wordpress plugin for the first time. I created a custom post type, as well as some custom fields. How do I dynamically call all the custom posts into a Bootstrap carousel, ...
5
votes
6answers
15k views

WordPress admin bar overlapping twitter bootstrap navigation [closed]

I am having an issue with the WordPress admin bar overlapping the twitter bootstrap (2.3.0) nav bar. I have tried this fix: body.admin-bar .navbar-fixed-top { top: 28px; } .navbar .brand { ...
3
votes
4answers
16k views

wordpress nav menu using twitter bootstrap

I'm using twitter bootstrap in my theme. I'm trying to use bootstrap menu in my theme. But it use custom attributes like data-toggle. Here is the full code. <ul class="nav"> ...
3
votes
1answer
9k views

adding some custom html code to the wp_nav_menu function

I would like to implement some custom html code to the wp_nav_menu function in WordPress so that I can add a bootstrap modal box to a navigation menu link but I am unsure how to go about it. The post ...
3
votes
2answers
71 views

Is it possible to handle a specific section of a post separately?

I've tinkered with WordPress a little, but I'm far from an expert, so apologies in advance if this is a duplicate question. I've built a simple WordPress theme based around Bootstrap, and I can ...
2
votes
1answer
8k views

how to install bootstrap to twentyfourteen theme

Im new with using wordpress and im wondering if it is possible to install bootstrap to my twentyfourteen theme? Thanks!
2
votes
1answer
2k views

Load custom css after bootstrap

I have this in functions.php. How can I modify it so that my custom css is loaded after bootsrap.min.css? function register_css() { wp_register_style( 'bootstrap.min', ...
2
votes
1answer
10k views

Bootstrap drop down menu with wp_nav_menu

I am trying to build a Wordpress theme with boostrap, but the nav menu is giving me some trouble. I would like the dropdown to work like boostraps dropdown, but I do not know how to do this. This is ...
2
votes
1answer
39 views

customizing the_password_form filter

I'm trying to customize the_password_form to integrate it with bootstrap inline-forms with an add_filter() function: function custom_passowrd_form ( $form ) { global $post; $label = 'pwbox-'.( empty( ...
2
votes
1answer
591 views

Make compatible custom menu widget for Twitter Bootstrap

If I configure wp_nav_menu function, I can put the "items_wrap" option to achieve a nice navigation given by Twitter Bootstrap, thus: <ul class="nav nav-pills">%3$s</ul>. But, how to ...
2
votes
2answers
2k views

Twitter Bootstrap Use Collapse in Custom Post Type

I am using Bootstrap with Wordpress and I want to implement the collapse functionality in the content for single pages of a specific custom post type. I know I could create a shortcode, however, ...
2
votes
1answer
1k views

Using/compiling Foundation SASS on live WordPress server

so far I've used extensively LESS and BootStrap for many of my sites. However, I decided to start using Zurb Foundation as it seem more powerful, especially with the latest release (5). With LESS, ...
2
votes
3answers
3k views

Getting Bootstrap accordion working in Wordpress loop with custom post type (collapsing issue)

First off I am well aware that there is a plugin but I am NOT talking about the BS Short code plugin. I am talking about the actual bootstrap accordion. So here is what I am trying to accomplish, I am ...
1
vote
2answers
920 views

Excess White Space Above Admin Bar on Frontend Using Twitter Bootstrap

The problem (Excess White Space Above Admin Bar on Frontend Using Twitter Bootstrap): While logged in and viewing the frontend -- If you shrink your browser down, there is an excess amount of white ...
1
vote
1answer
77 views

Custom Theme Bootstrap

So I've made my custom theme using Bootstrap and everything is working all good and well expect from when I put it onto a tablet device. The problem I'm having is the Navbar doesn't collapse when the ...
1
vote
1answer
205 views

Bootstrap Drop Down menu is not working

Bootstrap dropdown is working when i added the jquery( https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js ) in footer and by deregistering wodpress default jquery. When i disabling the ...
1
vote
1answer
764 views

echo image caption

I am attempting to echo out my image captions in a Bootstrap Carousel. I have managed to get my images to display but unable to display my captions. I have attempted to use wp_get_attachment_metadata ...
1
vote
1answer
231 views

How do I add Bootstrap and LESS to my migrated WordPress site?

I'm migrating a website to WordPress - it uses both Bootstrap and LESS. I found a snippet online for enabling Bootstrap and the outputted CSS via functions.php: function theme_add_bootstrap() { ...
1
vote
1answer
3k views

Rewriting WordPress Gallery Shortcode with Bootstrap Carousel

In a recently personal theme project for publishing travel posts, I desired a slider-style image gallery rather than the standard column/list-style one WordPress uses out of the box. I like the ...
1
vote
1answer
62 views

Iframes inside bootstrap tab disappear when tab is shown

I am currently struggling with strange iframe behaviour: I have bootstrap tab with three youtube iframes in it. When I go to this tab for the first time, iframes dissappear, but if I click on another ...
1
vote
0answers
457 views

Why isn't “background-image: url”working with Bootstrap carousel on WP?

When I made a Bootstrap carousel in plain HTML it was working just fine, but when I pasted the code into Wordpress the carousel is completely white. It's not a problem with the path because it will ...
1
vote
2answers
32 views

Wordpress Multiple Navigation bars

This is more of a 'Is it possible question" I have a home page which has a full width header and a transparent Navbar, when you scroll this Navbar changes to white. On all my other pages I want this ...
1
vote
0answers
59 views

Main Menu and Sub Menu Items for Footer

So I'm currently trying to figure out how to display both my main menu items and my submenu items separately in my footer. I want to display them both in separate columns (bootstrap) and am having ...
1
vote
1answer
42 views

Port existing Bootstrap site to WordPress?

I have an existing static site, built on top of Bootstrap, with custom CSS. Now I want to move the site to WordPress (yay). But I want to keep all the styling and layout in WordPress exactly the ...
1
vote
0answers
44 views

Can you target a widget_class in a register_sidebar?

Using Bootstrap 3 to create a WordPress theme I am using register_sidebar() for the sidebar: if ( function_exists( 'register_sidebar' ) ) { register_sidebar( array( 'name' => __( ...
1
vote
1answer
760 views

Add submenu using the bootstrap wp_nav_menu

I have a problem to generate a submenu using wp_nav_menu . How can I change the ClassA submenu generated by the wp_nav_menu for ClassA the Bootstrap ? see my problem: This is my code that ...
1
vote
1answer
69 views

Wordpress Short code with additional parameter

I am using twitter boostrap in my recent project . I want that the post or page content will split into columns. For doing this I am declaring several shortcode like this function ...
1
vote
0answers
361 views

Get Page content to displayin Bootstrap Modal

Ok I'm a relative novice here, and after looking around I still haven't found the answer to my problem. I'm basically trying to link a Bootstrap Modal to some text in a footer (widget), the content of ...
1
vote
0answers
273 views

Rendering of custom walker menu function not working properly

I have a custom function for my nav walker menu that adds custom php/html to it, which can be seen below. It renders a twitter bootstrap dropdown menu that I would like to put my login form in. ...
1
vote
1answer
89 views

How to Output which matched meta_keys were found from custom_type_posts?

In WordPress on the single-player.php page which displays a single profile (from numerous other profiles) with information from around 10 different meta fields. Without using tags or categories.. ...
1
vote
1answer
539 views

Sticky Header in Wordpress using BootstrapWP theme [closed]

So I am using Rachel Baker's open source BootstrapWP starter theme to develop a Wordpress theme. There is a repository on Github but I didn't think this question was appropriate to post there. I am ...
0
votes
1answer
2k views

Using twitter bootstrap in a theme

Recently I made a simple web template using basic HTML and twitter bootstrap along with my own custom CSS. I want to convert that into a WordPress theme. I know how to create WP theme from basic ...
0
votes
1answer
398 views

Prevent a base themes css file from loading

I have created a child theme from the openstrap theme and rather than use Openstraps bootstrap css file, I would like to use my own custom bootstrap css file (using bootstrap custom sass, which is all ...
0
votes
1answer
3k views

How can I remove data-target=“#” from bootstrap dropdown menu?

I've created a mega menu with wordpress. The theme I'm working with happened to use bootstrap and adds so much weird stuff to my menu, and one of those things that seem pretty weird is that it has ...
0
votes
1answer
1k views

How do I enqueue a js file in functions.php for a if lt IE 9 statement? [duplicate]

I'm coding a theme that uses the Twitter Bootstrap 3 files and in the header I want to include: <!--[if lt IE 9]> <script src="<?php echo get_stylesheet_directory_uri(); ...
0
votes
1answer
755 views

How do I properly register bootstrap JavaScript into WordPress functions.php?

I am new to bootstrap and WordPress and trying to put together a simple page. So, it doesn't surprise me that I'm running into dependency problems adding and registering scripts from both the header ...
0
votes
2answers
1k views

Using Bootstrap Switch with WordPress

I cannot figure out how to get this Bootstrap Switch extension to work with my WordPress installation. When I download the example from github and run it on my local machine, the controls work ...
0
votes
2answers
1k views

Make wp_link_pages() suitable for Twitter Bootstrap markup

Below there's the Wordpress code found in post-template.php for the wp_link_pages() function - this function generates a page navigation for posts or pages having the content split into multiple ...
0
votes
1answer
114 views

Multiple rows of footer widget areas

I have a function on my functions.php that adds a bootstrap col class to the footer sidebars depending on the number of active sidebars. What I intend to achieve with this is having footer widgets ...
0
votes
1answer
41 views

Javascipt issue on custom theme

First off I always seem to have trouble getting my JS to work with WP. Currently I need some help figuring out what is going wrong with my javascript and ultimately what I am doing wrong. I have this ...
0
votes
3answers
291 views

Enque a stylesheet in functions.php to override Bootstrap

On my website I use bootstrap which I've implemented in functions.php. Now I am trying to implement my stylesheet after bootstrap, so that I can override its classes. My stylesheet worksbut it's ...
0
votes
1answer
845 views

While loop with bootstrap [closed]

Is it possible to do a while loop with Accordion from bootstrap ? I am trying to make a FAQ section with the repeater add pro add on from advanced custom fields. All the questions show up but they ...
0
votes
1answer
134 views

Wordpress + Bootstrap [closed]

I have integrated Bootstrap with Wordpress, and implemented wp-bootstrap-navwalker to build menus. Bootstrap and navwalker are working as you can see my project here. The only problem is the CSS on ...
0
votes
2answers
481 views

Bootstrap button menu on wordpress

I have a simple 4 item menu on wordpress. I want to use the bootstrap button style for this menu. This is the hand-made code of what I want to get. <div class="menu-menu-container"> <ul ...
0
votes
2answers
224 views

Customizing the Widget content markup

I am using bootstrap to create panels for the sidebar widgets, and I can set the container markup for the widget, as well as the markup for the panel header, but I cannot provide the markup for the ...
0
votes
1answer
495 views

boostrap on wp-admin backend via plugin installation

how can i add and use the twitter bootstrap to my wp-admin backend by a plugin installation approach? i plan to create multiple custom plugins and i just want to add bootstrap as a global style ...
0
votes
1answer
867 views

Shortcode for Twitter Bootstrap Collapse

Im trying to create shortcodes for Twitter Bootstrap Collapse. This is what Im trying to achieve: [collapse-group] [collapse accordion="#accordionOne" title="my heading1"]some text[/collapse] ...
0
votes
1answer
601 views

How to Modify a Widgets UL and/or LI Classes

Im attempting to use twitter UL styles on a custom menu widget. For example, in BootStrap they have a Nav List Style for UL's <ul class="nav nav-list"> <li class="nav-header">List ...
0
votes
1answer
50 views

Bootstrap grid system is not working in my Wordpress theme

I'm a long time Wordpress user but this is the first time I dared to build my own theme (while following a tutorial though). I'm trying to use Bootstrap as the layout tool for the theme, but for some ...
0
votes
1answer
63 views

Loading Bootstrap with wp_enqueue_style and wp_enqueue_script

I'm looking to load Bootstrap on a theme I'm working on though can't figure out how to add the JS file that comes with Bootstrap. I already created a function that loads some of my custom styles and ...