timka
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Uninstall/reinstall WordPresshow do I do#1?
where do I download WordPress to?
Forum: Fixing WordPress
In reply to: Uninstall/reinstall WordPressI spent more than an hour Friday on chat with Godaddy ending in them in as much saying they couldn’t help me at their level and trying to sell me their WP Premier Support
Forum: Fixing WordPress
In reply to: Uninstall/reinstall WordPressI don’t know, threadi, and don’t know how to check that. It must have to do with my deleting the ssl certificate. When I type in the url I get a “coming soon” message. Try it. https://carymacgregorrotary.org you’ll see that it’s still looking for https
Forum: Fixing WordPress
In reply to: Uninstall/reinstall WordPressI had deleted an expired SSL certificate. URL still loads as https
Forum: Fixing WordPress
In reply to: Uninstall/reinstall WordPress404 File not found
Forum: Plugins
In reply to: [Site Reviews] Hide review responseI added the code snippet referenced above but am not getting the email notification of a posted response.
Here is where I inserted the snippet:
class Theme { public function __construct( $check = false ) { if ( $check ) { add_action( 'wp', [ $this, 'check_theme_requirements' ] ); } } public function init( $options ) { $this->constants( $options ); $this->backward_compatibility(); $this->helpers(); $this->functions(); $this->menu_walkers(); $this->admin(); $this->theme_activated(); add_action('site-reviews/review/responded', function ($review, $response) { $hasResponse = !empty($review->response); $hasResponseUserId = !empty(get_post_meta($review->ID, '_response_by', true)); if (empty($response) || $hasResponse || $hasResponseUserId) { return; // only send an email if the response is not empty and there is no previous response } if (empty($review->email)) { return; // this review has not been submitted with an email } if (empty($review->assigned_posts)) { return; // this review has not been assigned to any Post } $postId = $review->assigned_posts[0]; // Get the first assigned Post ID $permalink = get_permalink($postId); // Get the permalink of the assigned Post $subject = sprintf('[%s], We have responded to your review!', get_bloginfo('name')); $message = sprintf('Just letting you know that we have <a href="%s">responded to your review</a>!', $permalink); $email = glsr('Modules\Email')->compose([ 'to' => $review->email, 'subject' => $subject, 'message' => $message, ]); $email->send(); }, 10, 2); add_action( 'admin_menu', array( &$this, 'admin_menus', ) );
Forum: Plugins
In reply to: [Site Reviews] Hide review responseThanks again. I now understand how to hide responses and how to send an email to the review author.
One more question, please. If the response is hidden, and we don’t email the author, is there any reason to write a response? Who would see it if written?
Forum: Plugins
In reply to: [Site Reviews] Hide review responseAlso, if the response is hidden, does that mean no-one sees it? Then why even write the response? Or am I missing something?
Forum: Plugins
In reply to: [Site Reviews] Hide review responseThank you. Where do I insert the code [site_reviews hide=”response”]?
Forum: Localhost Installs
In reply to: Moving from localhost to liveThank you Kratinjay. Should I delete all the files that were created by the existing site before I install WordPress and upload the new site?