Jump to content
Sign in to follow this  
beardedavenger

Remove "Core Support" on from Custom welcome.php

Recommended Posts

beardedavenger    158
beardedavenger

I've got a custom welcome.php in place for new clients. Sweetness. But since they are living on my multi-site network, they can't install plugins. So I'd rather avoid confusion all together and remove the Core Support area that lists support for plugins on my custom welcome page. http://screencast.com/t/R6PaBs2vOzG I created another Wordpress plugin, setup similar to how Pross instructed to remove the "Add..." from the Store section. Except I don't see the welcome a dumped array, but I do know it needs to be unset. So with my very bad judo-ninja-php skills, I have compiled a piece of artwork here that, unfortunately isn't hiding it. :( Am I at least close on this?

	add_filter( 'get_welcome_plugins', 'remove_welcome_plugins' );
	
	function remove_welcome_plugins( $d ) {
	
		// remove welcome plugins from array
		unset( $d['pagelines_welcome_plugins']);
		// pass array back to framework
		return $d;
	}
	


Something big is coming for DMS + photographers.

http://fotostheme.com

 

Nick Haskins & CO - New home for all of my PageLines Store products! 

http://nickhaskins.co

 

Better DMS - News, Tutorials, and Tips

http://betterdms.com

 

Share this post


Link to post
Share on other sites
Simon    247
Simon
[code]add_filter( 'pagelines_welcome_plugins', 'remove_welcome_plugins' ); function remove_welcome_plugins() { return array(); }[/code]

Share this post


Link to post
Share on other sites
beardedavenger    158
beardedavenger
OK I see since there is no array to unset we're just removing it. Double brownies Pross. Double brownies. Much thanks. That removes the plugins from showing. [img]Now to remove the text that's left.[/img] http://screencast.com/t/1jRie3Z1 Tried the following, but can't it be strung together with the first instead of having two separate, sort of like stringing together classes in CSS? [code]add_filter( 'plugins_billboard', 'remove_plugins_billboard' ); function remove_plugins_billboard() { return array(); }[/code] Nick

Something big is coming for DMS + photographers.

http://fotostheme.com

 

Nick Haskins & CO - New home for all of my PageLines Store products! 

http://nickhaskins.co

 

Better DMS - News, Tutorials, and Tips

http://betterdms.com

 

Share this post


Link to post
Share on other sites
Simon    247
Simon
[code]add_filter( 'pagelines_theme_intro', 'remove_welcome_plugins' ); function remove_welcome_plugins() { return; }[/code] Now, assuming your using a child theme, add a welcome.php with some html in it ;)

Share this post


Link to post
Share on other sites
beardedavenger    158
beardedavenger
OK I see I see this makes sense. Simon you are THE man. PageLines is lucky to have you . Yeah I have a custom child theme and already have a custom welcome.php in place prior to wanting to remove this. Much, much thanks. ***Edit*** It's also taking out my custom welcome.php. Thoughts?

Something big is coming for DMS + photographers.

http://fotostheme.com

 

Nick Haskins & CO - New home for all of my PageLines Store products! 

http://nickhaskins.co

 

Better DMS - News, Tutorials, and Tips

http://betterdms.com

 

Share this post


Link to post
Share on other sites
Simon    247
Simon
hmm oh yea... i'll have a look in the morning

Share this post


Link to post
Share on other sites
beardedavenger    158
beardedavenger
Sounds good. I know it's getting late over there. Or early however your work habits are. ;)

Something big is coming for DMS + photographers.

http://fotostheme.com

 

Nick Haskins & CO - New home for all of my PageLines Store products! 

http://nickhaskins.co

 

Better DMS - News, Tutorials, and Tips

http://betterdms.com

 

Share this post


Link to post
Share on other sites
Simon    247
Simon
No, I was in Dublin all day, had something to take care of, back in the hot seat now lots to catch up on.

Share this post


Link to post
Share on other sites
beardedavenger    158
beardedavenger
Cool! No worries, no rush. Consider this low priority. When you can get to it is cool.

Something big is coming for DMS + photographers.

http://fotostheme.com

 

Nick Haskins & CO - New home for all of my PageLines Store products! 

http://nickhaskins.co

 

Better DMS - News, Tutorials, and Tips

http://betterdms.com

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×