Wordpress How To
From KnowWiki
| Wordpress |
|---|
| Wordpress Topics |
| How To · Troubleshooting |
[edit] How to secure Wordpress
- Create a second admin and delete the default 'admin' user
- Secure wp-config.php by adding
to the .htaccess file
<files wp-config.php> Order deny,allow deny from all </files>
- Install Login LockDown plugin and configure it
[edit] How to alter or remove a title from a specific page
Edit page.php on your theme, look for
<h1><?php the_title(); ?></h1>
(or whatever it may be)
For a static header on the blog home only change to this:
<?php if ( is_home() ) { ?> <h1>Page title</h1> <?php } ?>
Or to exclude it from a specific page change to this:
<?php if ( !is_page('page_name_slug_or_id') ) { ?> <h1><?php the_title(); ?></h1> <?php } ?>
You could use the same technique for a header (browser header) look for <div id="header"> in header.php
|
|||||