Liquid nails is good. Especially if the paneling is a particle board type.
If it is a laminated type, wood glue may work better.
Keep a damp rag close by, to wipe off the excess that squeezes out.
This is a good way to repair tears and rips in the face of the paneling also.
Overall, the Liquid Nails is best used when the glue will not be able to find it's way out when pressure is applied.
Carpenter's wood glue is best when there's a chance that it may reach the surface.