Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Almost anything is possible in theory. It’s more of a question of how difficult. Difficulty and method depends on the template involved. Usually a theme template, but sometimes from a plugin. It’s feasible to create a custom template for just one page. It can mostly be a copy of the default template, except it outputs banner image HTML instead of the page title.

    If your theme is subject to periodic updates, it’s best to create a child theme to contain custom templates. To have a template be used for a specific page, name the template file in accordance with template hierarchy.

    Alternately, if the template happens to output the title by calling the_title(), you can hook “the_title” filter and return banner HTML instead of the usual title text.

Viewing 1 replies (of 1 total)
  • The topic ‘Image instead of page title text’ is closed to new replies.