FranceImage
Forum Replies Created
-
You are not far ….
The code should look like that
} else { // Comments are closed $message_disabled = false; if (is_page() && isset($suf_comments_disabled_all_sel) && $suf_comments_disabled_all_sel == 'all') { $message_disabled = true; } else if (is_page() && isset($suf_comments_disabled_all_sel) && $suf_comments_disabled_all_sel != 'all' && isset($suf_comments_disabled)) { $disabled_pages = explode(',', $suf_comments_disabled); if (is_array($disabled_pages) && count($disabled_pages) > 0 && in_array($post->ID, $disabled_pages)) { $message_disabled = true; } } else if (is_singular() && !is_page() && $suf_comments_disabled_msg_for_posts == 'hide'){ $message_disabled = true; } if (false && !$message_disabled) { echo "<p>"; _e('Sorry, the comment form is closed at this time.', "suffusion"); echo "</p>"; }The additional false in the if condition just disables the test until you find a way to do it via the suffusion settings if you can find how to.
The code in wp-content/themes/suffusion/comments.php
if (!$message_disabled) { echo "<p>"; _e('Sorry, the comment form is closed at this time.', "suffusion"); echo "</p>"; }You can copy comments.php to your child theme, edit it there and prevent the code from echoing the text
if (false && !$message_disabled) { echo "<p>"; _e('Sorry, the comment form is closed at this time.', "suffusion"); echo "</p>"; }You can also ask in suffusion forum if you can do it from suffusion settings panel (I did not find how)
Hi,
You’ll find the answer here: http://docs.easydigitaldownloads.com/article/272-adding-currency-support-eddcurrencies
As won subdivisions don’t seem to be used, you will also be insterested in this: https://wordpress.org/support/topic/huf-digits-paypal-error?replies=3
Hi,
May be this will help: https://easydigitaldownloads.com/support/topic/incorrectly-formatted-item-amount/#post-179510
Forum: Plugins
In reply to: [WordPress Importer] Export/Import just commentsAs comments are related to posts, I don’t see how it would work to have comments and no posts.
Can you describe your use case please ?
Hi,
If you don’t have too many events and locations, this may work for you: http://www.franceimage.com/en/tech-blog/my-wordpress-plugins/events-manager-importer/
Forum: Plugins
In reply to: [Event Calendar] magic quotes and city timezoneForum: Plugins
In reply to: [Event Calendar] Disable Alert "Magic_quotes_gpc to active?Forum: Plugins
In reply to: [Event Calendar] Disable Alert "Magic_quotes_gpc to active?Forum: Plugins
In reply to: [Event Calendar] Freezes trying to add an event in the calendar as adminAlso, I want to remove the ‘Ajax Event Calendar successfully installed event’!
Can you clarify please
When is this happening ?
Hi,
Try defining Events Manager post type as early as possible (in wp-config.php for example)
define('EM_POST_TYPE_EVENT','event');Obviously you have to change the word event to something that suits you
Hi,
You could add a conditional tag
e.g. is your locations page has id=3 (you can find it in the permalink)
<?php if is_page(3): ?> <div>html stuff</div> <?php endif; ?>Did you notice you can change the radius in Advanced Search when you type and select a place ?
Hi AJD
Can you have a look here http://www.franceimage.com/en/tech-blog/my-wordpress-plugins/events-manager-importer/ and tell me if it works for you ?
Hi Stephen,
Can you have a look at this http://www.franceimage.com/en/tech-blog/my-wordpress-plugins/events-manager-importer/ and tell me if it works for you?