Oven spring is caused by the air pockets in the dough expanding from the heat. (Dough rises from gasses released from the yeast.)
After the shaping and final rise, often times there is a light, dry "skin" over the dough. By slashing a dough before it goes into the oven, you break this skin, and the bread is able to expand. If the loaf is a "fancy loaf" and you can't slash it without ruining the appearance (like a braided loaf), try to keep the loaf from drying out with a light mist of cooking spray after shaping and before the final rise.
Perhaps the bread is cooking too quickly when it hits the heat of the oven, essentially cooking a crust before the air pockets get heated enough to expand? Baking in a moist environment should help with that. Place an empty, sturdy pan (I use a cast iron skillet) on the bottom rack of the oven (or directly on the floor of the oven) before preheating. When you place the bread in the oven, pour about 1 cup of very hot water into the empty pan. This will create a bunch of steam, and help prevent the bread from crusting before it gets its "spring."
If you have a pizza/baking stone, use it. Having a hot surface to set your pans on helps with the rise. Think about it... you open the oven door, and out goes a lot of the heat... even though the walls of the oven are retaining the heat, it will take a little while before that heat reaches the bread. Setting the pan on the stone will give you that instant heat on the bottom, causing dough to rise from the bottom up, rather than just getting a small rise from the top area.
If you don't have a stone, invert a heavy baking sheet, cast iron griddle, or something similar, and heat that up in the oven the same as you would for a baking stone. Invert the sheet pan so it's easier to slide your bread pans on and off the hot pan without having to deal with a small edge.
If you haven't got equipment to do the other options listed above, you can try the "cold oven method." Just put the loaf into a cold oven, and set the temperature. Don't preheat. The gradual heat from the bottom of the oven as it preheats will give you some of that "oven spring."
I use a baking stone and steam, but I have had great success with using an inverted aluminum sheet pan with steam before I got the stone... and before I learned that trick, I used the simple cold oven method (no steam as the oven is cold!).
There are some previous questions with good answers like this one, or this that go into much more detail than I'm about to.
You said your bread didn't rise with the first rise, if you don't have a first rise you can't go onto the next step. If your yeast was old, or the temperature was cold in your kitchen or you used cold water in the dough, or the yeast came in contact with salt then its action could have been slowed down drastically and it would take much longer to get a rise. I've had a first rise take up to 4 hours in the past because of these factors. The times given in recipes are just guidelines, you have to be result-driven. Active dry yeast also takes longer than quick yeast to activate. When using active dry instead of quick yeast you would get better results by mixing it with the water before mixing in. I'd recommend using quick yeast as it's milled into smaller grains and you can mix it directly into the flour.
Of course your yeast may have simply been dead, or killed by salt or heat. Get some good fresh yeast and store it in the fridge to keep it fresh long-term.
Also, using all whole wheat flour isn't going to produce anything like a baguette. Whole wheat flour is very heavy compared to white flour and will take longer to rise. A half and half mix would work better. I'd recommend sticking to the recipe first, then gradually modifying it over time until you get your desired result.
Best Answer
No, you cannot and should not, as the first and second rises serve different purposes.
The first rise is mainly for developing gluten and flavour, and after pressing the air out the second rise allows the bread to be fluffy when baked without large air holes developed in the first rise. This is especially true with bread baked in a loaf as you specified, where relatively tight crumb (as opposed to that of a baguette) is usually desirable.
So one issue that may arise is cracking on the sides where the dough rose as it was cooked, due to the lower amount of gluten development, but this should not affect the structure or taste of the final product. If you were to proof the bread too long in the second time, the bread may collapse in the oven, resulting in a dense loaf.