baalstorm
Forum Replies Created
-
Forum: Hacks
In reply to: Dinamically generate custom post type title from categorywow, thank you so much for your help!
i’ll try it as soon as i can!have a wonderful day 🙂
Forum: Hacks
In reply to: Dinamically generate custom post type title from categoryHi nickohrn,
thank you for your kind reply.the custom post type is named “event” and the taxonomy would be “live” (but i guess that would dynamically work with any other taxonomy name – taking only the first one in case of multiple categories).
Forum: Themes and Templates
In reply to: Link post title to attachment page, if existok, solved
$args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'offset' => 0, 'orderby' => 'menu_order', 'order' => 'asc', 'post_status' => null, 'post_parent' => $post->ID, ); $attachments = get_posts($args); if ($attachments) { foreach ($attachments as $attachment) { if(wp_attachment_is_image( $attachment->ID )) { echo '<h1><a href="'. get_attachment_link($attachment->ID) . '">'. get_the_title() .'</a></h1>'; break; } } } else { echo '<h1>'. get_the_title() .'</h1>'; };Hello, any luck with this? thank you
Forum: Plugins
In reply to: Select multiple categories with checkboxesHi, looking for the same result. did you find any solution by chance?
Forum: Hacks
In reply to: Add categories filter links to restrict search resultsgreat! i’ll have a look, thanks a lot 🙂
Forum: Hacks
In reply to: Add categories filter links to restrict search resultsnothing so far, just searched through forums and blogs. i have to say i’m not that into pro scripting, so.. thanks for the tip, btw 🙂
hope you could be a little more specific about the parsing thing, perhaps? i’ll try to be a bit more clear about the process:
search a term > get a result page with the possibility to click on the category links and restrict the result only within itsomething like this, but with links instead of checkboxes
Forum: Hacks
In reply to: implement search with categories checkboxesat the moment the category dropdown list is filtering the search within a specific category. i would like to add two more filters, this time as checkboxes, which can make additional filtering via , let’s say, “catA” and “catB”
Forum: Fixing WordPress
In reply to: Video Displays incorrectly in Excerpt/SummaryHi, sorry to be OT, but how did you manage to display videos on the summary?
thank youForum: Plugins
In reply to: How to toggle post status from front-end?hey, i’m looking for the same, have you found something yet?
TYForum: Plugins
In reply to: Show Published and Draft posts from Logged in Authorthis is the code i’m using for the first columns
[Code moderated as per the Forum Rules. Please use the pastebin]