ChowKaiDeng
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] Google Spreadsheet Live Data – Not auto updatingSame here, pretty much as anrky. Can’t get it work ??
Forum: Plugins
In reply to: [NS Google Sheets Connector] Doesn't Submit to Google SheetSame here. Not working ??
Followed the instructions and used a very simple form.Forum: Plugins
In reply to: [Contact Form 7 - Dynamic Text Extension] Tag Generator Not FunctioningGot the same problem and manually added the
[dynamichidden]
and[dynamictext]
tags. Worked just fine (although I used custom shortcodes, not
"CF7_GET key='name'"
.Contact Form 7 was just updated to version 4.3 and fixes the missing tags in the tag generator. Update and check out! ??
Hope it helps.
Forum: Plugins
In reply to: [Swift SMTP (formerly Welcome Email Editor)] Does not send Welcome EmailsHi @ludoviccharlier!
I ended up using Better Notifications for WordPress, and it works like a charm. Also, it lets you modify and send all kind on notifications, not just welcome emails.
The only thing it doesn’t include, it’s the ability to change the sender email address. For that, I’m using WP Simple Mail Sender.
Greetings!
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Cant see Option to Extend TaxonomiesThanks!
I couldn’t find this by my myself through the admin interface.
I would suggest to add a small note directly on the “pods-add-new” module, as well as updating the How to Extend a Taxonomy with Custom Fields documentation.Greetings! ??
DanForum: Plugins
In reply to: [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Upload ErrorThank you so much @sandfree1
I’ve lost 2 hours trying to figure out what was going with the server permissions, images sizes and my custom theme code …and the plugin just didn’t work.
Going back to 1.9.13 was the only way to make it work again.Well, I’ve just balanced the thing giving it a 5 star ??
Most of the other options out there haven’t been updated for over 2 years.For the rest of the users who doesn’t like the link to FB developers at the bottom of the comments box: you could just try hidding it through CSS/jQuery (just as we used to hide the Jetpack smiley face before WP put an option on the plugin config).
I don’t really bother that much, and in the end, it’s their credits.
Thanks a lot for your work Alex!!!Forum: Plugins
In reply to: [Rename Media] Does not seems to work on 3.5.1I have found two alternative solutions:
Option 1. Rename Media file using post slug
Place this code in your functions.php. It will rename every media file you upload on a post, using the post slug + a random number:
function wpsx_5505_modify_uploaded_file_names($arr) { // Get the parent post ID, if there is one if( isset($_REQUEST['post_id']) ) { $post_id = $_REQUEST['post_id']; } else { $post_id = false; } // Only do this if we got the post ID--otherwise they're probably in // the media section rather than uploading an image from a post. if($post_id && is_numeric($post_id)) { // Get the post slug $post_obj = get_post($post_id); $post_slug = $post_obj->post_name; // If we found a slug if($post_slug) { $random_number = rand(10000,99999); $arr['name'] = $post_slug . '-' . $random_number . '.jpg'; } } return $arr; } add_filter('wp_handle_upload_prefilter', 'wpsx_5505_modify_uploaded_file_names', 1, 1);
Option 2. Rename media file with random number
Place the following code on a text file, name it “hash-upload.php” and place it inside your plugins folder. Then active it as a plugin through the WP Plugins section.
<?php /** * Plugin Name: Hash Upload Filename * Plugin URI: https://stackoverflow.com/questions/3259696 * Description: Rename uploaded files as the hash of their original. * Version: 0.1 */ /** * Filter {@see sanitize_file_name()} and return an MD5 hash. * * @param string $filename * @return string */ function make_filename_hash($filename) { $info = pathinfo($filename); $ext = empty($info['extension']) ? '' : '.' . $info['extension']; $name = basename($filename, $ext); return md5($name) . $ext; } add_filter('sanitize_file_name', 'make_filename_hash', 10); ?>
After a few tests, both worked well on my site. I’m using option #1 right now.
Hope this could help.Greetings!
Forum: Plugins
In reply to: [Breadcrumb NavXT] Custom mark up not being savedSame problem as @duncmorley after updating to 4.3.0.
I’ve just changed to
bcn_display_list()
and everything works fine, but I really don’t like it ??With the previous version everything was much easier, mainly because of the ability to display each element as desired, for example, printing some class for particular cases, using different estructures (like a
<dl>
instead of<li>
… PS: I really don’t do that, but it was useful to have the control) all that without needing to touch the theme files.I love this plugin, so if this is the new way, I can’t do nothing but adapt myself to it, but if I can make a suggestion: I like better the older way.
Greetings! …and thanks for your wonderful plugin, it’s really the best ??
Forum: Fixing WordPress
In reply to: Not displaying a link to Next PageThanks keesiemeijer! Have a similar problem around here and it was the <?php wp_link_pages(); ?> ??
Hi giastwp,
I’ve just made a quick test and everything seems fine from here.
Did you created both the English and non English languages under the “Settings > Languages” option?
Did you created at least 3 posts in english, each one with his own translation in the other language? (they must be linked using the tool available on the right “Language” panel right before the “Publish” panel in your post edit screen)First try to print something more simple like:
<div class="nav-previous alignleft"> <?php $currentlang = get_bloginfo('language'); if($currentlang=="en-US"):?> This is English <?php else: ?> This is Spanish <?php endif; ?> </div>
If it works, then it’s something else related to your “previous_post_link”
I hope it work for you. I’m in a bit of a hurry right now!
Forum: Plugins
In reply to: [Polylang] Polylang – multiple headersHi andrejs! I’m afraid this method requires a little bit of PHP knowledge, and the Colorway Theme must be modified in order to work in that way with the polylang plugin, but maybe I could help.
First thing: Are you using the WordPress.com server service or do you own an outside hosting provider? I think you must have your WordPress website installed on your own hosting in order to make this changes. If so, please send me an email to chowkaideng-at-gmail.com and I could try to change the theme files and send it back to you.
And, don’t worry, my english is very bad too, and I understand you prefectly ??
Thanks to you Ajay! Plugin up in all my sites, and working like a charm!
Done. We’ll keep in contact there. Thanks again!
Oh boy! I’ve just found the T2 Template option: It’s absolutely brilliant!!! You can edit or create your custom widget template for any widget and then using it on your theme through
<?php echo do_shortcode('[shortcode]'); ?>
or directly with the functions from the documentation (though, I prefer calling it on a widget area)Really, it’s one of the best options I’ve seen on any plugin. This is so perfect. I didn’t even have to change my CSS.