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
2k views

is using the_posts_navigation() required?

I want to create a theme and get it approved on wordpres.org and want it having number page navigation: The HTML code should Bootstrap 4's navigation component. i can accomplish the above with an ...
Bass Jobsen's user avatar
0 votes
2 answers
245 views

Installing Bootstrap on Twentyeleven Theme

Can anyone tell me how to enable Bootstrap on a site using the twentyeleven theme? I followed the instructions for activating Bootstrap with the twentyfourteen theme without success. This is the code ...
WordBear's user avatar
  • 165
-4 votes
1 answer
751 views

How to make a page extend full screen [closed]

For some reason my wordpress theme has invisible margins on both sides of the page, forcing all my content into the middle. Example.
Warren's user avatar
  • 1
0 votes
1 answer
1k views

Adding bootstrap classes to video shortcodes

I want to make videos responsive... There is a function in /wp-includes/media.php file: line 2497: $html_atts = array( 'class' => apply_filters( 'wp_video_shortcode_class', 'wp-video-...
Ivan's user avatar
  • 1
0 votes
2 answers
7k views

Adding Bootstrap to WordPress TwentySixteen Theme

How can I add Bootstrap to the Wordpress TwentySixteen Theme without using a plugin? I've tried linking to the stylesheets and scripts within the header/footer, however the theme seems to override ...
sargeanto's user avatar
1 vote
1 answer
2k 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 ...
Артур Пипченко's user avatar
1 vote
2 answers
1k views

Modal suddenly disapearring [closed]

I use Bootstrap Modals plugin. I have put the following code for modal in my page-contact.php. <h2>Small Modal</h2> <button type="button" class="btn btn-info btn-lg" data-toggle="modal"...
Ivana's user avatar
  • 111
0 votes
1 answer
141 views

Wordpress Bootstrap Grid

What's the best way to create a grid layout using bootstrap, or see link below http://v4-alpha.getbootstrap.com/examples/carousel/ displaying three different headings, should i use wp-query or, ...
James Gacuca's user avatar
0 votes
1 answer
3k 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 ...
Antti's user avatar
  • 127
0 votes
1 answer
1k views

WP Media Uploader modal conflicts with Bootstrap modal

I was creating a form in a Bootstrap Modal to allow users to create new posts from the frontend. Everything seemed alright until I wanted to upload a file to the media library or choose one already ...
luke's user avatar
  • 533
0 votes
1 answer
2k 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 ...
Madeirense's user avatar
1 vote
3 answers
6k 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 ...
user122552's user avatar
0 votes
1 answer
26k 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 ...
OulaX's user avatar
  • 1
1 vote
2 answers
51 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 ...
Tom Withers's user avatar
2 votes
1 answer
2k views

Loop through Navbar, Output Icons

I'm trying to loop through my Navbar in WordPress so that I can output some Icons at the end of the last link. I have this working but I end up outputting a Navbar and a list. I think this is because ...
Tom Withers's user avatar
1 vote
1 answer
2k 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 ...
omgummy's user avatar
  • 11
1 vote
1 answer
125 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 ...
Richard's user avatar
  • 137
0 votes
1 answer
107 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 ...
Chad J Treadway's user avatar
1 vote
1 answer
218 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 ...
Stephen's user avatar
  • 1,304
0 votes
2 answers
754 views

Set custom id to list element walker custom function

I am creating a navigation with bootstrap in a custom WP theme. I have managed to get this result: <li id="menu-item-27" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-...
Henry Lynx's user avatar
-1 votes
1 answer
1k views

How to make this splash page responsive

I need to create a simple responsive splash page where there is a full background image with a logo, text and CTA on the top half of the image. The Mobile_View image is how the page looks when ...
mik9090's user avatar
3 votes
1 answer
24k views

How do I add the data-toggle="modal" data-target="#myModal" attribures to a WP Nav bar?

I'm new to Wordpress so please be patient! I've created a template in html5/ccs3 and am in the process of trying to make a wordpress template out of it. In my navigation menu (in html) I have a ...
Benn Moffat's user avatar
0 votes
1 answer
253 views

Full width thumbnail

I have a post part that is called into my single.php and looks like this: <div class="main-content col-md-8" role="main"> <?php while (have_posts()) : the_post(); ?> <?php ...
Madeirense's user avatar
0 votes
1 answer
735 views

Full width featured thumbnail

How to make post thumbnail full width above sidebar and content? I am using bootstrap for a theme and have a single template named single-thumbnail-featured.php. On this post I need the thumbnail to ...
Madeirense's user avatar
3 votes
1 answer
1k 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( $...
samix73's user avatar
  • 173
1 vote
0 answers
96 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' => __( '...
user9447's user avatar
  • 1,772
0 votes
1 answer
1k views

Bootstrap modal with jQuery post [closed]

I am trying to create a popup and form with validation, but for some reasonthe process.php is not being found I was told to reclairfy my question. I am using the jQuery below to go to my processing ...
dotnetdevcsharp's user avatar
0 votes
1 answer
654 views

Wordpress keeps showing mobile version on Internet Explorer

I have wordpress 4.3.1 installed on the intranet with a standard theme TwentyFourteen. When I use Firefox and Chrome to view the website, everything works exactly like it should. However, on IE9 and ...
Jake's user avatar
  • 101
0 votes
2 answers
110 views

Shortcode arguments to another shortcode

I am learning about shortcodes. I've made 2 shortcodes that makes an accordion with bootstrap. One shortode (accordionGroup) creates the body that contains one or more shortcodes to make the items and ...
Pedro Pablo Pastene's user avatar
0 votes
1 answer
540 views

Code for creating three vertical columns in Wordpress Bootstrap theme

I am trying to make Wordpress theme with bootstrap 3.x. This is my first theme and I am experimenting with Wordpress and bootstrap various features. I would like to use Wordpress sticky post feature ...
Mike's user avatar
  • 1
0 votes
2 answers
2k views

Add row after three columns

on my newssite i have the first post in a full-width column, after that all older post are in three columns per row. But now i want that wordpress put after every three columns a and to keeps the ...
SirPrice's user avatar
0 votes
1 answer
830 views

Get the featured image url of clicked post

How can I display the featured image of a post in a modal along with it's content. With the help of a few online threads on similar issues, I tried this: <?php if ( has_post_thumbnail()) { ...
AndrewL64's user avatar
  • 203
0 votes
2 answers
62 views

Is there a way to multiply archive loop results sequentially?

I am trying to make my own version of this I've implemented bootstrap grid in my attempt. I'm very close, but the <div class="row"> being looped is causing problems. I want to just be able to ...
RLM's user avatar
  • 247
1 vote
2 answers
985 views

What is the proper way to include Bootstrap when executing a shortcode

I am trying to include bootstrap only when the short-code function executes. It gets included but it affects the other tags of the theme. The only way I can get around this is including bootstrap ...
Nour Eldin Mohamed's user avatar
1 vote
1 answer
4k views

How to use Bootstrap with WP's jQuery? [closed]

I am using WP's local jQuery. All my own scripts are working fine! But bootstrap gives me this error message in the console: Uncaught Error: Bootstrap's JavaScript requires jQuery. How can I make ...
Alex's user avatar
  • 375
0 votes
1 answer
124 views

Should I paste CDN links in a JS file or use a Bootstrap CDN plugin?

I'm new to WP development and I don't have the experience to know if I should place CDN links in a JS file and enqueue it or use a nifty plugin such as this one. What is best practice? What should I ...
loltospoon's user avatar
0 votes
1 answer
1k views

add class to background image

I'm trying to make a wordpress theme, using as framework the twitter bootstrap. On one page template I need to use the featured image as a background image, so I used this code: <?php global $post;...
BigDropGR's user avatar
  • 145
1 vote
1 answer
1k views

Enqueueing a script and a style sheet not working

I am trying to enqueue both a child theme style sheet and a child theme script. I need to enqueue the script because I put CDN links in there for Bootstrap. I know my enqueue isn't working correctly ...
loltospoon's user avatar
0 votes
2 answers
740 views

Glyphicons Dont Show in WordPress Plugin Only

I have a very simple WordPress plugin that shows a menu/admin page. The page contains Glyphicons - Font Awesome. These glyphicons are never showing. I cannot figure out why because I know the font-...
sazr's user avatar
  • 357
-1 votes
2 answers
427 views

nav tag wrapping around dropdown

I am trying to display my menu, while menu is displaying perectly, it does have open within nav, which hide everything behind it, as navbar-fixed has come style. what should i be doing to fix the ...
localhost's user avatar
  • 484
0 votes
1 answer
2k views

add bootstrap post slider with tabs

I'm trying to add a carousel with my post. UNder the carousel, some tabs with the post title. On click of the post title, it should change it the slide to display the related post. In " Static" in ...
tibewww's user avatar
  • 297
1 vote
1 answer
1k 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 ...
Aparna Mathew's user avatar
1 vote
3 answers
10k views

Layout Plugin Admin Pages: Use BootStrap? [closed]

When you make your plugin admin pages, ie 'My Plugin Settings' page and etc. do you use bootstrap in them? What is the convention for this and what do most in the industry use to lay out their ...
sazr's user avatar
  • 357
-1 votes
1 answer
222 views

do_shortcode for twitter doesn't work well

I have problem in show tweet in single.php template. So I use this way to echo the tweet like this :- $check_embeds=$GLOBALS['wp_embed']->run_shortcode( '[tweet 567061791826382849]' ); echo $...
Zamalek Man's user avatar
0 votes
1 answer
7k views

Dynamic bootstrap tabs with post_title doesn't display the_content

Im trying to use bootstrap tabs to have a tab system following: Each tab has the_title (post title), on click of each tab, display the content. So far, I have all the tab listed correctly, and the ...
tibewww's user avatar
  • 297
-1 votes
1 answer
323 views

Use bootstrap for wordpress gallery? [closed]

I am wondering if it is possible to rewrite the gallery shortcode output (default wp gallery) to use bootstrap responsive columns. WP gallery is not really working as the rest of my theme. I know it ...
artist learning to code's user avatar
0 votes
0 answers
57 views

Connecting Stylesheet in Wordpress using less styles

I've compiled a static version of a custom theme using less and having trouble recognizing the main stylesheet. Framework bootstrap and whole stylesheet attempts to link to @import url("css/bootstrap....
lberelson's user avatar
0 votes
1 answer
4k views

How to convert bootstrap tab functionality into wordpress using just 1 query?

I'm creating a theme using Bootstrap and want to use the Bootstrap tab functionality in WP. Here is my code and it's working just fine. As you see in the code below, I've used one loop for tab menus ...
pershianix's user avatar
0 votes
1 answer
144 views

From my Plugin Settings Page use check boxes to load specific css files (e.g. Bootstrap / Foundation)

This is my first post on here so bare with me if something goes terribly wrong. The wp plugin I am building requires bootstrap for the shortcodes it generates to be styled as expected when rendered ...
Craig Watson's user avatar
0 votes
3 answers
3k 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 ...
Dandy's user avatar
  • 119

1
3 4
5
6 7