danwarne
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: Version 3.0 FeaturesCan we please have automatic thumbnails for post excerpts? It’s really quite difficult adding thumbnails to post excerpts at the moment, unless I’m missing something.
Forum: Plugins
In reply to: [Plugin: WordPress.com Stats] WP-Stats: Error from last API Key attemptI have the same problem, and I agree… STUPID error message. Very uninformative.
Forum: Fixing WordPress
In reply to: Image upload not working in WordPress 2.8I had the problem of the upload photo / video etc buttons being inactive – clicking them would have no effect. The image uploader box would not appear.
I deactivated my plugins and reactivated then in small batches, and found the culprit to be the Wordtwit plugin (which automatically posts new posts to Twitter). I have version 2.1.5 and WordPress 2.8.4.
The weird thing is I have Wordtwit on another blog (exact same versions of Wordtwit and WordPress) and it works fine, so it must be clashing with another plugin installed on the blog that was having troubles.
I notice that Wordtwit uses quite a bit of Javascript which is probably the cause of the problem. It uses:
/wordtwit/js/fancybox1.2.1.js
/wordtwit/js/fancybox_1.2.1.js
/wordtwit/js/wordtwit_admin_2.1.js
/wordtwit/js/banner.jsHowever I can’t find any other plugins using these particular .js files as well, so I’m a bit stumped (not really being a coder).
Forum: Plugins
In reply to: Add custom styles to the visual editorI’m interested in knowing the answer to this too.
Forum: Fixing WordPress
In reply to: Custom query for multiple categoriesThanks very much Sam!! I really appreciate your response.
Actually I found a solution in the meantime that works… here’s the complete code for anyone else that’s interested:
<?php $my_query_1 = new WP_query(array('category__and' => array(3,16,9))); ?> <?php while ($my_query_1->have_posts()) : $my_query_1->the_post(); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?><?php the_excerpt(); ?></a> <?php endwhile; ?>
(I declared the loop as a new variable called $my_query_1 in order to get around the problem that you can only run WP_query once on a page.)
The above code works great for sidebar boxes to display stories of a particular combination of categories (e.g. “smartphones”, “reader contributions”, “Samsung”).
If you want a way of adding it to a theme that doesn’t require hacking the core theme files (so you can easily upgrade/change your theme) you can use the Samsarin PHP Widget to put the code in.
Forum: Fixing WordPress
In reply to: Custom query for multiple categoriesPS. In this particular loop, I only want to show posts that appear in BOTH category 3 and category 16.
I thought this code might work:
<?php query_posts('cat=3&cat=16&showposts='.get_option('posts_per_page')); ?> <?php while (have_posts()) : the_post(); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?><?php the_excerpt(); ?></a> <?php endwhile; ?>
However, it shows posts in EITHER category 3 OR category 16.
I need to do an “AND” query.
Anyone have any idea how to achieve this?
Forum: Fixing WordPress
In reply to: Custom query for multiple categoriesMe too!! Any idea how this can be achieved? There is a guy who wrote a “multiple categories” search plugin widget for WordPress… I wonder if his code sheds any clues.
https://www.ads-software.com/extend/plugins/multiple-category-selection-widget/
Forum: Fixing WordPress
In reply to: RSS Error – The feed could not be foundI have the same problem with https://apcmag.com/rss.aspx and this feed seems to work fine in other RSS readers, so I’m not sure what the problem is. It has a few validation issues in the W3C RSS feed validator, but nothing that should cause the WordPress RSS widget not to find it at all…
Forum: Plugins
In reply to: Inclusive multiple tag searchAll you need to do is swap the “,” to “+”.
Forum: Requests and Feedback
In reply to: [Plugin: All in One SEO Pack] support for multiple tags?I’d really like to know the answer to this too…
Forum: Plugins
In reply to: Shorten long URLs (NOT like tinyurl.comActually, I just found the solution!
https://minglewithingle.com/archives/2005/06/24/link-truncator-v05/Forum: Plugins
In reply to: Shorten long URLs (NOT like tinyurl.comI’d like to have a solution to this problem too. It can really screw up themes in some browsers (esp IE it seems.)