# How to use title with dailies

**URL:** <https://org-roam.discourse.group/t/how-to-use-title-with-dailies/2989>\
**Category:** Troubleshooting\
**Created:** [February 22, 2023, 6:28am UTC](https://org-roam.discourse.group/t/how-to-use-title-with-dailies/2989 "2023-02-22T06:28:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![salih](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@salih](https://org-roam.discourse.group/u/salih)\
**Post date:** [February 22, 2023, 6:28am UTC](https://org-roam.discourse.group/t/how-to-use-title-with-dailies/2989/1 "2023-02-22T06:28:16Z")

</div>

Is it possible to get promoted for node title when capturing today daily? I tried this:

```auto
  (org-roam-dailies-capture-templates
   '(("d" "default" entry "* %<%H:%M> \n %?"
      :if-new (file+head "%<%Y-%m-%d>.org.gpg" "#+title: ${title} %<%A, %d %B %Y> \n- tags :: [[id:fe8618df-c476-44b8-8169-a210bff989d7][Journaling]]\n")
      :unnarrowed t
      )))

```

However, I’m only getting the word “org” inserted the title and I’m getting this message in the minibuffer:

```plaintext
Error running timer ‘org-reveal’: (wrong-type-argument number-or-marker-p nil)

```

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [February 23, 2023, 9:57am UTC](https://org-roam.discourse.group/t/how-to-use-title-with-dailies/2989/2 "2023-02-23T09:57:11Z")

</div>

Document string of variable `org-roam-capture-templates` has the following:

```auto
  %^{prompt} Prompt the user for a string and replace this sequence with it.
              A default value and a completion table can be specified like this:
              %^{prompt|default|completion2|completion3|...}.

```

So this works on my end:

```auto
(setq org-roam-dailies-capture-templates
      '(("d" "default" entry "* %?" :target
         (file+head "%<%Y-%m-%d>.org" "#+title: %^{daily-title}"))))

```

The error is from `org-reveal`, so I don’t see the relevance to Org-roam – I’d suggest your configuration for it.
