Tag Info

New answers tagged

2

You need to use the AND (&&) operator to make this work. As your condition stands, it will return true no matter which page you are on. The OR operator only needs one true to execute where as the AND operator needs all conditions to be true to execute I just have one other concern here as you are loading your footer conditionally, and that is, you ...


0

You need to run the content through do_shortcode() - at the moment you're just echo'ing the raw post content, so nothing gets parsed. echo do_shortcode( $content->post_content ); However, you might be better off implementing a proper "loop" and using the_content() template tag - doing so will ensure everything runs "as normal" (firing all the typical ...



Top 50 recent answers are included