Skip to main content

Bulk actions request

It looks like bulk actions only works on tags. I’d like to change a post’s template based on a tag.

Possible?

Status: Completed9 comments

Log in to comment and vote

Comments9

  • Cathy changed status to Completed
    Team•

    Sep 8

    Pinned

    Added the template change, plus a few filter-and-change options! Thanks for your note! —Cathy

    • thechocolatelife

      •

      Sep 8

      Cathy:

      Couldn’t ask for better support! I will check this out and get back to you with some feedback.

      • Cathy

        Team•

        Sep 8

        I was thinking the other day that I really ought to have some more options and just hadn’t gotten around to it, so thanks for the nudge! A note: I can’t populate template names with a nice dropdown, because Ghost won’t tell me the names of the templates in your theme, so I’m getting them from what’s already on your post. So.. I apologize if you have to manually type the slug (“custom-my-template” = “My Template” in the dashboard) — without having a staff token, that’s the best I can do.

        • thechocolatelife

          •

          Sep 8

          I am kind of curious about where you got the “custom-toc” from. I do have a custom template named “Toc” in my theme.

          In the Find section I will search for /tags/ and the Default template.

          In the replace section I would use “Toc” or “custom-toc”? Is prepending “custom-” some Ghost convention I am unaware of?

          • Cathy

            Team•

            Sep 8

            Ghost stores the template as custom-toc, matching its name, which is (in the theme) custom-toc.hbs. And then in the dashboard, it clips the custom and capitalizes, so your see “Toc”. For Bulk Actions, use custom-toc

            • Cathy

              Team•

              Sep 8

              Better directions might be merited. :)

  • Cathy

    Team•

    Sep 7

    Great suggestion! Let me take a look. I need to confirm that I can read the theme’s template settings…

    • thechocolatelife

      •

      Sep 8

      Thanks for the prompt reply. I have a change affecting potentially hundreds of posts that was implemented in a template. I am not thrilled at the thought of making the changes manually.

      • Cathy

        Team•

        Sep 8

        And this is EXACTLY why the bulk actions tool exists. :)