Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate template not previewing if there's no single.php template #361

Open
bernattorras opened this issue Nov 8, 2024 · 1 comment · May be fixed by #362
Open

Certificate template not previewing if there's no single.php template #361

bernattorras opened this issue Nov 8, 2024 · 1 comment · May be fixed by #362
Milestone

Comments

@bernattorras
Copy link

Steps to Reproduce

  1. Activate a theme without a single.php template
  2. Create a certificate template
  3. Preview it

What I Expected

A PDF should be rendered as a preview.

What Happened Instead

The certificate template is rendered using a default page template.

PHP / WordPress / Sensei Certificates / Sensei LMS version

-WooCommerce: 9.3.3

  • Sensei LMS: 4.24.3
  • Sensei Certificates: 2.5.2
@bernattorras
Copy link
Author

I've suggested a fix for this, but it should be reviewed in case I'm missing something! :)

@donnapep donnapep added this to the 2.5.3 milestone Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants