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

Why in this WordPress theme I can't see the Main Menu?

I am pretty new in WP (I came from Joomla) and I have the following problem. I have installed WordPress on my server and if I use one of the included theme (such as the Twenty Thirteen theme) when I ...
AndreaNobili's user avatar
0 votes
1 answer
386 views

How to create a WP theme that use BootStrap? [closed]

I am pretty new in WordPress and totally new in BootStrap development (I have beginning to study BootStrap yesterday) and I have the following doubt about how create a custom WP template that use ...
AndreaNobili's user avatar
1 vote
3 answers
2k views

Removing height and width from images with a caption

I am using WordPress with Twitter Bootstrap 3 and have an issue when it comes to images with captions. Images with captions are given a height and width attribute which stops them from being ...
nandac's user avatar
  • 419
0 votes
1 answer
227 views

How to display thumbnail if post is assigned one otherwise not

I would like to display the most recent post in a block, and if the post is assigned with a thumbnail I would like it to be shown on the left to the post content. This is my code that I have been ...
HannesH's user avatar
  • 75
0 votes
3 answers
3k views

Convert theme to be based on Bootstrap?

I have a theme that i would like to be based on the bootstrap grid instead of its original one and I'm in doubt if this is relatively easy to change or I will have unforeseen challenges. So my ...
McKeene's user avatar
  • 143
0 votes
0 answers
2k views

Bootstrap collapse in custom WordPress widget

I am building a custom widget and using Bootstrap 3 for the styling. I want to implement an accordion has seen here. However, I cannot get it to work correctly. I am including transition.js, collapse....
pelachile's user avatar
  • 135
0 votes
2 answers
446 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 ...
cj5's user avatar
  • 220
0 votes
1 answer
3k views

Responsive menu on genesis theme [closed]

Hi I'm customizing a Genesis framework theme Jane and I want to change the menu to be responsive with Twitter Bootstrap. I already found an question how to override the genesis_do_subnav function ...
Aegis's user avatar
  • 101
2 votes
1 answer
5k 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', get_template_directory_uri()...
Barbara's user avatar
  • 177
0 votes
1 answer
2k views

return paginate_comments_links() as array

The documentation specifies: type (string) (optional) Controls format of the returned value. Possible values are: 'plain' - A string with the links separated by a newline character. ...
Vigs's user avatar
  • 568
2 votes
1 answer
2k 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, ...
unfulvio's user avatar
  • 1,814
0 votes
1 answer
2k 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 ...
Charles's user avatar
  • 133
0 votes
1 answer
5k views

Display WP posts in 3 responsive columns

I'm trying to display 6 random WordPress posts in 3 responsive columns, 2 rows, by using: <?php $the_query = new WP_Query("showposts=6&cat=1&orderby=rand");?> For example, ...
VA13's user avatar
  • 3
0 votes
1 answer
1k 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 ...
user1645034's user avatar
-1 votes
1 answer
1k views

Need to call this php function inside a modal window from text widget

Need to call this php function inside a modal window from sidebar text widget <?php echo get_post_meta( $post->ID, 'link', true ); ?>
Praveen M's user avatar
0 votes
1 answer
4k views

Change class names dynamically added to html elements by wordpress

I'm new to wordpress theming and I am working on a theme that uses the newest Twitter Bootstrap. Here is my question: WordPress adds class names to html elements based on whats going on ie: <ul ...
danecando's user avatar
0 votes
1 answer
11k views

Twitter bootstrap carousel multiple items in carousel

I'm pulling in posts from a specific category using twitter bootstrap carousel rotator. I've looking into double loops but I can't figure out how to implement it. Here is my loop: $query = array( '...
jose's user avatar
  • 29
0 votes
1 answer
171 views

Use of Bootstrap nav in a page

First, take into consideration that I have limited web development knowledge. I tried to insert into a page, a Bootstrap nav component. I added the bootstrap folder in my theme folder, loaded the ...
Silouane Gerin's user avatar
0 votes
1 answer
1k views

Bootstrap Error in WordPress plugin

I am creating a plugin that generates advanced search queries. All of the UI is done in bootstrap, and the results are displayed via modal (bootstrap.js). On the production site Greenlane SEO I get ...
Zach Russell's user avatar
  • 1,053
5 votes
1 answer
22k 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 ...
Jonathan Beech's user avatar
0 votes
0 answers
1k views

How to add a class name to the ancestor <li> of a post?

I've asked this question before with a different Question Title over at Stackoverflow. At that time, I was not yet aware that a function of the theme is adding a class name called current-menu-item. ...
GaryP's user avatar
  • 101
-1 votes
1 answer
119 views

Is there a WordPress theme for twittstrap? [closed]

I would like to know if there is a WordPress theme that uses twittstrap (a derivative from Twitter Bootstrap)?
stackExchangeGuest's user avatar
0 votes
2 answers
2k 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 ...
William's user avatar
  • 545
1 vote
0 answers
324 views

Using Select HTML in Bootstrap Popovers

I want to be be able to utilize a select few HTML tags in a Bootstrap popover. I know that I could include the option HTML = true in the settings, but this would leave me exposed to an XSS attack (...
William's user avatar
  • 545
0 votes
1 answer
622 views

How to echo a different field if another field is empty?

I succeeded in getting both images and video to echo into a bootstrap carousel. However, I run into a problem when the post contains no images. If there are no images then there is no class="item ...
popshuvit's user avatar
4 votes
2 answers
16k 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 ...
Cody's user avatar
  • 279
0 votes
1 answer
1k views

change the icon of a custom post type in WordPress to use twitter boostrap

Using jquery, the icons of WordPress admin menu have been changed to use the twitter boostrap icons, done such as: jQuery('#icon-themes.icon32').replaceWith('<div style="font-size:22px;" class="...
TheWebs's user avatar
  • 1,105
11 votes
6 answers
34k 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 { ...
TheWebs's user avatar
  • 1,105
0 votes
1 answer
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 ...
Shuvro Shuvro's user avatar
0 votes
3 answers
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 pages....
unfulvio's user avatar
  • 1,814
2 votes
1 answer
742 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 ...
Marco Godínez's user avatar
6 votes
4 answers
13k 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, ...
cindyg's user avatar
  • 63
0 votes
1 answer
2k views

Bootstrap menu - make menu entries with submenu not clickable

I am currently developing a new WordPress theme employed on the basis of twitters bootstrap build. To use the menu Custom Navbar, I've followed the instructions of goodandorgreat. https://gist....
hazelnut's user avatar
1 vote
1 answer
1k 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] [...
stemie's user avatar
  • 490
2 votes
2 answers
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, ...
stemie's user avatar
  • 490
0 votes
1 answer
2k 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 ...
sleeper's user avatar
  • 623
0 votes
1 answer
2k views

Link permalink in Twitter Bootstrap "TypeAhead" results

Twitter Bootstrap have a javascript plugin called TypeAhead which is simular to Google Instant Search. I'm using it to pull the WordPress post titles into the search box, using the following code c/o @...
TheLoneCuber's user avatar
0 votes
1 answer
2k views

Twitter bootstrap tabs

Does some know how to do shortcode for Twitter bootstrap tabs or any other tabs? I found this tutorial http://michaelwender.com/blog/2010/11/01/creating-wordpress-shortcodes-for-jquery-tools-tabs/ but ...
Itachi's user avatar
  • 149
3 votes
4 answers
17k 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"> <...
PrivateUser's user avatar
  • 3,459

1
3 4 5 6
7