Tag Archives: wordpress
I wanted my homepage title to reveal my writing goals and interests. The importance of the title, to me, is obvious:
- It’s one of the first things people notice.
- It’s visible in the window chrome, the tabs, the bookmarks
- It’s something search engines pay attention to
WordPress settings allow you to set the blog title and description. With this modification, the description will be appended whenever a post title is not displayed, to avoid making it extremely long.
Edit the functions.php file of your template and append:
add_filter('wp_title', 'dv_wp_title', 100, 3);
$dv_append_subtitle = false;
function dv_wp_title($title)
{
global $dv_append_subtitle;
if($title === '')
$dv_append_subtitle = true;
return $title;
}
function dv_the_subtitle($sep = '—')
{
global $dv_append_subtitle;
if($dv_append_subtitle)
{
echo $sep ? $sep . ' ' : '';
bloginfo('description');
}
}
Then go to header.php and make your title tag look like this (notice that I added the dv_the_subtitle call)
And that’s it! If you want to customize the separator, which defaults to — pass it as an argument to dv_the_subtitle.
if ( comments_open() ) { ?>Some important and some not-as-important bug fixes in this version. Hopefully this will be the last release candidate before the grand 1.0 release:
- Tables not deleted anymore upon installation
- Fixed SimplePie error report.
- Fixed small post content bug (not hidden by default)
- Fixed cron url
- Removed inverted quotes from queries
- Fixed notices in debug mode
- No error showing for campaigns w/o feeds fixed
Click here to download
As usual, head to Lighthouse for bug reports
if ( comments_open() ) { ?>Here is the upcoming RC3 release!
Remember that, just like any release prior to 1.0, upgrading will erase your previous campaigns, feeds, logs, etc.
- Now compatible with WordPress 2.5
- Categories shown with indentation (parent > children now separated)
- SimplePie updated to 1.1.1, and SimplePie Core now supported.
- Fixed broken cron command
- Fixed broken export on some systems
- Fixed broken redirect when resetting a campaign
- Everything now stored in GMT to avoid time issues. Gotten rid of NOW() functions in favor of WP time functions
- Fixed bug with validation upon deletion of feeds in existing campaigns
- Fixed bug with ‘allow comments’ setting.
- Fixed bug with logs dates
- Fixed bug with double quote escaping (fixes campaign templates / rewrite html bugs)
- Username in options tab changed to a more handy select box.
- Interface now looks better on IE (d’oh)
- Added many help files
- Fixed annoying duplicates bug
- Fixed small bug in import with labels
I need feedback on:
- All sorts of errors, warnings, notices, blank screens
- Styling problems, indicating Browser, OS, URL and a screenshot.
- Behavioral problems: bad dates, bad content, duplicates, etc
- Performance problems
- Unexpected behavior
Always include instructions on how to reproduce the issues please!
Go ahead and download it
Updates
- 1 – Fixed bugs with categories in edit mode and posts tools (thanks Mike)
- 2 – Fixed empty rewrite bug (thanks Mike) and replacements now case insensitive
- 3 – Fixed bugs with ‘use feed date’ option, footer copyright, bad dates in ‘view all’ logs, log message field made text, timestamps converted to datetime, ‘Clean logs’ function fixed (big changes, please test)
- 4 – Fixed bugs with older WP releases (now WP-o-Matic works with any version starting from 2.2). Now rewrite works with PHP4.
- 5 – str_ireplace bug fixed, allow comments bug fixed, now user can choose comments state.
- 6 – {content} not getting rewritten fixed, titles and other settings not being stored fixed.
Update: here it is
Just writing to let you know that the upcoming release candidate of WP-o-Matic is being cooked and betatested!
This is a list of all the exciting changes, which include new features you’ve been requesting and lots of bugfixes
- Categories shown with indentation (parent > children now separated)
- Fixed broken cron command
- SimplePie updated to 1.1
- Fixed broken export on some systems
- Fixed broken redirect when resetting a campaign
- Everything now stored in GMT to avoid time issues. Gotten rid of NOW() functions in favor of WP time functions
- Fixed bug with validation upon deletion of feeds in existing campaigns
- Fixed bug with ‘allow comments’ setting.
- Fixed bug with logs dates
- Fixed bug with double quote escaping (fixes campaign templates / rewrite html bugs)
- Username in options tab changed to a more handy select box.
- Interface now looks better on IE (d’oh)
- New option added to select max number of items to process
- New option added to decide whether the permalink should point to the created blog post or to the source permalink
- New general option to get logs feedback while the campaign is being processed.
As usual, stay tuned. Sorry for not being able to respond and release with more frequency, but I’ve been really busy.
if ( comments_open() ) { ?>