3stripe
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Creating a new page that displays one particular categoryThere’s a plugin that will let you do this without creating a template ??
https://www.ads-software.com/extend/plugins/list-category-posts/
Or if you want to, create a template for that page, and use query_posts on a second loop to create your list of posts from a category:
https://codex.www.ads-software.com/Template_Tags/query_posts
Forum: Themes and Templates
In reply to: Get posts from another category with same tag as current post?I never did figure this out ??
Forum: Everything else WordPress
In reply to: Ideas Forum/Communication ChannelsWhat about a regular vote on say, 3 much requested features, the one getting the most votes being implemented immediately?
Maybe there’s a clever way to do this using Twitter…. A wee bit like https://strawpollnow.com/?
Forum: Plugins
In reply to: [Plugin: Audio Player] Version 2.0 beta releasedI’m also having problems getting the track name to show…
Upload crossdomain file – done
Change option to check for crossdomain file – done
Check ID3 tags – doneAnyone have any suggestions? Hope it’s not a Dreamhost thing!
Idea – what about pulling the Title and Caption fields from the WordPress media fields and using them to populate the track info?
Thanks.
Forum: Plugins
In reply to: [Plugin: Audio Player] Version 2.0 beta releasedWow, neat plugin!
How can I automatically show a download link for each mp3 after the player?
I’ve used a function like the below before (although it is pulling out image links too, d’oh), which I guess could be hacked into the plugin, but I’d prefer not to do that if possible ??
function the_mp3_link() { global $post; global $wpdb; $attachment_id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_parent = '$post->ID' AND post_status = 'inherit' AND post_type='attachment' ORDER BY post_date DESC LIMIT 1"); if ($attachment_id) echo '<a href="' . wp_get_attachment_url($attachment_id) . '">Download</a>'; }
Forum: Themes and Templates
In reply to: Get posts from another category with same tag as current post?PS. I could use a related post plugin but it’s not quite flexible enough ??
Forum: Themes and Templates
In reply to: Function to get first image associated with current postSorry I was being stupid and didn’t even test your code, duh. Thanks! ?? ?? ??
Forum: Themes and Templates
In reply to: Function to get first image associated with current postThanks but I’m trying to simplify my template and move the code to a function, because I’m repeating it 3 or 4 times for each page! ??
Forum: Themes and Templates
In reply to: Function to get first image associated with current postYes, cheers, I should have said that. This is all inside the loop by the way…
Forum: Fixing WordPress
In reply to: Are uploaded jpgs affected by Exif orientation?Hmmm… hmmm…..
Forum: Fixing WordPress
In reply to: Index.htmlCheers Chris. Your edit to restore the red code in changeset #9203 fixed it for me too.
Never had this problem with WordPress before so glad of the fix ??
Anyone wondering why I want to have index.php and index.html sitting together – I have an html holding page up, but still want to have WordPress sitting in the same directory whilst I populate it with content.
In fact this is even cleaner, thanks to my buddies on Yay:
$image=wp_get_attachment_image($num, 'large', false); $imagepieces = explode('"', $image); $imagepath = $imagepieces[1];
Well, I’m not sure if there’s a better way, but this worked ??
$image=wp_get_attachment_image($num, 'large', false); $imagepieces = explode(" ", $image); $imagepath = substr($imagepieces[1],4);
Forum: Alpha/Beta/RC
In reply to: WordPress 2.7 admin look?I hope they put a live-search box in the top right somewhere.
Looking to be a great improvement though ??
Forum: Plugins
In reply to: Advice on an ‘add caption to image’ plugin (similar to roflbot or lolbuilder)Possible future features:
– The submission is watermarked, and automatically posted to a ‘User submissions’ category of the blog. Like the lol cat builder.