Tag Info

New answers tagged

0

You are linking to a support page for wordpress**.com**. While the basic Core WordPress is the same, that is a hosting service and it runs some code that is not part of Core. What you see there may not work on a self-hosted WordPress install. What should work, however, is this: ...


0

If the above code is looping through in a while loop is should be outputting the tabs correctly, but not the content. You need to repeat this loop again within the tab-content area. Also you need make sure that every table content area does not have class of active. The active class should only be on the first one. You can use a counter within your loop and ...


1

If I'm reading this right, both queries are identical so just copy the one to a new variable: $book = new WP_Query( $args ); // ... $book_2 = $book; Or create them at the same time: $book = $book_2 = new WP_Query( $args );



Top 50 recent answers are included