Enable comments for custom template page

We use careerfy theme WordPress which is a system for a job board.

I would like to enable comments for each job post page, these pages are not listed on the WordPress admin panel, I can access it via child theme only, in this path: (wp-content/themes/careerfy-child-theme/wp-jobsearch/detail-pages/job/view3-job.php)

I have tried to add a shortcode but it seems not working.

Allow comments box cannot be checked on *any* pages

WordPress 5.1.4 with twentynineteen theme 2.0

I Quick Edit a page and check the Allow Comments box, then click the Update button. There is no message displayed, but when I Quick Edit that page again, the box is unchecked. I saw this answer to a related question, and even though the theme does not have a similar filter, I put the following in a plugin, and activated it:

function default_comments_on( $  data ) { // Adapted from https://wordpress.stackexchange.com/a/179682/44613 if( $  data['post_type'] == 'page') {     $  data['comment_status'] = 1; } return $  data; } add_filter( 'wp_insert_post_data', 'default_comments_on' ); 

But the behavior persists. Any ideas how to fix this?

Actually, what I want to do is default all pages to allow comments, and I expected that the filter above would do that, but it doesn’t. I think it’s very odd for WordPress not to allow comments on pages by default, but I guess it’s a tradition. But working hard to prevent site admins from allowing them on specific pages seems very strange.

Edit Comments Fields

I need to edit the comments fields.

1 – The metadata should be only date; 2 – The comment itself should be trimmed; 3 – the word ‘says’ next to the name should be gone;

I believe I can manage the logics, however I do not know how to get these fields, apply the logic, and return them.

enter image description here

<article id="div-comment-5" class="comment-body">                 <footer class="comment-meta">                     <div class="comment-author vcard">                         <img alt="" src="http://1.gravatar.com/avatar/710dade4711ee07ca27e7db85255b701?s=50&amp;d=mm&amp;r=g" srcset="http://1.gravatar.com/avatar/710dade4711ee07ca27e7db85255b701?s=100&amp;d=mm&amp;r=g 2x" class="avatar avatar-50 photo" height="50" width="50" loading="lazy">                        <b class="fn"><a href="http://mundo.local" rel="external nofollow ugc" class="url">Stefano Monteiro</a></b> <span class="says">says:</span>                 </div><!-- .comment-author -->                      <div class="comment-metadata">                         <a href="http://mundo.local/videos/music-classic-canada-37/#comment-5"><time datetime="2021-01-21T17:59:16+00:00">January 21, 2021 at 5:59 pm</time></a> <span class="edit-link"><a class="comment-edit-link" href="http://mundo.local/wp-admin/comment.php?action=editcomment&amp;c=5">Edit</a></span>                 </div><!-- .comment-metadata -->                                      </footer><!-- .comment-meta -->                  <div class="comment-content">                     <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod  tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>                 </div><!-- .comment-content -->                  <div class="reply"><a rel="nofollow" class="comment-reply-link" href="http://mundo.local/videos/music-classic-canada-37/?replytocom=5#respond" data-commentid="5" data-postid="830" data-belowelement="div-comment-5" data-respondelement="respond" data-replyto="Reply to Stefano Monteiro" aria-label="Reply to Stefano Monteiro">Reply</a></div>   </article>  

Is there WordPress plugin that allow to create alerts in comments and display them in specified page? [closed]

I’m looking for a plugin (free or paid) that allows to add specified field to comment – lets’s say alert field. When user with specified role eg. contributor will select this field new comment will be create with alert.

When an alert is created in a custom post type it will trigger the alert icon – the alert icon will link to the alerts page (alerts will send to all controbutors roles). This page will show all the alerts and comment threads. Here you will be able to view the different alerts, edit, comment, and disable alerts.

Any ideas?

Thanks in advanced!

Comments on “Which combinatorial problem is similar to this problem?”

Regarding the post Which combinatorial problem is similar to this problem?, it is quite hard to believe that, in the absence of information on the cost function, there is no algorithm better than exhaustive search to tackle this apparently easy-to-understand problem. I surfed the Internet and found something called the Weighted Constraint Satisfaction Problem, and I wonder whether this can be of any use in this case.

Any advise would be much appreciated.