Arn Vanhoutte
Arn Vanhoutte

Reputation: 1917

For loop does not work with Wordpress plugin

I'm using this plugin in Wordpress to write php in a page but every time I use a for loop it gives me this error:

Parse error: syntax error, unexpected end of file, expecting ';'

How do I solve this?

Upvotes: 0

Views: 64

Answers (1)

Valentin Mercier
Valentin Mercier

Reputation: 5326

This plugin does not work with loops. It is a known issue if you take a look at the reviews. There is a plugin that I often use and that works perfectly. It is called WP-exec PHP.

Link here: https://wordpress.org/plugins/wp-exec-php/

Upvotes: 2

Related Questions