Devtard
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Tags Search pageHi, I believe that the file index.php is used for this purpose.
You can use the function “is_tag” to determine if the currently displayed page cointains posts that have at least one tag assigned to them: https://codex.www.ads-software.com/Function_Reference/is_tag
Forum: Hacks
In reply to: Displaying most commented in two weeksHello, this should do it:
<?php function filter_posts($where = '') { //posts in the last 14 days $where .= " AND post_date > '" . date('Y-m-d', strtotime('-14 days')) . "'"; return $where; } add_filter('posts_where', 'filter_posts'); $args = array( 'posts_per_page' => 5, 'orderby' => 'comment_count', 'order' => 'DESC' ); $filter_posts_query = new WP_Query($args); remove_filter('posts_where', 'filter_posts'); //loop for displaying posts while ($filter_posts_query->have_posts()) : $filter_posts_query->the_post(); the_post_thumbnail(array(50,50), array ('class' => 'alignleft')); ?> <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li> <?php endwhile; ?>
Forum: Everything else WordPress
In reply to: linking my word press email to my computerWhat does “rejected” mean? Did you try to set up a filter that wouldn’t let the mail client throw your emails in the spam folder, if that is the issue?
Forum: Plugins
In reply to: [Automatic Post Tagger] Bulk tagging of already existing postsYou can set the range of post IDs published in the preferred time period. By default the plugin will tag all published posts in the database.
Forum: Plugins
In reply to: [Automatic Post Tagger] Compatible to 3.5.1 (soon 3.6)Hi, it is working on my websites running on WP 3.5.1 so there should not be any problem.
I haven’t tested it on 3.6 yet but I am preparing another update which will be (when I have time to do that).
Forum: Plugins
In reply to: [Automatic Post Tagger] Possible to add tags before publishing?This feature was implemented in v1.1 but I removed it because it wasn’t really useful in my opinion. It seems that I was wrong, I’ll implement it in the next version then. ??
Forum: Plugins
In reply to: [Automatic Post Tagger] Not working for meI don’t have a crystal ball so you’ll have to give more information. Screenshots of the plugin’s settings and a post that was not tagged would help.
One of the following versions will be using objects so changing taxonomies will be much easier than now. But the promissed plugin that would handle custom taxonomies by itself is still far away from its creation. Please be patient. ??
Forum: Plugins
In reply to: [Automatic Post Tagger] Limit to "phrase" only suggestion.The next version should be out in a few weeks but I am not sure if this feature will be included in the following release. It is one of the “not so important” ones so it has a lower priority.
Forum: Plugins
In reply to: [Automatic Post Tagger] Automatically tag every post with a certain tag?Hi, the plugin can do that but only if you specify a keyword that will trigger tagging the post (e.g. when the plugin finds related words “breaking news” or something similar, it will add the tag “Headline” to all posts where these related words appear).
Forum: Plugins
In reply to: [Automatic Post Tagger] Blank screen after assigning tags to all postsHello, french diacritic characters in posts and searched keywords like “é”, “ì”, “?” etc. should be converted to “e”, “i”, “c” and so on if the option “Convert Latin diacritic characters to their ASCII equivalents” is used. My script still can’t handle UTF8 characters, so this function is the mentioned workaround.
The option “Replace non-alphanumeric characters with spaces” basically does the same thing but all non-alphanumeric and non-ASCII characters are treated as spaces. It is faster but there is a possibility of finding “nonexistent” matches (if you post just regular posts without any code, there should not be any problem though).
Forum: Plugins
In reply to: [Automatic Post Tagger] jQuery confilctHello, I am sorry for that, I really suck especially at using JavaScript. I’ll try to fix it in the next version.
Forum: Plugins
In reply to: [Automatic Post Tagger] Tags added from titleYou can limit the plugin to search for tags and related words in titles only.
Forum: Plugins
In reply to: [Automatic Post Tagger] Limit to "phrase" only suggestion.This might be a little bit trickier, but I’ll try to implement it in one of future versions.
I am not sure when the next version will be out though, it may take a few months.
I am not sure why do you need this (tagging posts with unique tags that aren’t used in any other posts is weird – tags are usually used as a way to put similar posts in a different taxonomy than categories), but my plugin can’t help you with that, sorry.