The weight Mg of an extended body is generally shown in a diagram to act through the center of mass. Does it mean that the earth does not attract other particles?

No, it does not mean that. An extended body contains an infinite number of particles and the earth attracts all of them. But for the sake of clarity, instead of showing all the forces it is usually represented by a single force, Mg, through the center of mass of the body.


2