I am using WP Courseware (www.flyplugins.com) for a client's site and my basic understanding is that the course units are basically a custom post type ('course_units'). The course units can be created directly or converted from posts.  WP Courseware does not support category or tags taxonomy out of the box and it had to be enabled.  All of that was said to say that when I have posts tagged that they show up when you call  however the course units tagged with "design" do not show up.  I have never bothered with tags enough to care about tag clouds, etc so I do not know what file, template or function that needs to be updated to support the custom post type of "course_units" when it displays posts containing tags.  I followed the advice found here:   register_taxonomy_for_object_type( 'post_tag', 'portfolio' );   And now I see Tags under my Course Units in WP Dashboard.  I click on Tags and see the tags and click on the count and it shows the course units that tagged correctly in the backend, so I just need to know how to enable support on Tag Cloud for the front end where it actually returns the course unit posts instead of "Sorry, no content matched your criteria."  What connection am I missing?
I'm using custom post types, but they don't appear on tag pages along with regular posts and i'd like to include both standard and custom post types on tag or category pages. What would be required before the loop to include all posts? (including custom type). Updated: To add, I found this code , which worked perfectly for the first part: add_filter('pre_get_posts', 'query_post_type'); function query_post_type($query) {   if ( is_category() || is_tag() &amp;&amp; empty( $query-&gt;query_vars['suppress_filters'] ) ) {     $post_type = get_query_var('post_type');     if($post_type)         $post_type = $post_type;     else         $post_type = array('post','cpt'); // replace cpt to your custom post type     $query-&gt;set('post_type',$post_type);     return $query;     } }  Second question still remains though: Is there a way to allow readers to filter by post type? So either of the following would work..  example.com/tag/blue?post_type=custom example.com/tag/blue?post_type=post
I tried for a while to classifiy the singularities of $\frac{1}{z}-\frac{1}{\sin z}$ at the origin, but I am stucked. Is there someone who is able to help me at this point? How to automatically resize the vertical bar in a set comprehension? I have a simple command which I use to write set comprehensions so that the braces automatically resize with respect to size of the enclosed arguments, e.g.  \usepackage{amsmath} \newcommand{\set}[1]{\left\lbrace #1\right\rbrace}  \begin{equation*} \set{x \in X \mid x &gt; \frac{1}{2}}   \end{equation*} % Produces something like: { x : X | x &gt; 1/2 }   However, the \mid vertical bar wont resize like the braces { .. } do. How can I get the \mid to resize as well? Evaluating the product $\prod\limits_{k=1}^{n}\cos\left(\frac{k\pi}{n}\right)$ Recently, I ran across a product that seems interesting.  Does anyone know how to get to the closed form:  $$\prod_{k=1}^{n}\cos\left(\frac{k\pi}{n}\right)=-\frac{\sin(\frac{n\pi}{2})}{2^{n-1}}$$  I tried using the identity $\cos(x)=\frac{\sin(2x)}{2\sin(x)}$ in order to make it "telescope" in some fashion, but to no avail. But, then again, I may very well have overlooked something.  This gives the correct solution if $n$ is odd, but of course evaluates to $0$ if $n$ is even.   So, I tried taking that into account, but must have approached it wrong.   How can this be shown? Thanks everyone. How iptables tables and chains are traversed I know linux has 3 built-in tables and each of them has its own chains as follow:  FILTER: PREROUTING, FORWARD, POSTROUTING  NAT: PREROUTING, INPUT, OUTPUT, POSTROUTING  MANGLE: PREROUTING, INPUT, FORWARD, OUTPUT, POSTROUTING  But I can't understand how they are traversed, in which order, if there is. For example, how are they traversed when:   I send a packet to a pc in my same local network when I send a packet to a pc in a different network when a gateway receives a packet and it has to forward it when I receive a packet destinated to me any other case (if any) What is the difference between OpenOffice and the newly created LibreOffice? What is the difference between OpenOffice and LibreOffice? I understand that LibreOffice is another fork that is going to be developed. I have used OpenOffice since v1 and am wondering if there is a definite advantage to uninstalling and trying LibreOffice. Why do electrons occupy the space around nuclei, and not collide with them? We all learn in grade school that electrons are negatively-charged particles that inhabit the space around the nucleus of an atom, that protons are positively-charged and are embedded within the nucleus along with neutrons, which have no charge. I have read a little about electron orbitals and some of the quantum mechanics behind why electrons only occupy certain energy levels. However...  How does the electromagnetic force work in maintaining the positions of the electrons? Since positive and negative charges attract each other, why is it that the electrons don't collide with the protons in the nucleus? Are there ever instances where electrons and protons do collide, and, if so, what occurs? Is it true that $0.999999999\ldots=1$? A word for someone who you share a half-sibling with This is probably best explained with an example.  Alice and Bob have a child, Erin. Bob and Carol have a child, Frank. Carol and Dan have a child, Grace. Clearly, Erin and Frank are half-siblings, because of their father, Bob. Similarly, Grace and Frank share their mother, Carol.  Erin and Grace have no parents in common, and are thus not half-siblings. However, is there a term for their relation? Question on the stability of the solar system One of the pertinent questions about many body systems that causes me much wonder is why the solar system is so stable for billions of years. I came across the idea of "resonance" and albeit an useful concept, it hardly explains the long stability of the solar system. Normally an N body problem with inverse square mutual interaction is an example of a chaotic system. Is there any real progress about this stability issue? If $Ax = Bx$ for all $x \in C^{n}$, then $A = B$. Objective: To separate text column from figures column in every page I don't know if this has been asked before. But so far nothing has come up with my search.  In some books, the figures are placed at the outer side of the page like in the picture below.    Is this achievable in TeX/LaTeX? That is how does one set up the page so that all text will appear in a 'text column' and the figures appear in a 'figures column' in every page? I am trying to animate in 2d. I do it with planes that have textures on them. I recently came up with the idea of having a plane with an image sequence of mouths because animating actual lip syncing by hand takes too long and isn't really necessary for what I'm trying to acomplish. However, when playing back the animation in textured viewport shading the animated texture stays at the last frame until the animation stops. I can use the arrow keys and it works fine as well as scrubbing through the timeline, just not when playing back the animation with alt+a. Can anyone help me with this problem? Capitalization of names that begin lowercased, at the beginning of a sentence Print programs with its proper syntax How long can I store soaked beans before cooking? Mutineers force captain to record instructions to spaceship's computer but he leaves out "please" The crew mutinies on a spaceship whose captain controls it with verbal orders. They test whether they can control the ship with recordings of the captain's voice with an order to increase orbital speed (currently orbiting a planet). It works, so they force the captain to record all the possible orders they may need, and execute him. Only then do they realize that the ship obeys only orders couched in polite language, and only the test recording was like this, but the other recordings are not. They will die once the ship's faster orbit somehow causes it to run out of fuel, or something like that. I seem to remember the ship's &quot;computer&quot; following the captain around on robotic legs. I read the story circa 1980, but it might have been published much earlier. Minimum of the Gamma Function $\Gamma (x)$ for $x>0$. How to find $x_{\min}$? Can we make the "expanded user card" privilege universal? Pursuant to discussion on the , several have asked how far they'll need to search to determine if a user has expressed their preferred pronouns. This requested feature could create an easy solution for that concern.  On sites where I've reached the  privilege level, users can hover over my picture to see a snippet of my profile:    This is where I've included my preferred pronouns, and where I see many others including them as well.  By making this feature universal, users could quickly and easily check for preferred pronouns without needing to navigate to another page. What is the difference between conditioning on regressors vs. treating them as fixed? If every pair of congruence equations admits solutions, then the entire system admits solutions Let a system of three linear congruence equations in integers be given;      \begin{cases}x\equiv b_1\mod c_1\\ x\equiv b_2\mod c_2\\ x\equiv b_3\mod c_3\\ \end{cases}   with $c_1,c_2,c_3\in\mathbb Z_{+}$. Show that, if every pair of congruence equations admits solutions, then the entire system admits solutions.    Now, if every pairs admits solutions, then for example $b_1\equiv b_2\equiv a\mod \gcd(c_1,c_2)$ for some $a$ then;   $x-a\equiv b_1-a\mod c_1$  $x-a\equiv b_2-a\mod c_2$  replacing $x$ by $x':=\frac{x-y}{\gcd(c_1,c_2)}$, we obtain:  $x'\equiv b_1'\mod c_1'$  $x'\equiv b_2'\mod c_2'$  and since $\gcd(c_1,c_2)=1$ by Chinese Remainder Theorem we have a unique solution $\mod{c_1'c_2'}$, so $x\equiv (\gcd(c_1,c_2)x'+a)\mod{\operatorname{lcm(c_1',c_2')}}\quad(1)$  We can do it with another pair (take $2$nd and $3$rd, since we know that such a pair admits solutions;  $x\equiv(\gcd(c_2,c_3)x''+a')\mod{\operatorname{lcm(c_2',c_3')}}\quad(2)$  Now how can I show that for the pair $(1)$ and $(2)$ also solutions exist ?