How to insert a footer on every page that includes a specific word

Home Forums General InDesign Topics How to insert a footer on every page that includes a specific word


This topic contains 2 replies, has 2 voices, and was last updated by  Cindy Wingo 4 months ago.

  • Author
  • #104301

    Cindy Wingo

    I would like advice on the best approach to add a footer to pages that have “ABC Code” text followed by whatever code for that particular entry anywhere on the page. All footers would have the same exact text. I tried “Text Variable, Custom Text” but it appears on every page, not just the pages that include “ABC Code”. Can’t seem to think through how to do it.

  • #104316

    You can use a Text Variable for this of type “Running Header” (even though you want to use it for a FOOTER; don’t worry, InDesign won’t mind).

    Create a character style that applies nothing and name it “ABC Code”. Then, create a Text Variable of type “Running Header (Character Style)” that picks up that style. In your footer text frame, type “ABC Code” and insert the variable after that.

    Now the footer will always contain the text that you marked with the character style “ABC Code” on that page. The name of the character style is actually not important (it does not need to match the name of the variable at all), but you need to make sure it is clear what it’s for.

  • #104320

    Cindy Wingo

    That is what I was thinking, but, the Running Header (Character Style) method has the “comment” showing up on every page, I only want it to appear on the pages that have the code. I have not ever used Conditional text and thought that might be another way, but, just don’t know how to use Conditionals.

You must be logged in to reply to this topic.