xanuex
Forum Replies Created
-
Forum: Plugins
In reply to: [Store file uploads for Contact Form 7] Output file URL to e-mailYou’re amazing, thanks!
Forum: Plugins
In reply to: [Store file uploads for Contact Form 7] Output file URL to e-mailThanks for the two cents, I will definitely look into this.
The reason why I posted it here is because this plugin makes it possible to actually store the file so my thought was that the location of the file must be known too ??
In my other topic (https://www.ads-software.com/support/topic/save-files-in-a-different-folder-instead-of-the-media-library/#post-17810136) I use a function to save the file to a different folder so I so have a variable ($url) with the location.
Just not clear on how to get this variable into the function mentioned above.
I’ve seen people use cookies and global variables but I doubt if this is the way to go.
By now I realize this is a more generic question then directly related to the plugin so you may change the status and I will check your two cents out and refer to the correct plugin if I need any more help ??
Thanks againThanks, worked like a charm!
Forum: Plugins
In reply to: [Contact Form 7] Change date format of date-mail-tag [_date]Thanks!
Forum: Plugins
In reply to: [Contact Form 7] Change date format of date-mail-tag [_date]In my specific case I’d just like to show the month and year (not the day).
But I can imagine that one would like to show a different format in an e-mail then set-up in the general settings.
For instance on the site the date is shown as “03-06-2024” (general settings) and in the mail one would like “3rd of June 2024”.Forum: Plugins
In reply to: [Contact Form 7] Change date format of date-mail-tag [_date]Thank you for taking the time to update the article!
So from what I read it isn’t possible to override the general settings without adding additional code to the plugin, so what I’ve tried with my examples won’t work unless I customize the mail-tag replacement is this correct?Forum: Networking WordPress
In reply to: Sub directory installation with subdomainsOw sorry… I just realized I’ve replied a reaction on the wrong post ??
I too am a client of one.com
They gave me the following .htaccess to use:
https://supportlist.info/ab/wordpress_mu.htmlbut in the end they told me that they don’t support subdomain installation and for that I couldn’t get the given .htaccess to work either. ??
I’ve chosen for a subdir installation instead.
@petimi
What you can do is using subdomain forwards but of course this isn’t the real thing ??@Ipstenui
Thanks for the comment! I did try this .htaccess too but like said.. unfortunately one.com doesn’t support it.Forum: Networking WordPress
In reply to: Sub directory installation with subdomainsNo worries petimi, I’ve written a plugin myself ??
Will put it online asap, I’ll drop the url here when ready!
Forum: Themes and Templates
In reply to: Show today and future postsThanks!
I tried the first part but forgot to put the remove_filter afterwards ??Forum: Plugins
In reply to: Select pages with featured image with queryMy solution, if someone has a better suggestion, please let me know!
<?php //The Query $my_query = new WP_Query('post_type=page&orderby=title&order=ASC&post_status=publish&showposts=-1'); //The Loop while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID; //Add pages with thumbnail to an array if (has_post_thumbnail()) { $image[$count++] = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); } endwhile; //Reset Query wp_reset_query(); ?> <?php foreach ($image as $i => $value) : ?> ... <?php endforeach; ?>
Forum: Plugins
In reply to: Select pages with featured image with queryIs there anyone who can help me with this mind breaker ??
Thanks, that did the trick!
Forum: Themes and Templates
In reply to: [ajax] previous/next posts alwaysAt least I could interest someone else with my post ??
I already have the plugin installed, although the plugin has many features (and maybe even the one I am looking for) it stays an overall plugin. I think I’m more looking for a specific solution for my problem.
this is the code I am using right now
<h2>Previous Entries</h2> <ul class="block"> <?php $myposts = get_posts('numberposts=5&offset='.$paged); foreach ($myposts as $post) : setup_postdata($post); unset($categories); foreach (get_the_category() as $category) $categories[] = $category->cat_name; ?> <li><a href="<?php the_permalink();?>"><span><?php the_title(); ?></span><em><?php the_date();?> in <?=implode(", ",$categories);?></em></a></li> <?php endforeach;?> </ul> <span class="prev_entry"><?php next_posts_link('« Previous Entries') ?></span> <span class="next_entry"><?php previous_posts_link('Next Entries »') ?></span>
I think I need to change the type of function used for showing ‘next/previous’-post to one of my own which just effects the above code but I actually don’t really know how ??
So if there is someone who can give me some strong hints I would be very glad!
Forum: Themes and Templates
In reply to: [ajax] previous/next posts always–gentle kick–
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Album overviewlol, your messy post is indeed quite useful although I was hoping for a build-in piece of code. I will look into your solution (thanks for that!).
Maybe a suggestion in the next update?? ??