Category: editor

Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

This code has to be pasted into your theme’s functions.php file. It can be customized to deal with custom post types, as shown on line 16 and after. add_filter( ‘default_content’, ‘pu_default_editor_content’ ); function pu_default_editor_content( $content ) { global $post_type; switch( $post_type ) { case ‘post’: $content = ‘Default content for blog posts.’; break; case ‘page’: […]

Rating
Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

This code has to be pasted into your theme’s functions.php file. It can be customized to deal with custom post types, as shown on line 16 and after. Rating

Rating
Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Before pasting this code in your function.php file, edit line 11 and replace contact.php by the name of the page you want to disable the editor for. Rating

Rating
Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Simply paste this code where you want to display the active plugin list. Once saved, active plugins will be displayed. Rating

Rating
Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Simply paste this code into your function.php file. Edit lines 5 and 6 at your convenience. Rating

Rating
Wordpress Expert

Wordpress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert

Latest posts by Wordpress Expert (see all)

Just run the following query on your WordPress database to delete comments with nastyspamurl as url. Don’t forget to replace the table prefix wp_ if your database is using another prefix.And of course, create a backup of your database before running the query! Rating

Rating