Support Forum
I'm having the same issue with the BootStrap theme, but we are stuck with it.
I have read this topic several times now, but I simply can not find the php file that contains the code that needs to be edited. I have searched the footer.php, header.php, functions.php and just about every page listed under the theme editor.
Could you help me, please.
I dont have a copy of the theme, but if its using bootstrap.js, it MUST be loading it somewhere.. posts 69 and 70 pretty much cover the changes... just need to use search and find the right file...
maybe Andy can say exactly which file it is tomorrow when he is back...
Visit Cruise Talk Central and Mr Papa's World
-------- Original Message --------
Subject: Forum Post - Simple:Press: [Start Upload button not working]
From: "Simple:Press Support" <support@simple-press.com>
Date: Sun, January 26, 2014 8:28 pm
To: Gary@3DPSPremium.com
as I said, lets see if Andy can provide the exact file since based on the previous posts, he has a copy...
Visit Cruise Talk Central and Mr Papa's World
OMG! I found it in the Wordpress/WP-Content/themes/functions.php file.
After Changing the "True" to "False", everything worked perfect.
wp_register_script(
'tw-bootstrap',
get_template_directory_uri() . "/js/bootstrap{$suffix}.js",
array('jquery'),
'2.0.3',
false
);
wp_register_script(
'the-bootstrap',
get_template_directory_uri() . "/js/the-bootstrap{$suffix}.js",
array('tw-bootstrap'),
$theme_version,
false
);
Thank You again
Hi guys, I have the same problem on my forum. I think it's too a "bootstrap" problem, but i'm not sure. I'm just a beginner.
So, i have the x2 wordpress theme, and for my forum i have "sky blue". Any Idea?
Thank you for your help!
I found in my x2.php this line, i think my problem is here... Thank you
### js
function enqueue_script() {
global $cap;
if( is_admin() )
return;
// on single blog post pages with comments open and threaded comments
if(defined('BP_VERSION')){
if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) ) {
// enqueue the javascript that performs in-link comment reply fanciness
wp_enqueue_script( 'comment-reply' );
}
} else {
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
// enqueue the javascript that performs in-link comment reply fanciness
wp_enqueue_script( 'comment-reply' );
}
}
wp_deregister_script( 'ep-jquery-css' );
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'jquery-ui' );
wp_enqueue_script( 'jquery-ui-tabs' );
wp_enqueue_script('bootstrapjs', get_template_directory_uri().'/core/includes/bootstrap/js/bootstrap.min.js', array('jquery') );
wp_enqueue_script('waypoints', get_template_directory_uri().'/core/includes/waypoints/waypoints.min.js', array('jquery'), '1.4.4', true );
add_action('wp_footer', 'waypoints_js', 1 );
}
mmm. Nit sure of there are any examples in this long thread that will helpo you out. have you looked?
You could just try moving the bootstrap enqueue to between the jquery and jquery.ui enqueues... but I wouldn't be too sure that will work. But worth a try first perhaps.
YELLOW
SWORDFISH
|