Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter hokie99cpe

    (@hokie99cpe)

    But, correct me if I am wrong, that tells you if the current URL is a page.

    For example, user brings up https://blogserver/. If I check is_page(‘contact’), that will fail because / is not (likely) the page named ‘contact’.

    Here’s the whole story:

    The theme displays the admin email for a “contact” link. But, some blogs on my system use the “WP-ContactForm” plugin. I have them setup to use a page named “Contact” to display this contact page. So, what I want to do: if the blog loading has a “Contact” page, create the contact link to that page rather than an email address.

Viewing 1 replies (of 1 total)