WordPress.org

Making WordPress.org

Opened 20 months ago

Last modified 20 months ago

#1678 new defect

allow AJAX in theme preview

Reported by: progmastery Owned by:
Milestone: Priority: normal
Component: Theme Directory Keywords: needs-patch ux-feedback needs-testing
Cc:

Description

AJAX does not work in themes in theme preview https://wp-themes.com/ website.

I do not know why it is disabled, maybe for security reasons. But this makes many themes look broken.
Please allow AJAX requests.

Change History (2)

#1 @dd32
20 months ago

Hi and welcome to Trac!

Can you provide a link to an affected theme so we can see what can be done?

Ajax requests are not blocked as far as I'm aware, but due to how the previewer is built, it's entirely possible that it doesn't operate as expected.

#2 @progmastery
20 months ago

https://wp-themes.com/sauron/

  1. AJAX search in menu bar.
  2. AJAX pagination, "next" button after first six posts.

https://wp-themes.com/portfolio-gallery/

  1. AJAX lightbox, 'zoom icon' on boat thumb.

https://wp-themes.com/business-elite/

  1. AJAX pagination, right circled arrow next to first three posts.
Note: See TracTickets for help on using tickets.