WordPress.org

Ready to get started?Download WordPress

Forums

if/then/else statement based on templates? (1 post)

  1. wdwordpress
    Member
    Posted 7 years ago #

    does anyone know if there's some way to fire an if/than/else php statement that picks up a static page's template? i want to have an image in my sidebar that rotates based upon the template for the static page.

    i spent three weeks to build a navigation bar that works similar to the OakTree plugin and i just don't have the patience to start on something like this. hopefully somebody can help me cut the fat.

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags