I want to disable comments on my pages. That means there should be no comment form, no message asking to log in in order to post comments, nothing.  Under Settings &gt; Discussion is the option "Allow people to post comments on new articles." That implies that disabling comments on pages is possible, assuming that "article" means "post or page."  Unfortunately, a comment form still appears despite my unchecking this box. I thought that the option might be overridden on the page itself, but there are no relevant options on the page edit screen.  I really don't want to hack my theme when the facility to disable comments clearly exists already. How can I accomplish this?
I am building a new website on Wordpress, and all my pages have the add comment box at the bottom. I wish fo rthis to be removed from pages such as Home, Contact Us, About etc etc, but want it to remain on the blogs and galleries.  I have read  but do not really understand what this means to do. is there an easier way to do it. I do not have  under Settings -> Discussions.
Does the universe have a center? This is more of a panic question after reading reviews on Istanbul Atatürk Airport. They said it's messy and hard to navigate, therefore I'm asking questions here in name of my girlfriend who will need to transit through this airport.  My girlfriend (Canadian national) traveling from Toronto (YYZ) to Istanbul (IST) for a couple hours (~4 hrs, so transiting) in order to come to Pristina (PRN). I would like a quick guideline on how to pass through this airport seamlessly without facing any trouble or delay.  Her tickets are both with Turkish Airlines. She purchased it via a third party (Flighthub.ca). It's only one booking and it includes both flights in it.   Once my girlfriend departs, she's obviously required to follow the signs and go to the transit area. Once she's there, will she be required to present a ticket? Where does she get that ticket? Does she get it in YYZ or does she need to visit a counter in IST and get it? After she's got the proper ticket, what does she need to do exactly? Wait in line to have her passport checked? Will they also control her carryon?  After this step, does she simply go to the PRN flight gate and that's it?   We're simply worried about Istanbul Atatürk Airport because of the recent things that happened in Turkey (coup attempt and ISIS attack) and she doesn't wanna somehow end up locked up there. I've read that the airport is a mess lately and a lot of people will be there waiting in line. So, another question: Are 4 hours enough?  I would appreciate a step by step guideline on how she needs to navigate and what she needs to do in that airport to have a smooth experience without facing any delays. Also some misc information on Istanbul Atatürk Airport would be appreciated. Joining two rigged models I currently trying to join two rigged (and animated) models, which both has separate meshes, separate bones and separate animations. The first mesh is the horse while the second mesh is human:   So I am interested to join human model onto horse model to make a rider:   I think the best way would be to make horse as a parent and human as a child during the join process. In that case I would like that all horse animations (there are 3 of them - idle, walk and run) would remain as they are, while I can lose human animations, as I will need different ones for it. I was also thinking to make human root bone as a child of one horse back bones, that when horse moves up and down it would move entire human mesh together. It would be also good to keep the same weights that human bones would not start deforming horse mesh and vice versa.  I tried to use Ctrl+J by selecting various combinations between bones and meshes in object mode, however, I noticed that it messes up scaling and rotation of the child object. So I was wondering how it would be possible to properly join these models to create a rider? Pass parameters to program started with Runas I am trying to start Performance monitor as different user. I found runas.exe but syntax for program arguments makes me go crazy. The following syntax works: C:\Windows\System32\runas.exe /user:domain\username perfmon.exe  But since perfmon.exe has the argument */res* the following line doesn't work: C:\Windows\System32\runas.exe /user:domain\username perfmon.exe /res  I tried to escape */res* but without any success. I tried: &quot;/res&quot; \&quot;/res\&quot;&quot; \&quot;\/res\&quot;&quot;  Any ideas? What happens when you target a "magical effect" with Dispel Magic? Windows 10 upgrade kills grub and boot-repair doesn't help I just found out about the Mesh Display : Length feature in the "N" panel (thanks to ) that allows one to measure the length of a face or vertice.  But my first encounter with this tool gives me complex feelings of love and hate, see how, as I was trying to measure the aspect ratio of this TV screen, I am getting WIDTH = 20.33 and HEIGHT = 37.57.  These values seem awfully wrong, since my betrusted eyes tell me the height should be shorter than the width.    I have tried measuring the single vertices as well, to identical results. In a 2-columned document, how do you get a table to stretch across the entire width? I'm working on a document that runs two columns of text down the page, like many scientific conference proceedings.  However, I'd like for a table to run across the entire width of the page, as it is far too wide to fit into one column.  How do I do this? Solving "MySQL server has gone away", mysql error 2006 I have a site at hostgator, using their "Business account". It's cheap, and comes with a private SSL cert. HOWEVER, their MySQL settings are such that any db connection goes stale fairly quickly, and then the hostgator staff try to convince you to use a VPS or dedicated server at multiple times the expense.  I'm creating and deploying WebAPIs, which can have a 'conversation' which exceeds 60 seconds. When this occurs, the db connection handle is stale, causing any db operations after my timeout to fail.  I'm in the process of implementing the following solution, but am curious if anyone else has solved this issue (where they can not modify their my.ini or my.cnf to give MySQL more resources) in a similar or completely different manner.  last part of a hook_update:  $ret = db_query( "UPDATE {my_table} set field1 = '%s', field2 = %d ... WHERE vid - %d", $node-&gt;field1, $node-&gt;field2, ... $node-&gt;vid ); if (!$ret) {        // get private storage directory for this node:        $cexStorage    = _cex_front_getCexStore();        $nodeFilesPath = DRUPALROOT.'/'.$cexStorage.'/'.$node-&gt;storeDir;        $fname         = $nodeFilesPath.'/recover.node';         $readyToWrite  = serialize( $node );        file_put_contents( $fname, $readyToWrite );        if (file_exists( $fname )) {          _dbgReport( 'seems to have worked!' );        }     }   Then this is called in my hook_form, right after I determine that node->nid is valid:  function _cex_front_recover_node( &amp;$node ) {   if (!isset($node-&gt;storeDir)) {      _dbgReport( '**************************** _cex_front_recover_node: no storeDir!!!' );      return;   }    // get private storage directory for this node:   $cexStorage    = _cex_front_getCexStore();   $nodeFilesPath = DRUPALROOT.'/'.$cexStorage.'/'.$node-&gt;storeDir;   $fname         = $nodeFilesPath.'/recover.node';   if (file_exists( $fname )) {     $recovered = file_get_contents( $fname );     if ($recovered) {       // no longer needed:       unlink( $fname );       $recoveredNode = unserialize( $recovered );       // restore the key values I need to proceed with this node:       $node-&gt;stage = $recoveredNode-&gt;stage;       $node-&gt;rnid  = $recoveredNode-&gt;rnid;       $node-&gt;iris  = $recoveredNode-&gt;iris;       cex_front_update( $node );     }     else {       _dbgReport( '********* failed to read "'.$fname.'"' );     }   } }   I'll be pairing the logic down to only store the key fields I need, but this works! Sure beats upgrading my server at 3x the expense. Anyone else doing something like this? I have seen other similar questions but they don't seem to be what I want, please correct me if I'm wrong.  For simplicity: delete the default cube, NumPad7, add cylinder, rotate X 90, then add torus with ext/int 1/0.75 and raise it above the cylinder. It should look like this:.  What I want is to deform the torus against the cylinder, but make it as if it's a projection. This means that, when looked from above, it will look like a normal, undeformed torus (volume changes), but when viewed with NumPad1, it will look like a round-end tube following the curvature of the cylinder, while still having the same round cross-section. To make it worse, my object needs to be deformed by a more complex surface, such as sin(x).  If I'd use soft body, it will look shrinked when looking from above, i.e. it will preserve the volume. If I use shrinkwrap, it either does a projection with its circumference intact, but all flat, or it will project it (similar to what I want), but only the bottom side vertices, like a curtain.  Mesh modifier gets me nowhere since I have to manually tweak the surrounding mesh, and curve modifier also preserves the length/volume, while also squishing the section of the torus at the bending points.  My question(s): is there a way to project (mold) the torus onto the cylinder while preserving it's cross-section? Can this be extended for more complex meshes to be projected or to be projected on?    This is, roughly, what the side view (along Y axis in the 1st pic) would look like after the deforming of the torus:    The unselected shape above is the torus (as it is in the first picture), and the selected shape is what it would look like after the deform, or molding, whatever you want to call it.  And here is what it would look like when seen from above (top view, along Z axis)): i.stack.imgur.com/HVOCo.png (can't add more than 2 pics)  The view would be the same before and after the torus is deformed. Children’s books, one in space setting, the other in a jungle What does "65" mean? Matching Gmail filters on BCC mail Are there any performance comparisons? Are there any reliable performance comparisons between vanilla Drupal 8 versus Drupal 7?  I have searched the web but only find the post "", which is far from encouraging. Hide specifics messages in chat Using bools in calculations to avoid branches Ideal charging / discharging percentage for maximum battery life? One of my friends has a relatively new Samsung smartphone. He has this app that notifies him whenever the charging is up to 80%, and tells him to unplug the charger.  He tells me that it will increase the number of charging cycles for his battery. He says that if he lets it charge all the way up to 100%, it will mean he has to replace the battery of the phone more often.  Is this true?  Somehow, I feel this is a thing of the past. I thought the internal architecture of batteries these days was made so that it wouldn't drop too low or too high. (In other words, when the phone is at 100%, it isn't really 100%. It's what the battery can safely be charged to in order not to degenerate too much.)  Here's a  which taught me something about this. Sometimes when I am running a development version of Ubuntu, the Software Updater will tell me that a partial upgrade is needed when I check for updates.  What is a partial upgrade, and why are they necessary? Sometimes users run into problems when doing them, so when should I run a partial upgrade, if ever? What's the difference between denizen, resident, inhabitant? What's the difference between , , and ?  Even if their ODO definitions suggest they are interchangeable most of the time, are there fine differences in meaning between them? Inspired exercise Sheet from Indesign I would like to create this sheet which was made it by adobe indesign   Could someone create it with latex ?     Here's my code:  \documentclass[12pt,a4paper,twocolumn]{report} \usepackage[margin=0.5in]{geometry} \usepackage[french]{babel} \usepackage{fontspec} \usepackage{graphicx} \usepackage{amsthm,amssymb,amsfonts,mathtools} \usepackage[utf8]{inputenc} \usepackage{multicol} \usepackage{multirow} \usepackage{amssymb} \usepackage{array} \usepackage{graphicx} \setlength{\columnseprule}{0.5pt} \thispagestyle{empty} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} %%%%%%%%%%head%%%%%%%%%%%%%%%%%%%%%%% \twocolumn[    \begin{@twocolumnfalse}  \begin{center}  \fbox{\Large Exercise Sheets} \end{center}     \hrulefill \end{@twocolumnfalse}   ]  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  \fbox{ Exercise $1$:}\\  Compute the following limits \begin{multicols}{2} \begin{enumerate} \item $\lim_{x\to 2}\dfrac{4x^{3}-5x-22}{x^{2}-x-2}$ \item $\lim_{x\to 0^{+}}\dfrac{x-\sqrt{x}}{x+\sqrt{x}}$ \item $\lim_{x\to 1}\dfrac{\sqrt{x+3}+\sqrt{x}-3}{x-1}$ \item $\lim_{x\to 2}\dfrac{x^{2}\sqrt{x+2}-8}{4-x^{2}}$ \end{enumerate} \end{multicols}  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \fbox{ Exercise $2$:}\\ Let $n\in\mathbb{N}^{*}$ \begin{enumerate}     \item calculate : ${\displaystyle \lim_{x\to 0}\dfrac{1-\cos(x)\cos(2x)\ldots+\cos(nx)}{x^2} }$     \item b     \item c     \item d     \item e     \item f \end{enumerate} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \end{document}