Forums

Possible to give a "Page" name to a custom page? (2 posts)

  1. Jetoile
    Member
    Posted 4 years ago #

    Here's the gist of what I'm doing. I've got WordPress 2.5, and zenphoto 1.1.5. I have zenphoto integrated with WordPress so that the WP headers, sidebar, and footer are all printed nicely on the gallery.

    I also have Dynamic Menu Highlighting going on.
    http://codex.wordpress.org/Dynamic_Menu_Highlighting

    What I'd like to know if it's possible to give the zenphoto template a "Page" title so that it can be easily recognized by WordPress using the is_page function. Thanks.

  2. Jetoile
    Member
    Posted 4 years ago #

    Ah, nevermind. I found another way to do it. I just defined a constant in all of the zenphoto pages, then checked to see if it has been defined in the WP installation. If it's defined, then the proper menu item gets highlighted. It feels like a bit of a hack, but it works.

Topic Closed

This topic has been closed to new replies.

About this Topic