dunkkan
Forum Replies Created
-
Hello!!!
I would love to have this feature, I use this plugin so often and I’m in a project which involves Custom Post Types, plus I would need to create a bunch of them for a test…
It would be so nice if you can post here the code…
Many Thanks,
D.
Forum: Fixing WordPress
In reply to: Custom Post Types don't appear in ArchiveFound the solution here…:
https://www.ads-software.com/support/topic/custom-post-type-tagscategories-archive-page?replies=24
Forum: Fixing WordPress
In reply to: Media Library change paginationI’m interested in this as well…
Forum: Plugins
In reply to: Batch assign featured imagesI’m looking into this as well! Please help!
Forum: Plugins
In reply to: [Dropbox Upload Form] Dropbox Upload Form with added featuresHi!
I encountered an error, in the old version as well… hope someone can tell me how to proceed?
Parse error: syntax error, unexpected ‘{‘ in /home/orangest/public_html/wp-content/plugins/dropbox-upload-form/wp-dropbox.php on line 46
Many thanks,
Forum: Plugins
In reply to: Thumbnail per post in the AdminThanks ! Works great.
Forum: Plugins
In reply to: audio files in sidebarHi MyRivne, yes it works. The only thing is you must UPLOAD via the Editor the audio stuff (and, to do that, you must probably change in one of the server files, called php.ini, the uploading power, because an mp3 is usually a lot bigger than normal images).
Forum: Fixing WordPress
In reply to: [How To] Exclude Current Posts from 2nd loopHey, excellent ! Thanks very much for this.
Forum: Fixing WordPress
In reply to: code to html problemI’m trying just to dislay it, so the browser just read it as text. I changed every < and > and ” tags, inside pre and code tags, but it was still being run.
I’ve always used a plugin to convert the code, but I’m writing as a contributor this time.
So I have no idea what can be.
Forum: Plugins
In reply to: Removing WP version in 2.8I solved it with :
remove_action('wp_head', 'index_rel_link'); remove_action('wp_head', 'wlwmanifest_link'); remove_action('wp_head', 'rsd_link'); add_action('init', 'removeWPVersionInfo'); function removeWPVersionInfo() { remove_action('wp_head', 'wp_generator'); }
Forum: Fixing WordPress
In reply to: Dashboard broken in 2.8Esmi, thanks ! I think it was this bit in my functions php.
remove_action('wp_head', 'index_rel_link'); remove_action('wp_head', 'parent_post_rel_link', 10, 0); remove_action('wp_head', 'start_post_rel_link', 10, 0); remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0);
The new, working code (partially from here) :
remove_action('wp_head', 'index_rel_link'); remove_action('wp_head', 'wlwmanifest_link'); remove_action('wp_head', 'rsd_link'); add_action('init', 'removeWPVersionInfo'); function removeWPVersionInfo() { remove_action('wp_head', 'wp_generator'); }
Anyway, I don’t know exactly the intricacies of those codes (which I use to remove the metadata that WP puts in the <head> section).
But now it’s working. I’ll post back if something goes wrong.
Forum: Plugins
In reply to: query_posts excluding cat by slugMichael, this is actually awesome. I just added a negative sign in
'$cat=-'
.Thank you !
Forum: Plugins
In reply to: query_posts excluding cat by slugThis doesn’t seems to work. I founded here :
<?php query_posts ($query_string.'offset=3') ; ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php if ( is_category('MySlugToExclude') ) continue; ?> <!-- rest of the loop here -->
I tried both :
in_category
andis_category
, but I’m printing still what I try to exclude.Forum: Plugins
In reply to: Index Pagination : counting pagesHi esmi, thanks for the info.
But how would you apply the ceil function once you have the number of posts ? I’m just not familiar enough with PHP.
Forum: Plugins
In reply to: retrieve first image’s caption … in excerptTwo more essays (with no succes) :
<?php if($images =& get_children( 'post_type=attachment&post_parent='. $post->ID)){ foreach($images as $image){ $caption = $image->post_excerpt; $description = $image->post_content; echo $caption; echo $description; } } ?>
<?php if($images =& get_children( 'post_type=attachment&post_parent='. $post->ID)){ foreach($images as $image){ echo apply_filters('the_excerpt', $image->post_excerpt); echo apply_filters('the_content', $image->post_content); } } ?>
I really don’t know why I can’t get things printed.
Even if the image is in the uploads folder.At least I get no errors ??
As a radical approach (and don’t know if has something to do indeed), we could use the wpdb Class, which theoretically can acces to anything grabbed in the database ?
Which I don’t know, is how do we write the template tag for that.
How do I call the caption, how do I relate it to the current post, etc.
So please it would be really cool to pull captions and descriptions dynamically, in a custom way.