bcreighton
Forum Replies Created
-
Forum: Plugins
In reply to: Resize youTube on the fly?Hmm, yeah – I guess that would work. I’d have to change the embed width as well. JS isn’t my strong suit, but I’ll try it.
As far the theme, I’m just the front-end developer. The designer is ok with the user manually changing the width tag when they paste the code in. However, I would like to make that a bit more user friendly and automated.
adamrbrown – what plugin do you use?
Forum: Fixing WordPress
In reply to: more link text with get_content_rss()Oook, good to know. I’ve never submitted a bug report – is https://www.ads-software.com/report-bugs/ the right place to do it?
Forum: Fixing WordPress
In reply to: more link text with get_content_rss()All good.
So, is this a bug, you think? Does this work for anyone else (version 2.3.1)?
Forum: Fixing WordPress
In reply to: more link text with get_content_rss()<?php the_content_rss('more_link_text', strip_teaser, 'more_file', cut, encode_html); ?>
It clearly states that it works with the_content_rss().
Forum: Fixing WordPress
In reply to: more link text with get_content_rss()Forum: Plugins
In reply to: Pull latest attachment from post?Perfect! Thank you so much!
Forum: Plugins
In reply to: Substr() WP functions?Worked perfectly, thank you!
Forum: Themes and Templates
In reply to: Using Substr to limit characters in post title.Does anyone know how to this this? The above solution doesn’t work…
Thanks
Forum: Plugins
In reply to: Restricting Custom SQL by Certain CategoriesDoes anyone know how to update this to the new table structure?
Forum: Themes and Templates
In reply to: why can’t I delete unwanted THEMES ? (post 2.0.4 upgrade)The real solution:
There is a file called DS_Store – it’s a hidden file. You need to display hidden files on your FTP client (-a on remote server filters), then the directory deletes without a problem.
Forum: Themes and Templates
In reply to: why can’t I delete unwanted THEMES ? (post 2.0.4 upgrade)I am actually having this problem too. However, reinstalling the theme didn’t work for me. Does anyone have a different solution?
In addition to the two themes mentioned above, I also can not delete copy blogger, durable, and PressRow.
Thanks!
Forum: Plugins
In reply to: Restricting Custom SQL by Certain CategoriesSolved it, for anyone wondering:
SELECT $wpdb->posts.* FROM $wpdb->posts INNER JOIN $wpdb->post2cat ON ID = post_id WHERE $wpdb->posts.post_status = 'publish' AND ($wpdb->posts.post_type = 'post' && $wpdb->post2cat.category_id NOT IN ( 2,6 )) ORDER BY $wpdb->posts.post_date DESC
Forum: Plugins
In reply to: Restricting Custom SQL by Certain CategoriesI feel like, I’m close… but I can’t quite figure it out. This is what I have so far:
SELECT $wpdb->posts.* FROM $wpdb->posts LEFT JOIN $wpdb->post2cat ON ($wpdb->posts.ID = $wpdb->post2cat.post_id) WHERE $wpdb->posts.ID = $wpdb->post2cat.post_id AND $wpdb->posts.post_status = 'publish' AND $wpdb->posts.post_type = 'post' AND $wpdb->post2cat.category_id IN (1,3,4,5,7,8) ORDER BY $wpdb->posts.post_date DESC
Joining tables is slightly tricky… Please, any help on this?
Forum: Themes and Templates
In reply to: Just images don’t show up in RSS?I should note… images have never shown up – prior to the “fixing” either.
Forum: Themes and Templates
In reply to: Keep HTML in RSS feed?Figured it out! For those interested:
$rss = simplexml_load_file($url);
$content = $rss->channel->item->children( "https://purl.org/rss/1.0/modules/content/" );
foreach ($rss->channel->item as $item) {
echo $content->encoded;
}