Nov 25
This is a plugin for Wordpress. Inputs meta description and keywords in one klick, simple and smooth. Nothing to adjust, it just works!
Description
This is a one click plugin to "on the fly" -generate meta keyword and description. One klick no hussle.
- The plugin uses content on the present page to generate description and keywords in the metadata header.
- At present 2 things can be altered (optional). This is done in the code of the plugin, at rows 37 and 40.
- The plugin strips common words from the text (to use in the description), the percentage of common words to strip can be altered. It
defaults t0 25%. Also the max amount of words can be altered, this defaults to 150 words.
Download!
- Download the plugin here » (3k) or here for only the php file (rename to .php).
- file is compressed (as usual), use winrar or similar program to "Unzip".
Installation
- Upload `oneclickmeta.php` to the `/wp-content/plugins/` directory
- Activate the plugin through the 'Plugins' menu in WordPress
November 25th, 2007 at 9:13 am
Nice,works perfect. Thanks!
January 7th, 2008 at 6:32 pm
Hej,
Bra plugin, men jag tycker det är väldigt irriterande att den sätter meta dec, keyword på “första” sidan, eller gör jag något fel?
Annars mycket bra plugin
March 19th, 2008 at 9:31 am
I received an error on pages includes more text (Big reports)
Fatal error: Allowed memory size of 10485760 bytes exhausted (tried to allocate 71 bytes) in /wp-content/plugins/oneclickmeta.php on line 81
The line 81 in the php script points to this line “foreach ($exploded4 as $key2 => $value2) { ”
Then
I’ve changed line 37 to ” $removePercentage = 5; // % ”
and line 40 to ” $maxKeys = “50″;”
It still give me the same error.
Can anybody help ?
Thanks
otherwise the script is working fine.
August 1st, 2008 at 3:31 am
This is for anyone experiencing any problems after activating this plugin. I recently uploaded and activated this plugin and it broke two things on my site. The first thing it broke was the Breadcrumbs navigation. When on a single page (is_single()), the breadcrumbs was missing the parent category. It also made none of the posts’ meta data display. It was now all blank.
I have no idea what may have caused this, however, I stumbled across someone else having similar issues with Breadcrumbs and they suggested rewinding the posts. I don’t know what this does, but adding that code fixed all the problems and now I can enjoy this plugin without other plugins being affected.
On line #121 inside ‘oneclickmeta.php’ I added ‘rewind_posts();’, this is just below where it prints out the META code.
print "\n\n\n”;
rewind_posts();
(hopefully my code above won’t be stripped out by this blog)
This worked like a charm for me. I’m not sure if it will help anyone else. If it does, cheers.