consumedesign
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Table Reloaded] [wp-table-reloaded] getting titles of tableshey Tobias… if you don’t mind sharing, how do you get the info from the DB to the page? I see “count( $this->tables )” but not clear on where that is originally stored.
Forum: Plugins
In reply to: [WP-Table Reloaded] [wp-table-reloaded] getting titles of tablesThanks. I’ll check it out. If all else fails I’ll have them input the table ID and do it that way. I was just hoping for a cleaner and easier solution since this client isn’t very computer/web literate ha…
BTW, great plug in, gets better with each version too.
Forum: Plugins
In reply to: [WP-Table Reloaded] [wp-table-reloaded] getting titles of tablesSorry Tobias, in my head I was making a lot of sense ha… check out the image:
https://consumedesign.com/extras/tables-reloaded.pngI added a sidebar item for my client which has some Options only for their site… it’s called Custom Options. What I’m interested in doing is pulling all the table’s names and IDs to create a dropdown under ATTACH TABLE. I’ve tried some of the “wp_table_reloaded_” functions but it always says function not found. I was going to start looking though your scripts and see if I can come up with the right way of creating it but thought maybe someone could save me some time, ha…
thanks!
Forum: Plugins
In reply to: [Adminimize] adminimize Major Problem…I figured out a way to get things back but it’s not the best… I turned it back on with { display: block; visibility: visible; } for each item missing.
Forum: Fixing WordPress
In reply to: Admin Bar for 3.1This would be a better way to go I guess:
function my_function_admin_bar(){ if (current_user_can('manage_network')) { return true; } else { return false; } } add_filter( 'show_admin_bar' , 'my_function_admin_bar');
Forum: Fixing WordPress
In reply to: Admin Bar for 3.1Ahh I forget they are deprecated… though I have 3.1 and still working fine for me. I just don’t like the current_user_can and would rather have someone tagged as a number ha…
Forum: Fixing WordPress
In reply to: Admin Bar for 3.1@messy-h: ya but they can go back in and edit that correct?
Forum: Fixing WordPress
In reply to: Admin Bar for 3.1Can’t you also do something like:
function my_function_admin_bar(){ global $userdata; if($userdata->user_level == 1) { return false; } else { return true; } } add_filter( 'show_admin_bar' , 'my_function_admin_bar');
so in turn just admins would be
if($userdata->user_level < 9) {
Forum: Fixing WordPress
In reply to: Admin Bar for 3.1hm oh ya, ha… I thought I checked it and it removed it for everyone. Oh well, I got it from somewhere but it looks like you have it anyhow.
Forum: Fixing WordPress
In reply to: Admin Bar for 3.1function yoast_disable_admin_bar() {
if ( 2 == get_current_user_id() ) {
add_filter( ‘show_admin_bar’, ‘__return_false’ );
}
}
add_action( ‘init’, ‘yoast_disable_admin_bar’ , 9 );I think? It would go into your functions.php… I’m using it now.
Forum: Fixing WordPress
In reply to: Admin Bar for 3.1No need for a plug in… just toss this in your functions.php:
add_filter( ‘show_admin_bar’, ‘__return_false’ );Forum: Fixing WordPress
In reply to: Admin Bar for 3.1I’m also digging the custom menus but wish I would have seen it before building a new client site… they would have liked it instead of using the exclude page plug in that I used. Ha, oh well… next time maybe.
Forum: Fixing WordPress
In reply to: Admin Bar for 3.1Ya I added the remove code in my functions.php file but I would rather keep it. It’s kinda nice to see the page, see an error, and goto the edit page right from it. It’s very handy but filled with things I don’t care to look at or would ever use.
Forum: Plugins
In reply to: Quick Page Plugin & target issueSame here…
Thanks!