The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
3 views

Need to add class to first element in a foreach loop

I'm pulling all attachments for this particular post and displaying them in a carousel. Problem is I need to give the first item a class of active so bootstrap carousel will work. Here is my loop: ...
-1
votes
0answers
19 views

Multi-column custom post type (roots theme v7)

for a client I need to create a three column custom post type which collapses into two columns in mobile devices. As the roots theme is using Bootstrap by default, figuring out the RWD bit is not the ...
0
votes
2answers
157 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 ...
0
votes
0answers
21 views

Mega Menu with posts

I am trying to create a menu with posts on it. I don't know how to add extra code to a dropdown. Or just add the HTML to show the mega menu on hover, How can I do that? Please help.
0
votes
2answers
43 views

Adding class to featured image

I have specified a loop to show featured images for my custom post type and wish to add a img-responsive class from bootstrap to my featured image. How can I do this? Thanks! Code: <div ...
0
votes
1answer
43 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 ...
0
votes
0answers
75 views

Social Media button function using jquery

I've wrote a fairly small function that I'm trying to get working. At the moment the jquery doesn't seem to have any effect on the html selected. I've checked the "inspect element" all file's are been ...
0
votes
0answers
101 views

Bootstrap Carousel problems

I am attempting to use Bootstrap Carousel in my WordPress posts. I created a custom post type called "images" and made sure it's visible in posts, which is where I want to use the carousel. I uploaded ...
0
votes
1answer
472 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!
0
votes
1answer
63 views

loop carosel bootstrap

I added a carousel is the bootstrap works if my posts are 8 or 4, but if they are different does not work ...
0
votes
1answer
75 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
0answers
102 views

WP_EDITOR on Frontend in bootstrap modal doesnt work properly

im stacked on one problem. in my plugin, i open a bootstrap modal and inside it i want to display the defaul WP editor, called by the function wp_editor(). What i get is the textarea with buttons and ...
0
votes
0answers
51 views

Check for Twitter Bootstrap Loaded

I am developing a plugin that uses Twitter Bootstrap Modals, but would like to prevent loading bootstrap if it's already loaded. <a ...
0
votes
1answer
119 views

Recommended Use of Bootstrap, or JQuery-UI in WP/plugin development?

It seems Bootstrap is becoming more and more popular lately, giving a consistent feel for responsive dialogs and forms. Is it generally best practice, for now and the future, to use Bootstrap, or ...
0
votes
1answer
76 views

Theme Development for a Newbie

TL;DR, Skip to Trouble I am a programmer and web developer by trade. I'm attempting to launch my own small business website in order to showcase my talents. As such, I've created subdomains for ...
0
votes
0answers
53 views

add bootstrap modal after login in wordpress

I'm trying to add a boostrap modal just after login in my website. I have my javascript: jQuery(document).ready(function($){ $('#after_login_modal').modal(); }); I have my div: <div ...
0
votes
1answer
30 views

wp_nav_menu not displaying the right way

I'm creating a theme using bootstrap and now I want to display the menu adapting it to bootstrap... so I'm using the Upbootwp_Walker_Nav_Menu to achieve this, and also sending some args to the ...
0
votes
0answers
31 views

How do I get my theme scripts to load in a custom theme built from Bootstrap

I have created my own theme, pretty much from scratch, using Bootstrap 3.x. If just refer to the scripts from my footer.php file, it works. However, if I try to do it the right way, using ...
0
votes
0answers
162 views

Problem with Bootstrap Carousel integration

I want to show 4 items in one slide of slider. It is working, but I think I have done a lot of hard coding. Can anyone give me a better solution? Here is my code: <div ...
0
votes
2answers
110 views

How do I style the first two posts of a loop

I'm trying to style a single loop to look like so --------------------------------------------- || | || || || | ||--------------|| || ...
0
votes
0answers
60 views

All post attachments in gallery grid to full screen slideshow?

Using the default wp gallery for displaying the attachments. All attachments for the specific post in full screen slideshow when click on image. I am using also Bootstrap frond end framework. Possible ...
1
vote
1answer
62 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() { ...
0
votes
1answer
39 views

Bootstrap and Respond.js

I'm using Bootstrap in a Wordpress theme and I need to support IE8 I need to load respond.js in wordpress so I can support IE8 I can't get respond.js to load correctly. I've tired: A respond.js ...
0
votes
0answers
145 views

Bootstrap Modal as login page

I'm considering building a modal login page for my wordpress blog. I have a static link on my menu linking to custom /login page. Else, I have a redirect from private pages, where user needs to be ...
0
votes
1answer
280 views

Bootstrap 3 - how to to highlight the parent background when hovering over the child menu

Hello Wordpress Guru's. I would be delighted for some assistance with a simple issue. I am using the wordpress-bootsrtap-master theme. I would like the parent of the menu item to remain highlighted ...
0
votes
0answers
27 views

Change Wordpress Gallery Markup in functions.php

I'm looking to change the markup of the Wordpress Gallery, so that it outputs a new set of code. Ideally, this is what I want (a Bootstrap-based markup). <div class="col-md-3 col-sm-4"> ...
0
votes
0answers
354 views

Walker to add Bootstrap markup for wp_list_pages

I'm using wp_list_pages() to create a nav of the pages in my site. Some pages have children so I need a dropdown menu in the nav to show the child pages and the Bootstrap markup for dropdown menus. ...
0
votes
0answers
386 views

How to add “data-toggle” to wp_bootstrap_navwalker?

I'm writing one pager for my client. I made Child Theme from Twenty Thirteen. All is made on Bootstrap 3.2.0. I use tabs, accordion. And i also want to use jQuery Smooth Scroll plugin. Unfortunately ...
0
votes
1answer
33 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 ...
0
votes
0answers
103 views

Custom buttons (with icon) disappearing if saved in TinyMCE visual mode

I'm using custon social buttons in the latest version of Wordpress. The buttons are based on Bootstrap 3 with Font-Awesome icons. The code for the buttons with icons looks like this: <button ...
0
votes
1answer
122 views

WP nav menu + Bootstrap, add role=“menu” to UL

For one of my projects I'm trying to add a nav_menu to my WP theme. It should work as a quick menu (sidebar). The only problem remaining: How do I add a role="menu" to the < ul >? <?php ...
1
vote
0answers
123 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 ...
0
votes
1answer
183 views

Divide post content in three columns

Is it possible to split the_content() into three equal size columns? I have tried to achive that by getting this code which I found here <?php $content = get_the_content(); ...
0
votes
0answers
469 views

Comments and Bootstrap 3's media-list

I'm developing my first custom theme for WordPress based on Bootstrap 3 framework. I'm newbie and I can't understand few things, so I'd like to ask you for some help, especially with comments.php, ...
0
votes
0answers
140 views

Bootstrap Nav Menu not showing more than 1 dropdown

I have this code to show my navigation menu in the functions.php file. class BootstrapNavMenuWalker extends Walker_Nav_Menu { function start_lvl( &$output, $depth = 0, $args = array() ) { ...
0
votes
2answers
1k 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
159 views

looping widgets to organize bootstrap grids

Using twitter bootsrap I want to grid my widgets if in the same position more widgets are present what I mean: having a registered widget register_sidebar(array( 'name' => __('Footer Top', ...
0
votes
0answers
3k views

Bootstrap Nav menu won't toggle collapse when in mobile viewport size

I have copied the Bootstrap Default Navbar code to a T http://getbootstrap.com/components/#navbar-default However it's not working and i just need a simple dropdown nav for my mobile viewport size. ...
1
vote
1answer
779 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 ...
0
votes
0answers
166 views

Custom wp_bootstrap_navwalker file

I got a little problem right here. So I installed the wp_bootstrap_navwalker and it works so far. I got a 3 stage Navigation. The problem is that the navwalker adds the dropdown-menu class to every ...
0
votes
0answers
270 views

Dismiss Bootsrap modal outside modal div

this is my first post here so i am sorry in advance if this is a niewbie question ... ( i am a civil engineer not a wordpress developer... :( ) I have added a bootstrap modal dialog in my wordpress ...
0
votes
0answers
82 views

Main menu not appearing on category pages

Im creating a theme based on blankslate/Bootstrap and having an issue with the main nav appearing on category pages (seems to appear everywhere else ok.). In header.php: <div class="collapse ...
1
vote
0answers
99 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
76 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.. ...
-2
votes
1answer
427 views

Error loading require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );

I manually installed wordpress and added elegant theme DIVI . The functions won't work because I get this error Warning: ...
0
votes
0answers
57 views

Responsive Development in WordPress Backend

I've gotten so used to using Twitter Bootstrap. However, I can't seem to use it on the backend. I'm assuming it's conflicting with something in the core. So is there a way to get Twitter Bootstrap to ...
0
votes
0answers
453 views

How to use bootstrap for a gallery with modal popup

I use bootstrap for my theme. I want to create a gallery with title and descriptions. Using lightbox or colorbox will add extra code that is not needed since bootstrap has its own built-in popup ...
1
vote
1answer
248 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
397 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
2answers
203 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 ...