# Developer Questions

**URL:** https://pressbooks.community/c/contributing/developer-questions/27.md

[Latest](https://pressbooks.community/latest.md) · [Categories](https://pressbooks.community/categories.md)

---

## [About the Developer Questions category](https://pressbooks.community/t/about-the-developer-questions-category/4425)

<div class="topic-metadata">

**Author:** [@SteelWagstaff](https://pressbooks.community/u/SteelWagstaff)\
**Replies:** 0\
**Last updated:** [October 6, 2025, 4:02pm UTC](https://pressbooks.community/t/about-the-developer-questions-category/4425 "2025-10-06T16:02:59Z")

</div>

Questions about setting up a local development environment or contributing code to the Pressbooks open source project

---

## [Institutions List - how to add to it?](https://pressbooks.community/t/institutions-list-how-to-add-to-it/2174)

<div class="topic-metadata">

**Author:** [@Lauren\_Magnuson1](https://pressbooks.community/u/Lauren_Magnuson1)\
**Replies:** 21\
**Last updated:** [July 13, 2026, 10:25pm UTC](https://pressbooks.community/t/institutions-list-how-to-add-to-it/2174 "2026-07-13T22:25:08Z")

</div>

Hello, within each PressBooks book, under Book Info, there is a drop-down menu labeled “Institutions”: How does this list get populated, and how can we add institutions to the list? Thanks! Lauren

---

## [Announcement: Automatic closure of old GitHub tickets](https://pressbooks.community/t/announcement-automatic-closure-of-old-github-tickets/4542)

<div class="topic-metadata">

**Author:** [@SteelWagstaff](https://pressbooks.community/u/SteelWagstaff)\
**Replies:** 0\
**Last updated:** [March 5, 2026, 10:38pm UTC](https://pressbooks.community/t/announcement-automatic-closure-of-old-github-tickets/4542 "2026-03-05T22:38:18Z")

</div>

Dear community members, As part of ongoing efforts to improve our project health and contributor experience, we will be systematically closing ‘stale’ issues across our GitHub repositories over the next few weeks. Over…

---

## [Setting time to autosave](https://pressbooks.community/t/setting-time-to-autosave/1686)

<div class="topic-metadata">

**Author:** [@jholmes](https://pressbooks.community/u/jholmes)\
**Replies:** 3\
**Last updated:** [February 11, 2026, 3:19pm UTC](https://pressbooks.community/t/setting-time-to-autosave/1686 "2026-02-11T15:19:23Z")

</div>

I’m fairly new to Pressbooks, and I believe awhile back I was able to increase the amount of time before an autosave kicked in on a page; I need to do that within another book, and I can’t recall where I did that. Can so…

---

## [Changing From email Id of email alert](https://pressbooks.community/t/changing-from-email-id-of-email-alert/658)

<div class="topic-metadata">

**Author:** [@johnpeterm](https://pressbooks.community/u/johnpeterm)\
**Replies:** 6\
**Last updated:** [August 29, 2018, 6:55pm UTC](https://pressbooks.community/t/changing-from-email-id-of-email-alert/658 "2018-08-29T18:55:18Z")

</div>

How can change the from email id for all email alert. Currently it take default pressbooks and it goes to spam folder, we want to change it to an validated email

---

## [.webp files not working in EPUB export](https://pressbooks.community/t/webp-files-not-working-in-epub-export/3923)

<div class="topic-metadata">

**Author:** [@hfriedman](https://pressbooks.community/u/hfriedman)\
**Replies:** 0\
**Last updated:** [February 4, 2025, 1:57am UTC](https://pressbooks.community/t/webp-files-not-working-in-epub-export/3923 "2025-02-04T01:57:27Z")

</div>

Hi all, In Pressbooks version 6.22.0, uploading .webp files is now allowed (by default). When testing this feature for our new update for the BCcampus instances, I found that these images worked for all formats except …

---

## [Word Count Display Options](https://pressbooks.community/t/word-count-display-options/573)

<div class="topic-metadata">

**Author:** [@SteelWagstaff](https://pressbooks.community/u/SteelWagstaff)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 9:39pm UTC](https://pressbooks.community/t/word-count-display-options/573 "2018-06-18T21:39:28Z")

</div>

For the book itself, I know that we can now see an overall word count on the organize menu screen: For chapters, I know that we can see word counts at the bottom left of the visual edit view: What I don’t know (b…

---

## [Drag table column border to resize table column width](https://pressbooks.community/t/drag-table-column-border-to-resize-table-column-width/487)

<div class="topic-metadata">

**Author:** [@t.dumm](https://pressbooks.community/u/t.dumm)\
**Replies:** 4\
**Last updated:** [April 18, 2018, 8:16pm UTC](https://pressbooks.community/t/drag-table-column-border-to-resize-table-column-width/487 "2018-04-18T20:16:59Z")

</div>

Is there a reason why dragging the table column border to resize table column width is disabled (or not working). In standard TinyMCE with table plugin this is possible.

---

## [Internal links to ids with the same name (but in different pages) get conflated in PDF export](https://pressbooks.community/t/internal-links-to-ids-with-the-same-name-but-in-different-pages-get-conflated-in-pdf-export/727)

<div class="topic-metadata">

**Author:** [@lrizquierdo](https://pressbooks.community/u/lrizquierdo)\
**Replies:** 2\
**Last updated:** [October 9, 2018, 2:37pm UTC](https://pressbooks.community/t/internal-links-to-ids-with-the-same-name-but-in-different-pages-get-conflated-in-pdf-export/727 "2018-10-09T14:37:11Z")

</div>

Hi, In each chapter, I use the same ids to link to figures (i.e. “fig1”, “fig2”, …), so each chapter has an id=“fig1”, e.g.: … It seems that all these get conflated in the PDF export, so all internal links to “fig…

---

## [Page numbering query for two-part book](https://pressbooks.community/t/page-numbering-query-for-two-part-book/2718)

<div class="topic-metadata">

**Author:** [@rescribal](https://pressbooks.community/u/rescribal)\
**Replies:** 5\
**Last updated:** [April 27, 2024, 1:08pm UTC](https://pressbooks.community/t/page-numbering-query-for-two-part-book/2718 "2024-04-27T13:08:46Z")

</div>

Page numbering issue re pdf export. I want to print book in two volumes (two parts in Pressbooks). Ideally would like separate pagination for front matter (in small Roman) if that is possible, and to renumber pages from …

---

## [The source url of the chapter should be stored on the cloned chapter](https://pressbooks.community/t/the-source-url-of-the-chapter-should-be-stored-on-the-cloned-chapter/2741)

<div class="topic-metadata">

**Author:** [@t.dumm](https://pressbooks.community/u/t.dumm)\
**Replies:** 2\
**Last updated:** [May 21, 2024, 5:06am UTC](https://pressbooks.community/t/the-source-url-of-the-chapter-should-be-stored-on-the-cloned-chapter/2741 "2024-05-21T05:06:15Z")

</div>

When cloning a whole book, the url of the source book is written to the new book. If activated in the webbook options, i can later compare the chapters of the cloned book with the chapters of the source book. The compari…

---

## [Additional buttons next to "read book"](https://pressbooks.community/t/additional-buttons-next-to-read-book/1833)

<div class="topic-metadata">

**Author:** [@Frank\_J](https://pressbooks.community/u/Frank_J)\
**Replies:** 1\
**Last updated:** [November 24, 2021, 12:20am UTC](https://pressbooks.community/t/additional-buttons-next-to-read-book/1833 "2021-11-24T00:20:39Z")

</div>

Hi, I would love to add more buttons styled like the read book button on the front page. They should say “Listen to podcasts” or “Watch videos” or “Customize your book”. Is this possible out of the box? Would it work …

---

## [Only get export meta data when needed](https://pressbooks.community/t/only-get-export-meta-data-when-needed/92)

<div class="topic-metadata">

**Author:** [@bryan](https://pressbooks.community/u/bryan)\
**Replies:** 0\
**Last updated:** [January 10, 2017, 3:11am UTC](https://pressbooks.community/t/only-get-export-meta-data-when-needed/92 "2017-01-10T03:11:12Z")

</div>

Hi all, A while ago, lumen suggested a change to improve efficiency to page loads by reducing the number of calls to the database when a user hits a page, as discussed in this commit: It was agreed that this particul…

---

## [Use the glossary feature to create in index](https://pressbooks.community/t/use-the-glossary-feature-to-create-in-index/886)

<div class="topic-metadata">

**Author:** [@t.dumm](https://pressbooks.community/u/t.dumm)\
**Replies:** 1\
**Last updated:** [February 1, 2023, 4:25pm UTC](https://pressbooks.community/t/use-the-glossary-feature-to-create-in-index/886 "2023-02-01T16:25:38Z")

</div>

As there is currently no index feature, it would be very helpfull to be able to use the glossary feature to create an index in the printed book. Currently there is no other way than to create an index at the very last mo…

---

## [Can I disable the 'sign in' option on the main page?](https://pressbooks.community/t/can-i-disable-the-sign-in-option-on-the-main-page/834)

<div class="topic-metadata">

**Author:** [@byoungdale](https://pressbooks.community/u/byoungdale)\
**Replies:** 1\
**Last updated:** [January 2, 2019, 8:19pm UTC](https://pressbooks.community/t/can-i-disable-the-sign-in-option-on-the-main-page/834 "2019-01-02T20:19:17Z")

</div>

Is there a way to disable the ‘sign in’ option on the front page of the main theme? I see I can add or remove the other header fields, but I do not see the ‘sign in’ option in that list to add or remove.

---

## [Disable right-click / image download](https://pressbooks.community/t/disable-right-click-image-download/4394)

<div class="topic-metadata">

**Author:** [@toddhalvorsen](https://pressbooks.community/u/toddhalvorsen)\
**Replies:** 4\
**Last updated:** [September 30, 2025, 10:17pm UTC](https://pressbooks.community/t/disable-right-click-image-download/4394 "2025-09-30T22:17:03Z")

</div>

I know it seems counterintuitive on an OA platform, but we have an upcoming project where there is a rightsholder of images that would like to make it more difficult for readers to download and redistribute images that w…

---

## [Chapter number reset for 2 part books](https://pressbooks.community/t/chapter-number-reset-for-2-part-books/1103)

<div class="topic-metadata">

**Author:** [@jeremyb](https://pressbooks.community/u/jeremyb)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 1:11pm UTC](https://pressbooks.community/t/chapter-number-reset-for-2-part-books/1103 "2019-09-13T13:11:38Z")

</div>

Hello! We have a two part book and have encountered a problem. Looking for some help. We have the Chapter number running in the top of every page. The chapter numbers work just fine through Part 1. However when Part 2 c…

---

## [Responsive resizing of embedded iFrame elements?](https://pressbooks.community/t/responsive-resizing-of-embedded-iframe-elements/500)

<div class="topic-metadata">

**Author:** [@SteelWagstaff](https://pressbooks.community/u/SteelWagstaff)\
**Replies:** 1\
**Last updated:** [April 26, 2018, 4:14pm UTC](https://pressbooks.community/t/responsive-resizing-of-embedded-iframe-elements/500 "2018-04-26T16:14:18Z")

</div>

Has anyone implemented a good solution for responsive resizing of embedded iFrame elements (I’m thinking particularly of videos embedded using oEmbed)? If not, might something like this: Responsive YouTube oEmbeds in Wor…

---

## [Textboxes can't be changed](https://pressbooks.community/t/textboxes-cant-be-changed/2446)

<div class="topic-metadata">

**Author:** [@alexdryden](https://pressbooks.community/u/alexdryden)\
**Replies:** 0\
**Last updated:** [June 30, 2023, 3:59pm UTC](https://pressbooks.community/t/textboxes-cant-be-changed/2446 "2023-06-30T15:59:06Z")

</div>

There is a pretty major usability issue relating to how textboxes interact with the WYSIWYG. The Issue There is currently no way to change the type of textbox you want for a given selection, and if you try to change it…

---

## [Smart quotes in footnotes](https://pressbooks.community/t/smart-quotes-in-footnotes/2432)

<div class="topic-metadata">

**Author:** [@alexdryden](https://pressbooks.community/u/alexdryden)\
**Replies:** 7\
**Last updated:** [June 16, 2023, 5:11pm UTC](https://pressbooks.community/t/smart-quotes-in-footnotes/2432 "2023-06-16T17:11:19Z")

</div>

Hello! One of our copy editors flagged the use of straight quotes appearing in the footnotes of a text we are producing in Pressbooks. It looks like it was a deliberate choice to exclude footnote text from the Wordpress…

---

## [Adding categories and tags to chapters to later search for these site wide](https://pressbooks.community/t/adding-categories-and-tags-to-chapters-to-later-search-for-these-site-wide/2053)

<div class="topic-metadata">

**Author:** [@t.dumm](https://pressbooks.community/u/t.dumm)\
**Replies:** 2\
**Last updated:** [August 14, 2022, 10:24am UTC](https://pressbooks.community/t/adding-categories-and-tags-to-chapters-to-later-search-for-these-site-wide/2053 "2022-08-14T10:24:05Z")

</div>

I would like to add categories and tags to chapters to later search for specific chapters by categories and tags. Reason for this: Use specific chapters of books in an LMS via LTI. The categories and tags would allow fin…

---

## [After import of EPUB file internal hyperlinks are broken](https://pressbooks.community/t/after-import-of-epub-file-internal-hyperlinks-are-broken/2384)

<div class="topic-metadata">

**Author:** [@t.dumm](https://pressbooks.community/u/t.dumm)\
**Replies:** 2\
**Last updated:** [May 15, 2023, 6:48am UTC](https://pressbooks.community/t/after-import-of-epub-file-internal-hyperlinks-are-broken/2384 "2023-05-15T06:48:44Z")

</div>

If I import an EPUB into Pressbooks, the internal hyperlinks that are correctly working in the EPUB file are not correct in Pressbooks anymore. This is because filenames and paths (chapter, front-matter, back-matter) ar…

---

## [Formatting problem - paragraph automatically added](https://pressbooks.community/t/formatting-problem-paragraph-automatically-added/1548)

<div class="topic-metadata">

**Author:** [@atlet](https://pressbooks.community/u/atlet)\
**Replies:** 4\
**Last updated:** [December 16, 2020, 8:12pm UTC](https://pressbooks.community/t/formatting-problem-paragraph-automatically-added/1548 "2020-12-16T20:12:47Z")

</div>

Hi, it’s possible to remove automatic formatting of content. I have troubles, as it adds p tag automatically to my content. I also removed filter, but with no luck. remove\_filter( ‘the\_content’, ‘wpautop’ ); Thanks, …

---

## [Seeking clarification on User Roles in PB](https://pressbooks.community/t/seeking-clarification-on-user-roles-in-pb/465)

<div class="topic-metadata">

**Author:** [@bryan](https://pressbooks.community/u/bryan)\
**Replies:** 7\
**Last updated:** [April 9, 2018, 9:18pm UTC](https://pressbooks.community/t/seeking-clarification-on-user-roles-in-pb/465 "2018-04-09T21:18:20Z")

</div>

Forgive me if this has been asked already or is documented some place obvious I don’t know to look (I did a cursory search and didn’t find anything). Does the Pressbooks plugin change Wordpress’s user roles and capabili…

---

## [Publish metabox differences](https://pressbooks.community/t/publish-metabox-differences/1315)

<div class="topic-metadata">

**Author:** [@colomet](https://pressbooks.community/u/colomet)\
**Replies:** 1\
**Last updated:** [April 21, 2020, 1:20am UTC](https://pressbooks.community/t/publish-metabox-differences/1315 "2020-04-21T01:20:58Z")

</div>

After installin PublishPress Revisions i see some differences between a wp installation and a PB installation is there any reason why the update revision button is not available in a PB installation? Do PB hide s…

---

## [Plugin review: Post revision display](https://pressbooks.community/t/plugin-review-post-revision-display/359)

<div class="topic-metadata">

**Author:** [@colomet](https://pressbooks.community/u/colomet)\
**Replies:** 3\
**Last updated:** [February 1, 2018, 9:28am UTC](https://pressbooks.community/t/plugin-review-post-revision-display/359 "2018-02-01T09:28:04Z")

</div>

It requires of some css modifications and some work. But to show the revisions in each page, could be a good way to show the readers what´s new in a page. Is in my to-do list. – Imagine, we have a translation, and then…

---

## ["Undefined index: pb\_cover\_image " error shows in some catalog dashboards](https://pressbooks.community/t/undefined-index-pb-cover-image-error-shows-in-some-catalog-dashboards/890)

<div class="topic-metadata">

**Author:** [@rootl](https://pressbooks.community/u/rootl)\
**Replies:** 2\
**Last updated:** [February 26, 2019, 5:48pm UTC](https://pressbooks.community/t/undefined-index-pb-cover-image-error-shows-in-some-catalog-dashboards/890 "2019-02-26T17:48:12Z")

</div>

Repeated error message on Catalog internal dashboard: Notice: Undefined index: pb\_cover\_image in /var/www/html/milnepublishing.geneseo.edu/wp-content/plugins/pressbooks/inc/class-catalog.php on line 225 (sometimes it’s…

---

## [Custom Post Types](https://pressbooks.community/t/custom-post-types/217)

<div class="topic-metadata">

**Author:** [@SteelWagstaff](https://pressbooks.community/u/SteelWagstaff)\
**Replies:** 5\
**Last updated:** [July 14, 2017, 2:30pm UTC](https://pressbooks.community/t/custom-post-types/217 "2017-07-14T14:30:54Z")

</div>

Hi @ned–quick question about the custom post types filter added to 4.0. If I wanted to add a custom post type to the array, what is is that I need to do now. I was planning to create a functionality plugin that looks lik…

---

## [Pressbooks Name Spaces](https://pressbooks.community/t/pressbooks-name-spaces/189)

<div class="topic-metadata">

**Author:** [@MobiApp121](https://pressbooks.community/u/MobiApp121)\
**Replies:** 4\
**Last updated:** [June 15, 2017, 6:14pm UTC](https://pressbooks.community/t/pressbooks-name-spaces/189 "2017-06-15T18:14:51Z")

</div>

I’m a little confused about namespaces in Pressbooks. Working on a local Windows Xampp development environment, 3.9.9/WP 4.7.5 and only approved PB plugins. I have created a TinyMCE Drop cap button that creates a span ar…

---

## [Update code from Git repo](https://pressbooks.community/t/update-code-from-git-repo/4260)

<div class="topic-metadata">

**Author:** [@ETNA](https://pressbooks.community/u/ETNA)\
**Replies:** 1\
**Last updated:** [March 8, 2018, 6:57pm UTC](https://pressbooks.community/t/update-code-from-git-repo/4260 "2018-03-08T18:57:58Z")

</div>

Hi! I’m using the open source code of Pressbooks in a personal local development. I opened a project in PhpStorm (I downloaded the pressbooks-book-2.0.1.zip). I would like to know how I should update my version of Pre…

[Next page](https://pressbooks.community/c/contributing/developer-questions/27.md?page=1)
