Chumlee
Forum Replies Created
-
I had to add an extra line in ajax-comment-loading.php. Maybe will help some.
<?php } public function ajax_handler() { global $post, $id, $cpage; query_posts( array( 'p' => $_REQUEST['postid'], 'post_type' => 'any' ) ); if ( have_posts() ) { set_query_var( 'cpage', intval( $_REQUEST['cpage'] ) ); $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_REFERER']; the_post(); comments_template(); <strong>wp_list_comments(array('style' => 'div'));</strong> exit(); } exit( 0 ); } }[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Thanks anyway. Btw.. don’t know what I did or whatever cause now it doesnt overrides my custom inputs anymore. Cheers!
Forum: Plugins
In reply to: [FooTable] Stopping the plugin from loading on all pages.I’ve used is_page to wrap the functions that register and enqueue the styles&scripts. I heard its not the best practice but I have no other choice for the moment. Hope maybe you have an answer.
Forum: Plugins
In reply to: [FooTable] Stopping the plugin from loading on all pages.I would really need some help over here..
Line 263: wp_enqueue_style($h);
Line 277: wp_enqueue_style(‘thickbox’);Line 143: add_action(‘wp_enqueue_scripts’, array( &$this, ‘frontend_print_scripts’), 20 );
Line 203: wp_enqueue_script($h);
Line 227: wp_enqueue_script(‘media-upload’);
Line 228: wp_enqueue_script(‘thickbox’);This is not how all plugins load their scripts and styles and I can’t find anything related to this on the web.
Forum: Plugins
In reply to: [CubePoints] Modules don't show up in admin panel under Cubepoints->Modules.function cp_modules_include(){
foreach (glob(ABSPATH. ‘/features/cubepoints/modules/*.php’) as $filename){
require_once($filename);
}
foreach (glob(ABSPATH. ‘/features/cubepoints/modules/*.php’) as $filename){
require_once($filename);
}
}
This did it. Mark it as solved!Forum: Plugins
In reply to: [CubePoints] Modules don't show up in admin panel under Cubepoints->Modules.features/cubepoints/cp_core.php:191 – Invalid argument supplied for foreach()
doesn’t matter now. I’ve deleted wordpress and installed again. btw you should inform people on the main page what files or what function/hooks it creates in order to remove it(for any reason they want). Thanks.
Forum: Themes and Templates
In reply to: Can't get rid of the body font from wp-login.phpsolved.
Forum: Themes and Templates
In reply to: Can't get rid of the body font from wp-login.phpForgot to say that I’ve tried to overwrite it but I really want to get it out of there